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

177
votes
6answers
73k 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?
175
votes
2answers
61k 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 ...
150
votes
5answers
93k views

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

Whenever I open NotePad++ the following error message appears: --------------------------- Configurator --------------------------- Load langs.xml failed! --------------------------- ...
122
votes
5answers
124k 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++?
88
votes
1answer
40k 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?
84
votes
3answers
45k 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.
79
votes
5answers
228k 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 ...
75
votes
10answers
134k 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 ...
71
votes
9answers
46k 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 ++. ...
70
votes
9answers
73k views

How to delete all line 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?
61
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
3answers
37k 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 ...
57
votes
1answer
26k 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++?
57
votes
6answers
36k 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 ...
56
votes
1answer
25k 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 ...
52
votes
1answer
74k 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 ...
46
votes
1answer
10k 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 ...
45
votes
2answers
84k 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.
43
votes
1answer
35k views

Sorting lines in Notepad++ without TextFx plugin

Current version of Notepad++ is 6.6.3. Version 6.5.2 is the first, that introduced native (without plugin) sorting function to Notepad++. At least that's what they claim. Because, even though we're ...
43
votes
2answers
53k 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 ...
41
votes
4answers
16k 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 ...
40
votes
6answers
56k 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 ...
40
votes
5answers
25k 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 ...
40
votes
2answers
20k 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 ...
39
votes
6answers
46k 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 ...
37
votes
11answers
7k 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 ...
36
votes
3answers
14k 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 ...
36
votes
3answers
18k 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 ...
34
votes
10answers
88k 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 ...
34
votes
1answer
12k 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 ...
33
votes
7answers
28k 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 ...
33
votes
1answer
20k 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)?
32
votes
5answers
23k 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 ...
32
votes
3answers
28k 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 ...
30
votes
2answers
30k 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 ...
29
votes
7answers
16k 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 ...
29
votes
1answer
29k 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).
28
votes
6answers
53k 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 ...
27
votes
1answer
8k 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.
26
votes
4answers
23k 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. I wonder if ...
26
votes
0answers
1k views

How do I disable Notepad++'s “This file has been modified…” message? [duplicate]

Is there anyway to prevent this dialog box from popping up every time a file has been changed? This file has been modified by another program, do you want to reload it?
25
votes
2answers
29k 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 ...
25
votes
3answers
31k 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.
24
votes
2answers
4k views

Why does this window have square corners?

On Windows 7 with the Aero theme, Notepad++'s Preferences window has square corners, no system menu icon, a close button, and a darker 1px border. This window also has an AlwaysOnTop attribute. (I ...
22
votes
2answers
21k 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 ...
22
votes
4answers
24k 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.
22
votes
3answers
33k 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: ...
22
votes
3answers
24k 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 ...
22
votes
5answers
100k views

Auto format document with Notepad++

In Visual Studio, (and a few other Microsoft editors), you can auto format a document with a simple Ctrl + K, Ctrl + D. This inserts line breaks and tabbing automatically. Is there a similar feature ...
22
votes
1answer
4k views

Notepad++ - “Replace with” adds new-line character after replaced text. How do I remove it?

Original text: 2### Test 123 I am doing this operation: Find what: 2### Replace with: 2###\r\nText before Result: 2### Text before Test 123 Desired result: 2### Text before Test 123 For ...