How to show initial words of an unsaved file as title on atom editor instead of “untitled”












1















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".










share|improve this question


















  • 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















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".










share|improve this question


















  • 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








1


1






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".










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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














  • 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












2 Answers
2






active

oldest

votes


















1














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'.






share|improve this answer































    0














    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






    share|improve this answer


























    • 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











    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    1














    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'.






    share|improve this answer




























      1














      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'.






      share|improve this answer


























        1












        1








        1







        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'.






        share|improve this answer













        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'.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 8 at 4:55









        Rob KwasowskiRob Kwasowski

        352317




        352317

























            0














            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






            share|improve this answer


























            • 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
















            0














            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






            share|improve this answer


























            • 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














            0












            0








            0







            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






            share|improve this answer















            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







            share|improve this answer














            share|improve this answer



            share|improve this answer








            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



















            • 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


















            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Monofisismo

            Angular Downloading a file using contenturl with Basic Authentication

            Olmecas