Notepad++ is a free source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.

learn more… | top users | synonyms

32
votes
3answers
44k views

Replace \r\n with newline in Notepad++

How do I replace the string "\r\n" with the same characters? Example: Hello World.\r\nHello World. replaced with: Hello World. Hello World.
200
votes
2answers
75k views

Assigning custom extensions to a language's syntax highlighting in Notepad++

In the current version of Notepad++ opening .sql files results in Notepad applying SQL syntax highlighting to it. I'd like Notepad++ to do the same for other extensions as well, is there some setting ...
6
votes
1answer
5k views

How to remove custom run commands in notepad++

I use Notepad++ and to speed up the development of my program I added a keyboard shortcut to the Run menu. This of course took a few tries to get right and now I have multiple entries on the list ...
4
votes
4answers
10k views

Delete blank lines from a text file

I am trying to delete all the blank lines in a text file. Is there a quick way to do this? What I have line one line two What I want line one line two I am using Notepad++, so a solution using ...
73
votes
3answers
51k views

shortcut to manually Reload file from Disk

Now that I can turn off the annoying Reload popups, I would like a quick way to manually reload the file I am working on in NotePad++ via the keyboard. Looking at the File menu, Reload from Disk does ...
59
votes
1answer
18k views

how to turn off Reload alerts

In NotePad++, I generally run with a few files open. These are log files that are continually updating. I get annoyed when NotePad++ resumes focus and I get a stack of Reload popups informing me ...
123
votes
5answers
354k views

Notepad++ find and replace string with a new-line

Consider the scenario where you have a specific string that you want to find-and-replace. You want to replace it with a new string that contains a newline character (or character sequence). abc123 ...
1
vote
3answers
886 views

“Open resource” dialog in Notepad++?

I am happily using Notepad++ for a long time, but there is one thing that this editor lacks: an "Open resource" dialog, as in Eclipse, that allows opening of files in project folder (and subfolders) ...
3
votes
2answers
943 views

Extend selection to next blank line in notepad++

I recently switched from Textpad to Notepad++. Overall, I have found N++ to generally be superior, but one of the few things I have been looking for since the beginning that I have not found is the ...
9
votes
3answers
5k views

Show/Hide function folding margin on Notepad++

Is it possible to get rid of the function folding margin on Notepad++? It seems like the sort of thing that should be in the prefs but I'm not seeing it anywhere.
6
votes
12answers
5k views

Parsing text files

I encountered a situation tonight where I wanted to parse a text file. I had a very, very long word list that contained English words delimited by lines. I wanted to get rid of every word (or line) ...
9
votes
5answers
4k views

Notepad++ Disable/Lock Zoom

Is it possible to disable or lock the zoom feature in Notepad++ ? I'm doing a lot of copying and pasting, and the zoom level keeps changing on me. It's driving me nuts!
8
votes
5answers
22k views

Notepad++ Delete Lines with Find & Replace

Does anyone know how to delete a line using Find & Replace in Notepad++ ? In my Find query it finds the proper lines okay: ^.pPrev.$ In the Replace field, I leave it blank thinking the line ...
21
votes
5answers
81k views

How can I edit Unicode text in Notepad++?

Sometimes I edit English text that includes Unicode characters. For some reason, on my PC, Notepad++ converts Unicode characters to ???'s thereby corrupting the text and losing all that data. I'm ...
19
votes
2answers
6k views

Why doesn't Ctrl+F4 work in Notepad++?

Why does Ctrl + F4 not close a document that has been opened in Notepad++? Is there a way to enable it? I have started using Notepad++ today and I expected Ctrl + F4 to close the current document as ...
95
votes
10answers
180k views

How can the font size be changed in Notepad++?

How can the font size be changed in Notepad++? I just downloaded and installed Notepad++ v5.4.5 (I have been using UltraEdit for the last 11.5 years) and can not find a menu command for changing the ...
45
votes
2answers
20k views

Closing Notepad++ tabs on closing application

Is it possible to make Notepad++ close all open tabs when it is shut down? Currently when a new file is opened with Notepad++ all previously open tabs (and of course the files open in those tabs) are ...
6
votes
1answer
4k views

How to disable brackets highlighting in Notepad++

How do I disable this?
4
votes
3answers
4k views

How to make Notepad++ open file browser in current folder?

I set Notepad++ to be called from command-line. I would like it to open file browser in current folder from which it was called so that I could work with files in that folder. Is there any way to do ...