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

32
votes
3answers
27k 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 ...
14
votes
4answers
20k 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 ...
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 ...
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 ...
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)?
11
votes
4answers
98k views

Replace Carriage Return and Line Feed in Notepad++

I have a file with a mix of CRLF and LF, and wish to remove the LF. I am new to Notepad++ and just downloaded V6.23. I'm using the search/replace dialogue box in extended mode. It will find and ...
5
votes
1answer
3k views

Notepad++: cursor past end of line / virtual spaces?

TL;DR - How can I enable virtual spaces to move the cursor past the end of a line of text? Long version - In Notepad++, when trying to select (using the mouse) a long line of text that extends past ...
13
votes
3answers
16k 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 ...
8
votes
7answers
7k 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 ...
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 ...
19
votes
3answers
10k views

How to remove shell integration of Notepad++?

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

Why does Notepad++ disable the HexEditor plugin?

Notepad++ is a great editor... The regular expression facility is stunted, but I can live with that. It is OK for most find/replace situations, and for the occasional others I'll just hop across to ...
10
votes
2answers
5k 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 ...
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 ...
32
votes
5answers
22k 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 ...
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 ...
14
votes
5answers
14k 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..." ...
12
votes
4answers
3k views

prevent Notepad++ from resizing when a new document is opened

I run notepad++ snapped to the side of my screen (using the Windows 7 Snap feature), however whenever I open a new document in Notepad++ by double clicking on the document from the desktop (as opposed ...
12
votes
3answers
6k views

Different language syntax highlighting within same file

I'm trying to get simple syntax highlighting working within a file. Here's the setup. I have an index.php file, which Notepad++ correctly highlights any PHP code between the <? and ?> tags. ...
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. ...
7
votes
1answer
5k 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 ...
7
votes
3answers
13k 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 ...
4
votes
1answer
754 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
8k 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 ...
21
votes
1answer
18k 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.
16
votes
6answers
26k 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 ...
15
votes
1answer
65k 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 ...
14
votes
3answers
8k views

Converting text to Title case in Notepad++

Is there a way to convert a block of text to title case in Notepad++? It should turn asdf ASDF aSdF into Asdf Asdf Asdf I see upper case and lower case on the edit menu, but those aren't ...
11
votes
3answers
4k 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 ...
9
votes
3answers
8k 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
2answers
5k 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 ...
5
votes
2answers
1k 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?
3
votes
3answers
4k 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
16k views

Notepad++ General Purpose code formatter.

I enjoy a lot that I can hit CTRL+Shift+F on eclipse and it automatically formats the code according to a profile. My question is how can I do something similar on Notepad++? Where would I go about to ...
0
votes
2answers
349 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 ...
20
votes
3answers
36k views

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

How do I configure a fixed-size font for Notepad++'s console output?
8
votes
2answers
8k 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 ...
8
votes
1answer
11k views

How to remove all the duplicated words on every line using Notepad++?

I'm working on a file containing lines with keywords and some lines contain duplicated keywords. For example: dangerous,dangerous,hazardous,perilous I want to tell Notepad++ that I want to remove ...
5
votes
2answers
7k 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
7k 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?
4
votes
1answer
148 views

How do I set icons and description of file types associated with Notepad++? [duplicate]

I tried using Nirsoft's File Type Manager to change the icons and file descriptions of individual file types associated with Notepad++. However, if I change the icon of one file type, all of the other ...
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 ...
3
votes
1answer
1k views

Stop NppExec from trapping console output until program finishes

I'm using Notepad++'s NppExec plugin to execute Python scripts from within Notepad++. I notice that Python console output produced with the print() statement doesn't appear on the Notepad++ console ...
3
votes
1answer
1k views

How do I change or replace all instances of a character in a text file to a newline/line break/EOL in Notepad2 or Notepad++?

I tried Notepad2's 'Replace Text' function, but I don't know what to put in the 'Replace with' field. The OS I'm using is Windows 7.
3
votes
1answer
2k views

Placing tags around selected text in notepad++

Is there a plugin, macro, or some sort of option for placing tags around selected text after I highlight and begin typing?
3
votes
3answers
1k views

Why is notepad++ blocking my autohotkey shortcuts?

I have a series of keyboard shortcuts defined in my autohotkey script. Currently, none of them work whenever notepad++ has focus. The script is loaded as usual. The keyboard shortcuts (mostly stuff ...
3
votes
1answer
2k 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 ...
3
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 ...
2
votes
1answer
236 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?
2
votes
0answers
788 views

MultiMarkdown in Notepad ++

What methods are available to use Notepad++ as a MultiMarkdown editor/viewer? I have been unable to locate anything in Google, and was wondering what recommendations exist? Just to be clear, by ...