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

197
votes
2answers
74k 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 ...
194
votes
6answers
92k views

How can one turn off spell checking in Notepad++?

Notepad++ recently added built-in support for spell checking, and it is enabled by default. Where can I turn it off?
161
votes
5answers
180k views

How can I view two files side by side in Notepad++

I would like to split the Notepad++ window so that I can edit two files side by side. How can I do this in Notepad++?
154
votes
5answers
97k views

Notepad++ is unable to load langs.xml, why?

Whenever I open NotePad++ the following error message appears: --------------------------- Configurator --------------------------- Load langs.xml failed! --------------------------- ...
120
votes
5answers
343k 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 ...
112
votes
3answers
65k views

How can I set autoreload modified files in notepad++

How can I set autoreload modified files in notepad++? The confirmation step is annoying, and in some situations completely unnecesary.
111
votes
10answers
104k views

How to delete all lines in Notepad++ except lines containing a word I need?

I have a text file. I want to keep lines started with <Path>, and delete all the other lines. How can I do it?
101
votes
1answer
55k views

How do I get Notepad++ to associate a file type with a language? [duplicate]

I have associated .wxs files with Notepad++. So far so good. However, it doesn't remember that it should use XML syntax highlighting. How do I associate a file-type with a Language?
92
votes
10answers
177k 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 ...
85
votes
9answers
57k views

ShellExecute failed (2) error for Notepad++ on Windows 7 64bit

ShellExecute failed (2): Is this command correct? "C:\Program Files (x86)\Notepad++\notepad++.exe [location of file to edit] I seem to have some issue with RIGHT CLICK > Edit with Notepad ++. ...
82
votes
1answer
37k views

How to disable links in Notepad++?

Ever since a few months ago, Notepad++ now automatically makes clickable links whenever you type a URL. I hate it! It makes it much more difficult to edit html documents because instead of clicking in ...
79
votes
1answer
68k views

Sorting lines in Notepad++ without the TextFx plugin

The current version of Notepad++ (at the time of this writing) is 6.6.3. Version 6.5.2 is the first that introduced a native (without a plugin) sorting function. At least, that's what they claim; even ...
79
votes
6answers
57k views

How to use markdown in notepad++

I am used to writing text in markdown, and I love notepad++ for its light weight behavior. I am looking for a hint as how can I write markdown text in notepad++, which simulates using a markdown ...
75
votes
1answer
38k views

Notepad++ 80 Character Line Marker?

Is there a way I can get a vertical marker line to appear at the 80th character column in notepad++?
71
votes
3answers
49k 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 ...
63
votes
3answers
9k views

Something took control over Notepad++? [duplicate]

So I was using Notepad++ today and then all of a sudden I couldn't move my mouse or keyboard but there was this message that was being typed out in a new page on Notepad, it was about the freedom of ...
58
votes
1answer
14k views

How can I tell Notepad++ to always use a particular language with a particular file extension

I've associated .xul with Notepad++ so if I double-click on a .xul file, it will open in Notepad++. But Notepad++ doesn't know that XUL is just a particular type of XML, so I then have to manually ...
57
votes
1answer
17k 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 ...
56
votes
4answers
141k views

How to remove linebreaks in Notepad++?

For example, this: This text has been splitted in lines, and it's longer than 3200 words, so it would be great to find and replace line breaks like these.
55
votes
1answer
84k views

HTML Tag Auto Complete in Notepad++?

I would like for Notepad++ to add the closing tag when I finish typing the open tag. I know there is a plugin to do this for XML but it doesn't work on my HTML files and I have yet to find one that ...
54
votes
5answers
88k views

How do I set Notepad++ as the default editor?

I want set Notepad++ as the default editor. I tried to set it by right-clicking on a file, then Open With. But I did not see Notepad++ in the resulting list (even after clicking on Choose Other ...
46
votes
5answers
21k views

Switching to tabs to the right or left of the current tab in Notepad++

How can I switch to the document to the left or right of the current document in Notepad++? For example, if I have documents A, B, and C open, and I'm currently editing B, I would like a shortcut to ...
46
votes
2answers
60k views

Where is the tab/indent options in Notepad++ 5.5?

I recently upgraded to Notepad++ 5.5, and I can't find the tab indentation options. Does anybody know where they were moved? They used to be easily locatable in the Preferences menu, but apparently ...
45
votes
2answers
19k 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 ...
43
votes
6answers
28k views

How to save font settings in Notepad++

I like the vim Dark Blue style in Notepad++, but I want to use it with Lucida instead of Consolas. When I change the font to Lucida, it is never saved. Is there a way to save a custom style that ...
43
votes
3answers
24k views

Vertical line for the the right margin in Notepad++

Does anyone know if Notepad++ can display a vertical line on the right margin to indicated that the text will or will not fit on a printed page? I have looked but I cannot find it. Word wrap does ...
42
votes
2answers
56k views

Sort text by value in Notepad++

I have lists of files that contain a few columns of data. It is not sorted the way I want from the output, so I'm manually hunting for where a line should be. Is there a way in Notepad++ to sort the ...
42
votes
2answers
24k views

Notepad++: Ctrl-S does not Save, instead inserts [DC3]; Ctrl-F inserts [ACK]

I've been using Notepad++ more as my primary code editor. Just a few minutes ago, however, I accidentally pressed some combination of keys (no idea what I pressed) and suddenly my standard shortcut ...
41
votes
5answers
34k views

Can I get split screen in Notepad++ like emacs?

One of the good point with emacs is that you can have split screen so you get two or more views of the same file which allows you to browse around and have a clearer overview of the file. Are there ...
41
votes
1answer
27k views

Notepad++ Find in Files Filters

When using Notepad++ Find in Files feature is there a way to adjust the filter, so that it will search more than one filetype (e.g. *.c and *.h)?
40
votes
7answers
78k views

Notepad++ says “Check if file is open in another program” - but no other program is open

I am trying to edit a .CFG file in Notepad++. When I try to save it, it shows an error: Check if file is open in another program. Previously, I have had no problem editing the configuration files ...
40
votes
6answers
55k views

How to set the default language in Notepad++

I mostly use Notepad++ for dealing with XML files. It would be good if Notepad++ parsed and colorized my files based on the XML language when I open the files. Instead, I have to open the file, pick ...
40
votes
9answers
23k views

Flip or reverse line order in Notepad++

I want to flip line orders of a document with 500+ lines. The lines aren't just numbers, some include text and other characters. It's a mix. Example: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 ...
37
votes
11answers
10k views

How can I delete everything after the first column in Notepad++?

I'm trying to get rid of everything after a column in Notepad++. Column mode is not an option. Is it possible? What I have: 70.97.110.40 159 ms [n/a] 21 ...
37
votes
10answers
113k views

How to open a file for editing in Administrator mode?

I have .config files set to open in Notepad++. The files I edit are typically in protected locations (e.g. c:\windows\, c:\program files..., etc..) thus requiring administrator access. I'd like to ...
36
votes
7answers
38k views

How do I make Notepad++ delete lines like Eclipse does?

Eclipse has a keyboard shortcut which deletes either the current line (if nothing is selected) or all lines which are part of the currently selected text: Ctrl+D. Is there a way to make Ctrl+D do the ...
36
votes
2answers
41k views

EOL in Notepad++ and Notepad

I'm using Notepad++ to create some text file, but I noticed when the generated file is opened in Windows Notepad, the file contents get mal-formated due to the fact that Notepad++ use LF and EOL ...
36
votes
3answers
35k views

How to migrate Notepad++ settings?

I am trying to portabilize every program I use if possible, and Notepad++ is on the list. The only problem is that I've had a native installation until now so that I'm not totally sure which settings ...
34
votes
5answers
30k views

Disable auto-update in Notepad++

Is it possible to configure Notepad++ to stop checking for new versions each time it is run? Every time Nodepad++ is started a dialog pops with: An update package is available, do you want to ...
34
votes
6answers
5k views

How do I add a number at the end of every line in Notepad++?

I have 23,000 lines, and I need to add the number 1 at the end of every line. How can I do this? Right now: [line1]TEXT [line2]TEXT What I would want: [line1]TEXT1 [line2]TEXT1
33
votes
4answers
50k views

How would I delete the first 27 characters from every line Notepad++?

I have a log file and I need to remove the first 27 characters off every line. You would have a line like this: 2011-09-25 01:25:29 [INFO] <Exazoro> wazup But it needs to be like this: ...
31
votes
3answers
43k 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.
31
votes
1answer
12k views

Is it possible to have notepad++ show two rows of the file tabs?

Is it possible to have notepad++ show two rows of the file tabs ? I wasn't able to find such a definition.
30
votes
2answers
28k views

Grep-like functionality for Notepad++?

I would like to have some grep-like functionality in Notepad++. In it simplest version, I would like to be able to copy all lines from the current buffer that contain the word foo to a new buffer. I ...
30
votes
3answers
50k views

How do I change Notepad++'s console font?

How do I configure a fixed-size font for Notepad++'s console output?
30
votes
1answer
33k views

Notepad++ and sFTP Support

Anyone knows of a sFTP plugin for Notepad++ ? I just checked FTP_syncrhonize and it doesnt support sFTP. (please no "use filezilla/winscp/putty" answers).
29
votes
6answers
39k views

Is there a way in Notepad++to remove white spaces in empty lines automatically?

I don't want to delete the empty lines completely, but I want to remove the tabs and whitespaces in them. Eclipse usually does it (through a preference setting I guess) when we save the file. For ...
29
votes
3answers
35k views

Converting CSV to fixed-width in Notepad++?

Is there a way in Notepad++ to convert a comma-separated file to fixed width columns? This feature exists in UltraEdit and explained in Working with CSV files, but I am happy with my Notepad++, and I ...
28
votes
5answers
31k views

How can I switch tabs in Notepad++ via Ctrl+PgUp/Down?

How can I run trough the tabs in Notepad++ easily? I like to use Ctrl+PgUp/Down like in Firefox.
27
votes
3answers
13k views

Open two instances of Notepad++

I have a question about notepad++ I want to run notepad++ twice. Like in this paint printscreen How I want it: Not what I want: Is this possible?