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

3
votes
1answer
2k views

Notepad++ regular expression help

I'm a total newb with expressions and looking for a quick way to do this. Trying to delete everything in between the && to TAG URL GOTO=http://www.URLHERE.com/&&TXT:Just<SP>...
6
votes
5answers
13k views

How to use Notepad++ to find files in a directory that do not contain string

Does anyone know a quick and easy way to use Notepad++'s "find in files" (or other feature) to find files that do not contain a string? For example: List all files in c:\inetpub\mywebsite that do ...
30
votes
5answers
33k 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.
2
votes
1answer
1k views

Edit default text for a file extension in Notepad++

Is it possible to make Notepad++ use a default set of text when I change the language to say php or perl? Basically I am lazy and say for perl I don't have to have to write out #/usr/bin/perl ...
1
vote
1answer
4k views

Retain a wildcard while replacing string with regex

I am using Notepad++ to do this: I was able to find the appropriate pattern to match my string, which would be: (.*)myemail[at]gmail.com What I need to do now is insert a line break and some ...
6
votes
3answers
3k views

Anyone else having trouble getting Notepad++ to update? [closed]

I keep getting alerts that a new update package is available for Notepad++, but when I click "Yes", it jumps really quickly to 100% and never downloads anything. Anyone else? Update I currently ...
5
votes
2answers
12k views

Notepad++: How to wrap selected text in brackets, parenthesis, quotes?

I'm used to textmate and I'm looking for an editor on Windows that supports this. Notepad++ seems cool, but I when I have some text selected and type an opening bracket it replaces the text with the ...
0
votes
1answer
378 views

Colours for Notepad++

Am I able to set font colours in Notepad++ (I don't mean the styles/tag conventions via the Style Configurator; I mean simple text highlighting like in Word or similar)? I'm guessing "no" is the ...
18
votes
5answers
24k views

How can a paragraph be reformatted in Notepad++?

How can I reformat a paragraph in Notepad++? In UltraEdit I can select one or more long lines and reformat the paragraph to the set right margin (e.g. 60 or 80) by menu command Format/Reformat ...
0
votes
1answer
10k views

How to use Notepad++ on Redhat?

I want to use Notepad++ on my RedHat machine. But there is no setup file available for Linux. What should I do?
13
votes
5answers
19k views

Notepad++ Display Printing Page Count

I have a rather large document i want to print via Notepad++, but i can't get the page count before printing. Is there a way to do it? (Assume standard 8.5"x11" paper)
1
vote
1answer
763 views

Unable to convert file to UTF-8

I am on Windows XP sp3 and I am trying to convert a file from ASCII to UTF-8. I use notepad++ to do this. I go to Encoding > Convert to UTF-8 without BOM. I save the file, reopen and it is still on ...
3
votes
1answer
3k views

How do I find/replace strange characters in notepad++?

When I open a sql dump file in notepad++ and view it with utf8 encoding, (as that was it was encoded as) I see these strange block characters such as A0 or 93 that I can't find/replace. My friend ...
4
votes
2answers
6k views

Notepad++ last open tag closing

I am searching for a plugin or any other way for n++ to close the last open tag on demand (i.e. assigned to a shortcut key), not automatically. Sadly all I could find is tag auto-closing (in TextFX ...
4
votes
4answers
5k views

Matching digits in Notepad++ extended search mode

Notepad++'s manual is rather vague on the special character for numerical used in extended search mode. It says: \d### - Decimal value (between 000 and 255) but literally entering "\d###" doesn't ...
46
votes
1answer
29k 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)?
3
votes
2answers
6k views

Notepad++, how to count tabs in a tab delimited file?

I've got a tab delimited file, is there an easy way for me to count the total number of tabs on a line? I have opened it up in excel, but excel is limited to 256 columns and I think each line of my ...
1
vote
8answers
25k views

How to insert time and date, and the directory path in Notepad++?

I just downloaded Notepad++ v 5.3.1 and I'm having two problems with the TextFX plugin: I recorded a macro with "TextFX Insert" > Date & Time (no matter whether short or long format) and, after ...
5
votes
6answers
5k views

How to make Notepad++ take over from the standard notepad.exe

I could do this easily with TextPad, then I got irritated with Textpad once I'd played with Notepad++. Now that I've removed Textpad: I want Notepad++ to take over the right-click > Edit option in ...
1
vote
2answers
543 views

Creating an “Open with …” shortcut to Notepad++ but the shellex is not working [closed]

I want to create a keyboard short-cut that will open a file I am on with Notepad++. How can I do that? It seems the installer isn't creating the shellex for me. It actually was there and I installed ...
2
votes
2answers
4k views

Notepad++ Run Shortcut won't run with Python

I am trying to run a code through Notepad++ to Python using (attempt 1) Run, Run,C:\Python26\python.exe, Run (attempt 2) Run, Run, C:\Python26\python26.exe $(FULL_CURRENT_PATH), Run (attempt 1) ...
1
vote
3answers
8k views

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

[Notepad++ Question] How do I use find-and-replace to replace the attribute of a series of tags using expression? Case scenario: Let's say I have a couple of lines of something like this: <li&...
5
votes
3answers
18k views

Notepad++ Tweaking

Is it possible to get Notepad++ to have background themes like other text editors have? I know that you can have syntax highlighting, but I've seen editors like Eclipse and Visual Studio have ...
7
votes
3answers
13k views

notepad++ highlight colours

I like the highlighting feature in notepad++, but when using certain themes that default purple and yellow make the text unreadable, and it seems I cannot change it through style configurator. Does ...
156
votes
6answers
99k views

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

Whenever I open NotePad++ the following error message appears: --------------------------- Configurator --------------------------- Load langs.xml failed! --------------------------- ...
5
votes
7answers
6k views

Notepad++ and FTP

I've been using UltraEdit for several years now, but after upgrading to Windows 7, I decided to try out Notepad++ instead. It seems pretty similar and pretty powerful, but one of the best features of ...
2
votes
2answers
5k views

FTP and Notepad++

I've been using UltraEdit for several years now, but after upgrading to Windows 7, I decided to try out Notepad++ instead. It seems pretty similar and pretty powerful, but one of the best features of ...
3
votes
1answer
12k views

Notepad++ custom syntax highlighting setting - where to look for it?

Could you tell me where Notepad++ stores custom syntax highlighting settings?
4
votes
3answers
13k views

How to go to the bottom of the file on startup in Notepad++

I know this is completely unreasonable feature for a text editor to have, however, when I edit various files, I almost always have to do it at the end of the file. Is there a feature in Notepad++ ...
30
votes
5answers
137k 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 ...
40
votes
6answers
57k 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 ...
22
votes
3answers
14k views

How to remove shell integration of Notepad++?

I need to remove the annoying shell integration of Notepad++. How do I do that, please?
2
votes
2answers
1k views

Does anyone know how to edit msbuild targets files in Notepad++ with intellisense?

I often edit my msbuild files with Notepad++.However, I miss the intellisense I get when I do so in Visual Studio. Does anyone know how to have the same experience in Notepad++?
12
votes
2answers
3k views

Is there a Notepad++ feature to add some vertical space to the bottom or scroll below last line?

Whenever I'm doing some coding in Notepad++ i need to add some lines at the bottom so if i scroll down, the code doesn't stop at the bottom at the window. The problem is that I sometimes forget to ...
1
vote
1answer
420 views

Notepad++ default FileChooser view type

Often when I am working on a bunch of files in Notepad++, I need to open the most recently modified file out of many in a log directory. I find that I need to get to the 'Open' dialog and then change ...
48
votes
2answers
61k 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 ...
11
votes
6answers
22k views

What is the way to use FTP and Notepad++ (without using its build-in FTP or a FTP client like FileZilla)?

I use Notepad++ for more than 2 years now, and there's only 1 thing that it needs for me to be perfect: a actually-working-ftp-plugin. It has an FTP plugin, written by someone that meanwhile left the ...
22
votes
3answers
8k views

Does Notepad++ have a minimap feature?

I'm not really sure what to call the "minimap" feature of a text editor. For example, Sublime Text has what I would call a Minimap feature. A skinny map on the left side where you can click to get ...
8
votes
3answers
22k views

How do I uncomment lines in an XML file using Notepad++

I can comment lines easily enough with Ctrl+Shift+Q. How do I uncomment the lines? Ctrl+Shift+K doesn't do it.
34
votes
3answers
47k 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.
208
votes
2answers
77k 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 ...
77
votes
3answers
53k 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 ...
62
votes
1answer
19k 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 ...
132
votes
5answers
380k 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
900 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
953 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) ...