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

12
votes
4answers
18k 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 ...
37
votes
1answer
8k 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 ...
29
votes
1answer
18k 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)?
10
votes
4answers
73k 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 ...
8
votes
7answers
6k 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 ...
15
votes
5answers
22k 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 ...
35
votes
6answers
44k 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 ...
13
votes
5answers
13k 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
2k 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 ...
9
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 ...
8
votes
3answers
13k 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 ...
7
votes
3answers
11k 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 ...
3
votes
1answer
693 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
7k 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 ...
27
votes
6answers
38k 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 ...
26
votes
4answers
19k 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 ...
15
votes
2answers
15k 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 ...
14
votes
1answer
55k 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 ...
13
votes
3answers
6k 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 ...
10
votes
3answers
5k 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. ...
8
votes
3answers
7k 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
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 ...
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
997 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
3k 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
12k 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
337 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 ...
19
votes
3answers
31k views

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

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

How to activate disabled cloud settings save option in notepad++?

I geted a new update from Notepad++ and I find a new option which very likeley for me, this the cloud save option. I can't select any cloud storage, maybe that's becouse I living Hungary? I don't ...
2
votes
1answer
82 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
746 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 ...
2
votes
2answers
8k views

How to remove the last character on every line in Notepad++?

In NotePad++ how do I turn this: GingeredRovinsky7|NTDc4MAODY3Mg| into this: GingeredRovinsky7=NTDc4MAODY3Mg I know I can do a find and replace and replace the first | with = However I need to ...
1
vote
1answer
2k 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
2answers
1k views

Auto start Notepad++ macro

Is there a way to auto start a Notepad++ macro? I have a macro created but I want it to be run automatically when Notepad++ starts.
1
vote
3answers
7k 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: ...
0
votes
1answer
193 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, ...
10
votes
2answers
2k 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 ...
7
votes
1answer
932 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 ...
4
votes
3answers
7k views

How to make regex match across multiple lines in Notepad++?

I have a javascript file with millions of lines. The problem is that IE doesn't support , (comma) followed by } (curly close bracket). In Notepad++ I'm able to find all the commas which are being ...