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

34
votes
1answer
7k 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 ...
14
votes
5answers
21k 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 ...
13
votes
5answers
12k 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
4k 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 ...
3
votes
1answer
671 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 ...
24
votes
4answers
18k 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 ...
23
votes
6answers
34k 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 ...
12
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
3k 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 ...
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 ...
6
votes
1answer
4k 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 ...
5
votes
2answers
935 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
11k 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
6answers
6k 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 ...
18
votes
3answers
29k 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
18k 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 ...
11
votes
2answers
12k 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 ...
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 ...
6
votes
2answers
5k 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
4k 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?
5
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 ...
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
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
812 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
0answers
730 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 ...
2
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.
1
vote
1answer
66 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
2answers
386 views

Automatically use specific language in Notepad++ for files with no extension

Specifically, I want NPP to remember to use Ruby syntax highlighting whenever I open a Vagrantfile. These don't have an extension, and I tried adding "Vagrantfile" to the user extensions in the style ...
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
960 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
2answers
330 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 ...
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
910 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
1answer
407 views

Why is notepad++ writing to my new document?

I updated notepad++ and it started writing to the screen. I quickly closed it not knowing what it was, but now I'm curious do I have a 'hacked' copy of notepad++?
4
votes
3answers
7k views

Notepad++ - Highlight text and insert html <tag></tag> around it

Is there a way to have this feature in Notepad++: select some text insert an html <tag>``</tag> around it (ie. <strong>, <em> etc)
4
votes
2answers
2k views

Why notepad++ plugins don't work in macro?

Why don't Notepad++ plugins work in a macro? For example: Manual run plugin - Converter -> "ASCII -> HEX" AAAA 4141414120 BBBB 42424242 CCCC 43434343 Runned as recorded macro AAAA ...
4
votes
3answers
1k 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.
3
votes
4answers
5k views

Copy + Paste Chinese From Website

I am re-branding a website that has both English & Chinese Traditional text. When I am copying + pasting the Chinese text into notepad++, the characters gets displayed as question marks. I tried ...
3
votes
1answer
805 views

Regex in Notepad++ 6

So, Notepad++ got updated to v6.0. One of their new features is PCRE (Perl Compatible Regular Expressions). I tried to use this new feature to find and replace things in a file. I tried the regular ...
3
votes
2answers
2k views

How to select thousands of lines

I have a text file with 200.000 lines - how to select multiple lines, before I delete them ? Manual work is too dificult for, say, 65.000 lines.
2
votes
3answers
753 views

How to prevent Notepad++ from auto starting at Windows startup

I have problems with Notepad++ starting with Windows startup. The Notepad++ window does not show up. Only the process is loaded. I can't open any file with Notepad++ from context menu until the ...