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

117
votes
3answers
69k 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.
42
votes
9answers
25k 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 ...
38
votes
3answers
37k 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 ...
37
votes
7answers
40k 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 ...
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 ...
11
votes
2answers
16k views

Export all regular expression matches in Textpad or Notepad++ as a list

In Textpad or Notepad++ is there an option to export all the matches for a regular expression find, as a single list? In a big text file, I am searching for tags (words enclosed in % %), using ...
30
votes
5answers
32k 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.
46
votes
2answers
61k 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 ...
43
votes
1answer
28k 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)?
18
votes
3answers
30k views

Adding a new language to Notepad++

What's the easiest way to add a custom language to Notepad++ for highlighting support? After some research, I see two ways: User-Defined Language: simple way of adding a new language based on tokens,...
17
votes
1answer
49k views

ANSI to UTF-8 in Notepad++

I have a text encoded in ANSI: When I tried to convert it into UTF-8 (using the Notepad++ menu Encoding > UTF-8), I get some weird characters: I thought that UTF-8 was a superset of ANSI and ...
58
votes
5answers
93k 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 ...
29
votes
2answers
25k views

Permanently highlight all occurrences of text in Notepad++?

In Notepad++, when I select (eg. double-click) a "word", it gets highlighted. It needs to be separated with a non-alpha character from the rest of the text. The highlight remains until the text is ...
11
votes
7answers
11k 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 re-...
25
votes
6answers
50k views

Does Notepad++ backup pre-edited files anywhere?

If I've accidentally modified a configuration file using Notepad++, saved it, and then closed the file - is there any possibility that Notepad++ may have saved the pre-modified content in a temporary ...
18
votes
3answers
19k views

Notepad++ expand/collapse block with keyboard

My question is pretty straight-forward, is there a way in Notepad++ to expand and collapse blocks with keyboard shortcut? I already know about the alt+0 and alt+shift+0 to expand / collapse all blocks ...
26
votes
2answers
28k views

How to expand/collapse all blocks of ruby code in notepad++?

Is there any way how to collapse all blocks in ruby code in Notepad++? It is much easy to navigate the code of functions, routes in Sinatra and blocks in rufus if all blocks are collapsed.
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?
18
votes
6answers
20k views

How to make Notepad++ open each file in new window?

There is -multiInst launch parameter that lets you open more than one instance of Notepad++, but how to make it launch a new window every time when I click on "Edit with Notepad++" or "Open With..." ...
15
votes
1answer
34k 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
13
votes
2answers
7k views

How can I indent the wrapped text in Notepad++?

How can I change Notepad++ setting so that wrapped lines gets indented automatically? Right now I have something like this: some text that wraps to next line some indented text that also wraps ...
12
votes
2answers
2k views

Sane control-tab behaviour in Notepad++

How can I make control-tab (and control-shift-tab) behave sensibly Notepad++? I would like these shortcuts to behave as they do in my web browser, ie. control-tab moves focus to the next tab to the ...
33
votes
3answers
52k views

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

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

How to open a big file in Notepad++?

I tried opening a file of 800MB size in Notepad++. But i don't why Notepad++ showed only 269117242 chars 271450112 bytes . Neither it showed any alert message that it is unable to open such a big file....
11
votes
6answers
11k 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 Find/...
11
votes
1answer
1k 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. ...
8
votes
3answers
18k 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 ...
8
votes
2answers
14k 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?
8
votes
1answer
7k 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 U....
5
votes
1answer
5k views

How can I add color highlighting for PHP functions?

I've recently begun using Notepad++, and have found a part of its styling functionality that confuses me. I'm currently attempting to color all of PHP's defined functions (such as count(), strlen(), ...
4
votes
1answer
1k views

Plugin for Notepad++ 5.8.6 to list bookmarks of current file

Is there a plug-in for Notepad++ 5.8.6 (the last version before the huge ugly Find dialog!) to list all bookmarks set for current tab in a dockable window? The user should be able to jump to any ...
1
vote
6answers
11k views

Add text to the beginning of every other line in Notepad++

What I want to do is: Add <title> to the beginning of lines 1, 3, 5, etc...(hundreds of lines in a notepad++ file) Add </title> to the end of lines 1, 3, 5, etc... Then: Add <link&...
12
votes
3answers
5k views

How do I associate all unknown file types with notepad++?

I work alot with billing and files the bank etc. send me files that have date extensions or some counter as an extension: eg file1.20110315 or file2.123 So the extension changes every time I receive ...
7
votes
3answers
5k views

Where are the paths to the files open in Notepad++ (last open tabs) stored?

i.e. todo.txt, medical.txt, etc. I looked at XML files in C:\Program Files\Notepad++, but to no avail.
7
votes
2answers
2k views

How to stop warning in Notepad ++ if file has been modified from outside

How to stop warning in Notepad ++ if file is modified from outside?
6
votes
2answers
6k views

How to 'code collapse' wiki syntax on Notepad++ (or any other text editor)?

I'm familiar with Notepad++'s code collapse for certain programming languages but recently I've been working with a plain text file that uses with Wiki syntax. For example: ==Heading1== Content ===...
4
votes
3answers
7k views

How can I change the standard “save as” filetype of Notepad++?

In which weird file format, unreadable to other applications, does Notepad++ save its files and how I can change it? I searched through all the settings/options, but didn't find anything. How can I ...
3
votes
3answers
7k views

Notepad++. How to replace different characters with corresponding letters at once?

How to find and replace in Notepad++ multiple different characters to corresponding letters at once throughout the text? For example, I have 32 characters that I want to replace. So I have the ...
2
votes
2answers
1k views

Choose whether to save when quit

I am using notepad++ V6.4.2. When I close a file, it seems to save defaultly without asking me. How can I configure to get the save/not_save option back?
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 ...
1
vote
1answer
3k views

Notepad++ Run current line in Command Prompt

There is a similar command that I use to open the currently selected word on command prompt: cmd /D "%windir%/system32" /K ""$(CURRENT_WORD)"" Is there any command for opening the current line ...
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&...
0
votes
2answers
1k views

Create a shortcut for Notepad++ to reopen a closed tab?

To reopen a closed tab in Notepad++ you press ALT+F&1. I was wondering if there was a way to make a macro or program to do this so that I can press link it to the shortcut CTRL+SHIFT+T instead, ...
0
votes
2answers
396 views

Editor of txt files for Windows with syntax highlight and foldable/collapsible sections for Markdown [closed]

I asked the same for Notepad++, but in fact I don't mind changing of software. I am interested in managing txt files that contain Markdown. I would like to find an editor of txt files for Windows ...
23
votes
2answers
18k views

Open http:// links from Notepad++ to default web browser

can I open http links from an notepad++ document directly to my default web browser ? Like textpad : CTRL + Click ?
8
votes
1answer
941 views

Notepad++ highlight to copy feature?

Does anyone know if Notepad++ has a unix like copy feature where it automatically copies anything highlighted to your clipboard?
6
votes
2answers
13k views

how to use codefolding feature of notepad++ for normal text documents

When i open an reg file in notepad++ file in notepad++ , I see the amazing functionality to minimize and maximize the subkeys of a base key by clicking on that little arrow on the left .can I get this ...
5
votes
2answers
11k views

How can I find words of a specific character length in notepad++?

I am looking to find words of 14 or more characters in Notepad++. Any ideas?
5
votes
1answer
3k views

Setting Notepad++ find results style

I am using a dark scheme with a custom language / syntax highlighting. This results in a "find result" window which is very hard to read. Where does Notepad++ find results style get set, so I can ...
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 ...