Questions tagged [notepad++]
Notepad++ is a free and open source text editor for Windows. It is designed as a replacement for the built-in Notepad application.
notepad++
7,198
questions
2088
votes
23
answers
2.1m
views
How do I format XML in Notepad++?
I have Notepad++ and I got some XML code which is very long. When I pasted it in Notepad++ there was a long line of code (difficult to read and work with).
I want to know if there is a simple way to ...
1365
votes
25
answers
1.6m
views
How to reformat JSON in Notepad++?
I need Notepad++ to take a json string from this
{"menu": {"id": "file","value": "File","popup": {"menuitem": [{"value": "New", "onclick": "CreateNewDoc()"},{"value": "Open", "onclick": "OpenDoc()"},{...
1263
votes
13
answers
976k
views
Convert tabs to spaces in Notepad++
How do I convert tabs to spaces in Notepad++?
I found a webpage that suggests it's possible, but I couldn't find any information about how to do it.
I would like to be able to do that, because ...
750
votes
9
answers
1.4m
views
How To Auto-Format / Indent XML/HTML in Notepad++
Is there a way to re-indent a block of code? I'm looking for something similar to Ctrl+Shift+F in Eclipse (Auto-Format/Indent).
To be clear,
I already know how to format XML outside of Notepad++ (...
698
votes
17
answers
917k
views
Removing duplicate rows in Notepad++
Is it possible to remove duplicated rows in Notepad++, leaving only a single occurrence of a line?
545
votes
24
answers
616k
views
Aliases in Windows command prompt
I have added notepad++.exe to my Path in environment variables.
Now in command prompt, notepad++.exe filename.txt opens the filename.txt. But I want to do just np filename.txt to open the file.
I ...
524
votes
13
answers
1.2m
views
Notepad++ add to every line
I'm using Notepad++ and I can't figure this out :
I have numerous lines all starting with http. I need to add some text in front of it in every line. Also, I need to add different text to the end of ...
490
votes
7
answers
449k
views
Regex: Remove lines containing "help", etc
I have a long document of commands. Using Notepad++ or regex, I want to delete all lines containing "help" including keyboard_help, etc.
How can this be done?
459
votes
22
answers
688k
views
Removing empty lines in Notepad++
How can I replace empty lines in Notepad++? I tried a find and replace with the empty lines in the find, and nothing in the replace, but it did not work; it probably needs regex.
446
votes
3
answers
212k
views
How do I configure Notepad++ to use spaces instead of tabs?
Notepad++ keeps inserting tabs which later messes up my code. This doesn't just happen when I hit the tab key, but other times as well. I want it to use 4 spaces instead of tabs.
How can I make ...
342
votes
7
answers
163k
views
Notepad++ Setting for Disabling Auto-open Previous Files
How do I stop Notepad++ from loading all files from the past session?
Every time I open a file I have 10 other open tabs with all my past files. I don't want that. When I hit the close button I ...
338
votes
19
answers
653k
views
Find CRLF in Notepad++
How can I find/replace all CR/LF characters in Notepad++?
I am looking for something equivalent to the ^p special character in Microsoft Word.
313
votes
8
answers
530k
views
How to change background color in the Notepad++ text editor?
Does anyone know how to change the background color, font size, and other appearance-based settings in Notepad++? The default is white but I am trying to change it into a dark gray or something else.
278
votes
7
answers
428k
views
Does Notepad++ show all hidden characters?
In Notepad++ I have set "replace tab with 2 spaces".
When coding in Python I copy-pasted some code from the web and it appeared indented correctly. But running the code resulted in indentation errors,...
265
votes
6
answers
299k
views
How can I convert uppercase letters to lowercase in Notepad++
I use Notepad ++ for coding mostly.
How can I convert capital letters to lowercase and vice versa?