How to remove styling for text files in Notepad++
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++
add a comment |
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++
*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
add a comment |
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++
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++
windows-7 notepad++
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
add a comment |
*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
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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.
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
add a comment |
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
});
}
});
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%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
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.
add a comment |
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.
add a comment |
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.
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.
answered May 12 '16 at 16:13
iSR5iSR5
1,5681516
1,5681516
add a comment |
add a comment |
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
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%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
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
*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