How to remove styling for text files in Notepad++












0















If I open a text file in Notepad++ it defaults to formatting some elements such as numbers, text between apostrophes, backslashes etc.



How to I tell N++ to display .txt files with none of this formatting?










share|improve this question

























  • *text files (not test files as originally titled)

    – pelms
    May 12 '16 at 15:12











  • Hmm. For me .txt files open without any special formatting ...

    – DavidPostill
    May 12 '16 at 17:08


















0















If I open a text file in Notepad++ it defaults to formatting some elements such as numbers, text between apostrophes, backslashes etc.



How to I tell N++ to display .txt files with none of this formatting?










share|improve this question

























  • *text files (not test files as originally titled)

    – pelms
    May 12 '16 at 15:12











  • Hmm. For me .txt files open without any special formatting ...

    – DavidPostill
    May 12 '16 at 17:08
















0












0








0


1






If I open a text file in Notepad++ it defaults to formatting some elements such as numbers, text between apostrophes, backslashes etc.



How to I tell N++ to display .txt files with none of this formatting?










share|improve this question
















If I open a text file in Notepad++ it defaults to formatting some elements such as numbers, text between apostrophes, backslashes etc.



How to I tell N++ to display .txt files with none of this formatting?







windows-7 notepad++






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 12 '16 at 15:11







pelms

















asked May 12 '16 at 15:04









pelmspelms

6,55494772




6,55494772













  • *text files (not test files as originally titled)

    – pelms
    May 12 '16 at 15:12











  • Hmm. For me .txt files open without any special formatting ...

    – DavidPostill
    May 12 '16 at 17:08





















  • *text files (not test files as originally titled)

    – pelms
    May 12 '16 at 15:12











  • Hmm. For me .txt files open without any special formatting ...

    – DavidPostill
    May 12 '16 at 17:08



















*text files (not test files as originally titled)

– pelms
May 12 '16 at 15:12





*text files (not test files as originally titled)

– pelms
May 12 '16 at 15:12













Hmm. For me .txt files open without any special formatting ...

– DavidPostill
May 12 '16 at 17:08







Hmm. For me .txt files open without any special formatting ...

– DavidPostill
May 12 '16 at 17:08












2 Answers
2






active

oldest

votes


















0














I think you are like me, prefer to view txt files as a plain text even if they have some codes in them. IF so, then I think I will tell you what I did and it might be what you need.



The only thing I did was overriding the format style under the Style Configurator, and used Global override settings to override the style settings on any file type that is not assigned to the Notepad++ along with text files. Thus, these files will always opened in Notepad++ as plain text with no formatting.



Here is the instructions :




  • Open Notepad++

  • Go to Settings and choose Style Configurator.

  • Under Global Styles: Global override, set the Colour Style, Font Style that you want.

  • Tick Enable global foreground colour. (This is the font color)

  • Tick Enable global background colour. (This is the page color).

  • Tick Enable global font.

  • Tick Enable global font size.

  • Tick Enable global bold font style.

  • Tick Enable global italic font style.

  • Tick Enable global underline font style.

  • When you're finished, click Save & Close.


Background color is optional, but if you use a customized theme, you can use the background color if you want to. I use Obsidian theme, and I changed the background color from blackish color to white. This will make all plain text with a white background, while other files with blackish color.



NOTE: if you use a customized theme or change your theme, you have to repeat the same steps above on the new theme.






share|improve this answer































    0














    Run it from the command-line as such:



    notepad++ -ltext [filename]


    Or from the menu: Language, N, Normal Text.



    That's lower-case L in "-ltext" by the way.



    Update: To make it work by double-clicking on the file in Windows Explorer, put the above in a batch file as such (call the file, say, C:OpenTxt.bat):



    C:fullpathtonotepad++ -ltext %1


    Then in Windows Explorer, right-click on any .txt file, choose Open With then Choose default program, Browse, choose your C:OpenTxt.bat and check Always use the selected program to open this kind of file. Then OK.






    share|improve this answer


























    • Thanks @JimB. I was really looking for a way to set the styling for all .txt files when they're opened with a double click without having to run a command each time though

      – pelms
      May 12 '16 at 15:14











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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%2fsuperuser.com%2fquestions%2f1076120%2fhow-to-remove-styling-for-text-files-in-notepad%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









    0














    I think you are like me, prefer to view txt files as a plain text even if they have some codes in them. IF so, then I think I will tell you what I did and it might be what you need.



    The only thing I did was overriding the format style under the Style Configurator, and used Global override settings to override the style settings on any file type that is not assigned to the Notepad++ along with text files. Thus, these files will always opened in Notepad++ as plain text with no formatting.



    Here is the instructions :




    • Open Notepad++

    • Go to Settings and choose Style Configurator.

    • Under Global Styles: Global override, set the Colour Style, Font Style that you want.

    • Tick Enable global foreground colour. (This is the font color)

    • Tick Enable global background colour. (This is the page color).

    • Tick Enable global font.

    • Tick Enable global font size.

    • Tick Enable global bold font style.

    • Tick Enable global italic font style.

    • Tick Enable global underline font style.

    • When you're finished, click Save & Close.


    Background color is optional, but if you use a customized theme, you can use the background color if you want to. I use Obsidian theme, and I changed the background color from blackish color to white. This will make all plain text with a white background, while other files with blackish color.



    NOTE: if you use a customized theme or change your theme, you have to repeat the same steps above on the new theme.






    share|improve this answer




























      0














      I think you are like me, prefer to view txt files as a plain text even if they have some codes in them. IF so, then I think I will tell you what I did and it might be what you need.



      The only thing I did was overriding the format style under the Style Configurator, and used Global override settings to override the style settings on any file type that is not assigned to the Notepad++ along with text files. Thus, these files will always opened in Notepad++ as plain text with no formatting.



      Here is the instructions :




      • Open Notepad++

      • Go to Settings and choose Style Configurator.

      • Under Global Styles: Global override, set the Colour Style, Font Style that you want.

      • Tick Enable global foreground colour. (This is the font color)

      • Tick Enable global background colour. (This is the page color).

      • Tick Enable global font.

      • Tick Enable global font size.

      • Tick Enable global bold font style.

      • Tick Enable global italic font style.

      • Tick Enable global underline font style.

      • When you're finished, click Save & Close.


      Background color is optional, but if you use a customized theme, you can use the background color if you want to. I use Obsidian theme, and I changed the background color from blackish color to white. This will make all plain text with a white background, while other files with blackish color.



      NOTE: if you use a customized theme or change your theme, you have to repeat the same steps above on the new theme.






      share|improve this answer


























        0












        0








        0







        I think you are like me, prefer to view txt files as a plain text even if they have some codes in them. IF so, then I think I will tell you what I did and it might be what you need.



        The only thing I did was overriding the format style under the Style Configurator, and used Global override settings to override the style settings on any file type that is not assigned to the Notepad++ along with text files. Thus, these files will always opened in Notepad++ as plain text with no formatting.



        Here is the instructions :




        • Open Notepad++

        • Go to Settings and choose Style Configurator.

        • Under Global Styles: Global override, set the Colour Style, Font Style that you want.

        • Tick Enable global foreground colour. (This is the font color)

        • Tick Enable global background colour. (This is the page color).

        • Tick Enable global font.

        • Tick Enable global font size.

        • Tick Enable global bold font style.

        • Tick Enable global italic font style.

        • Tick Enable global underline font style.

        • When you're finished, click Save & Close.


        Background color is optional, but if you use a customized theme, you can use the background color if you want to. I use Obsidian theme, and I changed the background color from blackish color to white. This will make all plain text with a white background, while other files with blackish color.



        NOTE: if you use a customized theme or change your theme, you have to repeat the same steps above on the new theme.






        share|improve this answer













        I think you are like me, prefer to view txt files as a plain text even if they have some codes in them. IF so, then I think I will tell you what I did and it might be what you need.



        The only thing I did was overriding the format style under the Style Configurator, and used Global override settings to override the style settings on any file type that is not assigned to the Notepad++ along with text files. Thus, these files will always opened in Notepad++ as plain text with no formatting.



        Here is the instructions :




        • Open Notepad++

        • Go to Settings and choose Style Configurator.

        • Under Global Styles: Global override, set the Colour Style, Font Style that you want.

        • Tick Enable global foreground colour. (This is the font color)

        • Tick Enable global background colour. (This is the page color).

        • Tick Enable global font.

        • Tick Enable global font size.

        • Tick Enable global bold font style.

        • Tick Enable global italic font style.

        • Tick Enable global underline font style.

        • When you're finished, click Save & Close.


        Background color is optional, but if you use a customized theme, you can use the background color if you want to. I use Obsidian theme, and I changed the background color from blackish color to white. This will make all plain text with a white background, while other files with blackish color.



        NOTE: if you use a customized theme or change your theme, you have to repeat the same steps above on the new theme.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 12 '16 at 16:13









        iSR5iSR5

        1,5681516




        1,5681516

























            0














            Run it from the command-line as such:



            notepad++ -ltext [filename]


            Or from the menu: Language, N, Normal Text.



            That's lower-case L in "-ltext" by the way.



            Update: To make it work by double-clicking on the file in Windows Explorer, put the above in a batch file as such (call the file, say, C:OpenTxt.bat):



            C:fullpathtonotepad++ -ltext %1


            Then in Windows Explorer, right-click on any .txt file, choose Open With then Choose default program, Browse, choose your C:OpenTxt.bat and check Always use the selected program to open this kind of file. Then OK.






            share|improve this answer


























            • Thanks @JimB. I was really looking for a way to set the styling for all .txt files when they're opened with a double click without having to run a command each time though

              – pelms
              May 12 '16 at 15:14
















            0














            Run it from the command-line as such:



            notepad++ -ltext [filename]


            Or from the menu: Language, N, Normal Text.



            That's lower-case L in "-ltext" by the way.



            Update: To make it work by double-clicking on the file in Windows Explorer, put the above in a batch file as such (call the file, say, C:OpenTxt.bat):



            C:fullpathtonotepad++ -ltext %1


            Then in Windows Explorer, right-click on any .txt file, choose Open With then Choose default program, Browse, choose your C:OpenTxt.bat and check Always use the selected program to open this kind of file. Then OK.






            share|improve this answer


























            • Thanks @JimB. I was really looking for a way to set the styling for all .txt files when they're opened with a double click without having to run a command each time though

              – pelms
              May 12 '16 at 15:14














            0












            0








            0







            Run it from the command-line as such:



            notepad++ -ltext [filename]


            Or from the menu: Language, N, Normal Text.



            That's lower-case L in "-ltext" by the way.



            Update: To make it work by double-clicking on the file in Windows Explorer, put the above in a batch file as such (call the file, say, C:OpenTxt.bat):



            C:fullpathtonotepad++ -ltext %1


            Then in Windows Explorer, right-click on any .txt file, choose Open With then Choose default program, Browse, choose your C:OpenTxt.bat and check Always use the selected program to open this kind of file. Then OK.






            share|improve this answer















            Run it from the command-line as such:



            notepad++ -ltext [filename]


            Or from the menu: Language, N, Normal Text.



            That's lower-case L in "-ltext" by the way.



            Update: To make it work by double-clicking on the file in Windows Explorer, put the above in a batch file as such (call the file, say, C:OpenTxt.bat):



            C:fullpathtonotepad++ -ltext %1


            Then in Windows Explorer, right-click on any .txt file, choose Open With then Choose default program, Browse, choose your C:OpenTxt.bat and check Always use the selected program to open this kind of file. Then OK.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited May 12 '16 at 17:59

























            answered May 12 '16 at 15:10









            JimBJimB

            39037




            39037













            • Thanks @JimB. I was really looking for a way to set the styling for all .txt files when they're opened with a double click without having to run a command each time though

              – pelms
              May 12 '16 at 15:14



















            • Thanks @JimB. I was really looking for a way to set the styling for all .txt files when they're opened with a double click without having to run a command each time though

              – pelms
              May 12 '16 at 15:14

















            Thanks @JimB. I was really looking for a way to set the styling for all .txt files when they're opened with a double click without having to run a command each time though

            – pelms
            May 12 '16 at 15:14





            Thanks @JimB. I was really looking for a way to set the styling for all .txt files when they're opened with a double click without having to run a command each time though

            – pelms
            May 12 '16 at 15:14


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1076120%2fhow-to-remove-styling-for-text-files-in-notepad%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

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            RAC Tourist Trophy