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

8
votes
5answers
15k 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 ...
8
votes
1answer
16k views

How can I add autocomplete in notepad++ for javascript in an .html file?

Notepad++ does auto-complete for html and also for JavaScript. but the auto-completion depends on file extension.html file supports completion for html only. Is there a way to enable auto-completion ...
8
votes
5answers
7k views

How can I reverse a line in Notepad++?

Is it possible to reverse a single line in Notepad++? Example: Hello world Would change to dlrow olleH Should I install a plugin for such functionality? UPDATE: I'd like to keep the clipboard in ...
8
votes
1answer
4k views

Why is Notepad++ so slow when dealing with files stored on a network share?

Recently Notepad++ seems to be very slow when dealing with files that are located on a network share. I am editing small files (e.g. web.config) and it is slow to: Initially open a file on a ...
8
votes
4answers
6k views

How can I sort the lines in a text file, by the length of each line, in Notepad++?

How Can I sort a text file by line length in notepad++? Is there any plugin available for the mentioned task? In case that there is no plugin, What is the first and maybe second tutorial to read, In ...
8
votes
1answer
1k views

Is it possible Notepad++ to change the theme based on current filetype

For example, if I open a text file, notepad++ would open it in 'default' theme. But if I open a php file for instance, it would open it in 'custom_theme1'. I know notepad++ is highly extensible, so I ...
7
votes
4answers
4k views

NotePad++ shortcut for selecting whole word

I know in notepad++ i can use mouse doubleclick to select whole word, but i want to use some keybord shortcut. For example in visual studio it's ctrl+w by default and it's very useful. Can i specify ...
7
votes
2answers
13k views

How can I use the Lucida Grande font in Windows?

I'm a Windows user but I want to use the Lucida Grande font in Notepad++ and Eclipse IDE. I didn't find that font listed for Notepad++ when I tried to change the font in the style configurator. ...
7
votes
1answer
2k views

How to prevent Notepad++ search to loop?

I like when a search functionality tells me there's no more results when reaching the end of the file, rather than looping to the beginning of the file. How can I do that in Notepad++? I can't find ...
7
votes
2answers
5k views

Transpose column to row

How do I convert code from a column: 1 2 3 4 to in a row (with spaces): 1 2 3 4 using Notepad++ ?
7
votes
1answer
5k views

In Notepad++, how do I split long lines in several rows?

I usually use Notepad++ for programming, but recently I started doing some writing in it as well. Writing usually involves long paragraphs with no line breaks, and currently those are displayed in ...
7
votes
1answer
14k views

Find and replace in Notepad++ using wildcards/regex

I have a SQL dump with expressions such as youtubehd:2nj6bykw. The 2nj6bykw can also be a different random string. It is always 8 characters long. I want to replace youtubehd:2nj6bykw with just ...
7
votes
5answers
3k views

Notepad++:Is there a way to fix the fact that I can't run Chrome from the run menu?

I am running Notepad++ v.5.9.2 on Windows 7-64 bit. When I try to launch files in IE or Firefox from the Run menu in N++, there's no problem. However, when I click "Launch in Chrome" nothing happens, ...
7
votes
1answer
5k views

Where are Notepad++ config files?

I know this question has been asked before and I have read many answers from various forums regarding this issue but I have never ever been able to find my actual configuration files for Notepad++. ...
7
votes
1answer
802 views

What causes 3 special characters after conversion to UTF-8?

One of our work steps involves saving an MS Excel worksheet as CSV and then using UltraEdit to convert the CSV to UTF-8 before importing it into a server system. The problem is that, after the ...
7
votes
3answers
9k views

Selecting range of lines in Notepad ++

How do I select specific range of lines in Notepad++ quickly? I have a text file that has over 1M of lines and I need to delete some fragments from it, but selecting lines manually just takes too much ...
7
votes
1answer
5k views

Is there a version of solarized color scheme for notepad++

I've recently switched my Eclipse to Solarized colors. I would like to do the same thing for Notepad++. How can I achieve that ? UPDATE 1 The Eclipse configuration I use is Solarized-like.
7
votes
2answers
6k views

Open with Notepad++ as Administrator Context Menu

I'd like to add an "Open with Notepad++ as Administrator" context menu for all files to Windows 7. I've tried the solutions listed here: ...
7
votes
5answers
3k 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!
7
votes
2answers
8k views

Notepad++ inserting special Unicode characters in UTF-8

What's the best ways to enter special Unicode characters into a Notepad++ document? Do I have to rely on the operating system (Windows)? Looking for a see-and-click solution. I can bring up the ...
7
votes
2answers
1k views

Is there a way to turn off popups in Notepad++ macros?

I created a macro in Notepad++ that cleans up imported data through a series of regex search and replace iterations. This works well, but at each step, I get a popup telling me how many instances ...
7
votes
2answers
7k views

How does “Autoclose braces” work in Notepad++?

When I enable the option and enter an opening bracket (or brace) it does not auto-close itself. Does auto-close have a different meaning than what I am understanding?
7
votes
1answer
2k views

How to get a bookmarks list?

The bookmarks options in Notepad++(I'm using version 6.0) are okay, but their usefulness is limited by the fact that there is no way (that I can find) of getting a list of the existing bookmarks, so ...
6
votes
8answers
5k views

Notepad++ Installation Error

When installing Notepad++ on Windows 7 64-bit, I receive this error: Error opening file for writing: C:\Program Files (x86)\Notepad++\langs.model.xml Click Abort to stop the installation, Retry to ...
6
votes
3answers
11k 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.
6
votes
4answers
15k views

How to make variables auto-complete in Notepad++?

How do I make variables auto-complete in Notepad++? Many editors have it. I'm working on a program scan file. For every string that begins with a $ character, as soon as I type $, it would show me ...
6
votes
3answers
8k views

notepad++: How to reset all the setting to default ones?

i change settings a lot. Now, i think I've played with Notepad++ too much. Now how can I reset the settings ? btw, I don't want to uninstall, then install again. that's not so "superuser"-ish, right ...
6
votes
2answers
3k views

How do I remove the last part of every line in notepad++?

I know this can be done in notepad++, but I'm not finding the right replace syntax. I want to remove the last part of this sentence, starting from ?: ...
6
votes
6answers
4k views

Notepad++ doesn't launch (notepad++.exe present in the task manager)

Yesterday Notepad++ was runnable, but today it doesn't. In spite of the notepad++.exe (with its 13 process) presence is the tasks manager, Notepad++ window doesn't launch. I tried to uninstall and ...
6
votes
3answers
12k 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 ...
6
votes
2answers
1k views

Configuring Notepad++ to highlight .proj files as XML

Digging around the settings, Google and Super User, I haven't found how to do this.
6
votes
2answers
4k views

Notepad++ not launching in Windows 7

On my Windows 7 64-bit, Notepad++ nor its PortableApps.com equivalent won't launch. The process and the splash appear, but beyond that it doesn't work, splash doesn't disappear. It's been like that ...
6
votes
2answers
2k views

Notepad++: Is there a way 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 ...
6
votes
2answers
2k views

How do I add “input” to my macro, to replace text in Notepad++?

I'm trying to make a macro with an 'input' pop-up dialog that synergizes with the replace feature. It should go something like: "Paste text->ask for input->replace variable in pasted text with input ...
6
votes
1answer
1k views

Auto hide Notepad++ console dialog?

I use Notepad++ for development and the NPPExec plugin to execute the code. To execute, I press Ctrl-F6 to Execute the program. This invokes the console dialog to show the output of the compiler. ...
6
votes
3answers
2k views

Make Notepad++ remember a particular language for a particular file?

I have a number of files that I would like colored different ways even though they have the same extension. For example, I have some *.config files that are actually Python files and some that are ...
6
votes
1answer
929 views

Disabling doc list when using ctrl-tab in Notepad++

I'Is there a way to disable the "doc list" that is displayed when you switch between documents with CTRL-TAB? I'm used to editplus, where hitting CTRL-TAB simply switches the document immediately. ...
6
votes
1answer
3k views

How can I copy binary data in Windows (preferably with Notepad++)?

I want to duplicate some binary data (not in code, but by hand). The normal Ctrl+C doesn't work in my editor (Notepad++), it copies data only up to the first NUL char. Is there any workaround?
6
votes
1answer
4k views

How to remove custom run commands in notepad++

Hi 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 ...
6
votes
1answer
9k views

Notepad++ Compare two files and remove

Say I have two files. file1.txt and file2.txt Both files contains a list of shoe brands name (1000+ names), like this: brand1 brand2 brand3 brand... Now - I want to compare file1 to file2, delete ...
6
votes
1answer
7k views

How Can I Find Nth Character in Notepad++?

From the following text, I'd like to find a n th character. For example, the 10th character is "u"`. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque ac arcu sit amet lorem ...
6
votes
1answer
7k views

JSON Validator for Notepad++?

I'm looking for a plugin that can check the current opened file and instantly tell me whether it is valid JSON or not (eg whether there's a comma or a bracket missing) — is there any? I'm currently ...
6
votes
2answers
4k views

Notepad++ “Compress whitespace” effect

I'm looking for a mechanism within notepad++ to replace runs of consecutive whitespace with a single space, like the "Compress whitespace" command in notepad2. Essentially, in regex form: s/\s+/ /g ...
6
votes
1answer
12k views

Column editing in Notepad++ is awesome. How can I copy/paste in column mode?

Let's say I have a document like this: A A A B B B How can I put the Bs after the As on each line, like this: A B A B A B
6
votes
1answer
3k views

Creating special commands for Notepad++ using NppExec

Notepad++ has a convenient timestamp facility built-in with the choice of short or long formats, but both use the built-in date format of the computer they're on, showing either the month first (if ...
6
votes
3answers
2k views

How can I make Notepad++ use “.txt” files as the default open file dialog filter?

When I go to open files in NPP, the file types defaults to "all types (.)". How can I make this default to ".txt"? It may be a windows thing, since I'm sure it just uses the default windows file ...
6
votes
3answers
5k views

Use Notepad++ to change under_score_case to CamelCase?

I can write a regular expression in NP++ to find under_score_case. I can use TextFX in NP++ to change case to upper and lower case by highlighting and selecting. How can I use either NP++'s ...
6
votes
3answers
2k 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 ...
6
votes
2answers
2k views

Go to definition of a C function in a different file in Notepad++

While editing a C project on Notepad++ 5.6.7 (Unicode) with the SourceCookifier plugin, I can press Ctrl+Shift+Enter to go to the definition of a function which the cursor is on, but only if it is in ...
6
votes
4answers
1k views

Notepad++ Changebar

Notepad++ used to have a changebar (similar to the Microsoft code editor in Visual Studio) that would change color, if the line of text was changed. It was taken out some time ago, but I really liked ...