How to show initial words of an unsaved file as title on atom editor instead of “untitled”
In Sublime if the file is unsaved it shows the initial words of that file as title instead of "untitled". How can I achieve this in Atom edtior? I am using Atom Editor 1.33.1 version.
E.g. If the content of my unsaved file is "The quick brown fox jumps over a lazy dog." my title bar should show "The quick.." instead of "untitled".
atom-editor
|
show 6 more comments
In Sublime if the file is unsaved it shows the initial words of that file as title instead of "untitled". How can I achieve this in Atom edtior? I am using Atom Editor 1.33.1 version.
E.g. If the content of my unsaved file is "The quick brown fox jumps over a lazy dog." my title bar should show "The quick.." instead of "untitled".
atom-editor
1
Have you tried "un-untitled", like I explained, it more accurately recreates the behaviour of Atom and Sublime Text.
– Rob Kwasowski
Jan 8 at 4:58
I am getting below error while installing "un-untitled".
– Shashank
Jan 8 at 5:42
Thanks for trying it. I'm just fixing the error.
– Rob Kwasowski
Jan 8 at 6:07
It should now work fine! Make sure you update to version 2.1.0.
– Rob Kwasowski
Jan 8 at 6:21
Thanks. This is working now. Like you said it more accurately recreates behaviour of Atom and Sublime text.
– Shashank
Jan 8 at 7:27
|
show 6 more comments
In Sublime if the file is unsaved it shows the initial words of that file as title instead of "untitled". How can I achieve this in Atom edtior? I am using Atom Editor 1.33.1 version.
E.g. If the content of my unsaved file is "The quick brown fox jumps over a lazy dog." my title bar should show "The quick.." instead of "untitled".
atom-editor
In Sublime if the file is unsaved it shows the initial words of that file as title instead of "untitled". How can I achieve this in Atom edtior? I am using Atom Editor 1.33.1 version.
E.g. If the content of my unsaved file is "The quick brown fox jumps over a lazy dog." my title bar should show "The quick.." instead of "untitled".
atom-editor
atom-editor
asked Dec 31 '18 at 7:02
ShashankShashank
172111
172111
1
Have you tried "un-untitled", like I explained, it more accurately recreates the behaviour of Atom and Sublime Text.
– Rob Kwasowski
Jan 8 at 4:58
I am getting below error while installing "un-untitled".
– Shashank
Jan 8 at 5:42
Thanks for trying it. I'm just fixing the error.
– Rob Kwasowski
Jan 8 at 6:07
It should now work fine! Make sure you update to version 2.1.0.
– Rob Kwasowski
Jan 8 at 6:21
Thanks. This is working now. Like you said it more accurately recreates behaviour of Atom and Sublime text.
– Shashank
Jan 8 at 7:27
|
show 6 more comments
1
Have you tried "un-untitled", like I explained, it more accurately recreates the behaviour of Atom and Sublime Text.
– Rob Kwasowski
Jan 8 at 4:58
I am getting below error while installing "un-untitled".
– Shashank
Jan 8 at 5:42
Thanks for trying it. I'm just fixing the error.
– Rob Kwasowski
Jan 8 at 6:07
It should now work fine! Make sure you update to version 2.1.0.
– Rob Kwasowski
Jan 8 at 6:21
Thanks. This is working now. Like you said it more accurately recreates behaviour of Atom and Sublime text.
– Shashank
Jan 8 at 7:27
1
1
Have you tried "un-untitled", like I explained, it more accurately recreates the behaviour of Atom and Sublime Text.
– Rob Kwasowski
Jan 8 at 4:58
Have you tried "un-untitled", like I explained, it more accurately recreates the behaviour of Atom and Sublime Text.
– Rob Kwasowski
Jan 8 at 4:58
I am getting below error while installing "un-untitled".
– Shashank
Jan 8 at 5:42
I am getting below error while installing "un-untitled".
– Shashank
Jan 8 at 5:42
Thanks for trying it. I'm just fixing the error.
– Rob Kwasowski
Jan 8 at 6:07
Thanks for trying it. I'm just fixing the error.
– Rob Kwasowski
Jan 8 at 6:07
It should now work fine! Make sure you update to version 2.1.0.
– Rob Kwasowski
Jan 8 at 6:21
It should now work fine! Make sure you update to version 2.1.0.
– Rob Kwasowski
Jan 8 at 6:21
Thanks. This is working now. Like you said it more accurately recreates behaviour of Atom and Sublime text.
– Shashank
Jan 8 at 7:27
Thanks. This is working now. Like you said it more accurately recreates behaviour of Atom and Sublime text.
– Shashank
Jan 8 at 7:27
|
show 6 more comments
2 Answers
2
active
oldest
votes
You can use the package un-untitled
at https://atom.io/packages/un-untitled.
It puts the first few words of the file in the tab, the window bar and the status bar, and so mirrors accurately the standard behaviour of Atom, while giving you this behaviour from Sublime Text.
tab-title
doesn't change the status bar and the window bar loses the ending part, which normally gives you the project path and 'Atom'.
add a comment |
There's a package I'm building for this--> https://atom.io/packages/auto-tab-title.
Currently works only on command (Ctrl+Shift+t) and not in background.
Trying to get that to work and removing a few kinks.
Feel free to raise PRs to improve on it @Rob, @Shashank
Good effort for making a package. I had a look at the code. You have some good stuff in there.
– Rob Kwasowski
Jan 9 at 1:22
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53984568%2fhow-to-show-initial-words-of-an-unsaved-file-as-title-on-atom-editor-instead-of%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use the package un-untitled
at https://atom.io/packages/un-untitled.
It puts the first few words of the file in the tab, the window bar and the status bar, and so mirrors accurately the standard behaviour of Atom, while giving you this behaviour from Sublime Text.
tab-title
doesn't change the status bar and the window bar loses the ending part, which normally gives you the project path and 'Atom'.
add a comment |
You can use the package un-untitled
at https://atom.io/packages/un-untitled.
It puts the first few words of the file in the tab, the window bar and the status bar, and so mirrors accurately the standard behaviour of Atom, while giving you this behaviour from Sublime Text.
tab-title
doesn't change the status bar and the window bar loses the ending part, which normally gives you the project path and 'Atom'.
add a comment |
You can use the package un-untitled
at https://atom.io/packages/un-untitled.
It puts the first few words of the file in the tab, the window bar and the status bar, and so mirrors accurately the standard behaviour of Atom, while giving you this behaviour from Sublime Text.
tab-title
doesn't change the status bar and the window bar loses the ending part, which normally gives you the project path and 'Atom'.
You can use the package un-untitled
at https://atom.io/packages/un-untitled.
It puts the first few words of the file in the tab, the window bar and the status bar, and so mirrors accurately the standard behaviour of Atom, while giving you this behaviour from Sublime Text.
tab-title
doesn't change the status bar and the window bar loses the ending part, which normally gives you the project path and 'Atom'.
answered Jan 8 at 4:55
Rob KwasowskiRob Kwasowski
352317
352317
add a comment |
add a comment |
There's a package I'm building for this--> https://atom.io/packages/auto-tab-title.
Currently works only on command (Ctrl+Shift+t) and not in background.
Trying to get that to work and removing a few kinks.
Feel free to raise PRs to improve on it @Rob, @Shashank
Good effort for making a package. I had a look at the code. You have some good stuff in there.
– Rob Kwasowski
Jan 9 at 1:22
add a comment |
There's a package I'm building for this--> https://atom.io/packages/auto-tab-title.
Currently works only on command (Ctrl+Shift+t) and not in background.
Trying to get that to work and removing a few kinks.
Feel free to raise PRs to improve on it @Rob, @Shashank
Good effort for making a package. I had a look at the code. You have some good stuff in there.
– Rob Kwasowski
Jan 9 at 1:22
add a comment |
There's a package I'm building for this--> https://atom.io/packages/auto-tab-title.
Currently works only on command (Ctrl+Shift+t) and not in background.
Trying to get that to work and removing a few kinks.
Feel free to raise PRs to improve on it @Rob, @Shashank
There's a package I'm building for this--> https://atom.io/packages/auto-tab-title.
Currently works only on command (Ctrl+Shift+t) and not in background.
Trying to get that to work and removing a few kinks.
Feel free to raise PRs to improve on it @Rob, @Shashank
edited Jan 8 at 4:39
answered Jan 8 at 4:32
Sarosh AgaSarosh Aga
12
12
Good effort for making a package. I had a look at the code. You have some good stuff in there.
– Rob Kwasowski
Jan 9 at 1:22
add a comment |
Good effort for making a package. I had a look at the code. You have some good stuff in there.
– Rob Kwasowski
Jan 9 at 1:22
Good effort for making a package. I had a look at the code. You have some good stuff in there.
– Rob Kwasowski
Jan 9 at 1:22
Good effort for making a package. I had a look at the code. You have some good stuff in there.
– Rob Kwasowski
Jan 9 at 1:22
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53984568%2fhow-to-show-initial-words-of-an-unsaved-file-as-title-on-atom-editor-instead-of%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Have you tried "un-untitled", like I explained, it more accurately recreates the behaviour of Atom and Sublime Text.
– Rob Kwasowski
Jan 8 at 4:58
I am getting below error while installing "un-untitled".
– Shashank
Jan 8 at 5:42
Thanks for trying it. I'm just fixing the error.
– Rob Kwasowski
Jan 8 at 6:07
It should now work fine! Make sure you update to version 2.1.0.
– Rob Kwasowski
Jan 8 at 6:21
Thanks. This is working now. Like you said it more accurately recreates behaviour of Atom and Sublime text.
– Shashank
Jan 8 at 7:27