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

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 ...
5
votes
1answer
1k views

Is there a way to save the code folding in Notepad++?

When editing a large file, I like to collapse code fragments using the + symbols in Notepad++'s sidebar. However, the code is completely unfolded when I close and reopen a file. Is there a way to ...
5
votes
1answer
864 views

Can user-defined autocomplete keyword description in notepad++ span multiple lines?

I am creating an API auto-complete XML file for my user-defined language. Can the description text assigned to the keyword be displayed as multiple lines inside the auto-complete pop-up window? i.e. ...
4
votes
1answer
247 views

Make floating window tab widths wider in Notepad++

How can I make the floating window tabs wider/static width in Notepad++ (version 5.9.6.2)?
3
votes
1answer
298 views

Notepad++: Save code folding status or open collapsed

I have found similar questions as http://stackoverflow.com/questions/9157518/how-to-save-collapse-status-in-notepad and Is there a way to save the code folding in Notepad++?. And ...
3
votes
1answer
136 views

Highlighting subroutines in Notepad++

I would like to highlight the contents of IF statements in a slightly different colour from the background, so that I can see them more easily. Is it possible in Notepad++? it would be amazing to ...
3
votes
1answer
1k views

Adding 1 Incrementally in Search & Replace in Notepad++

I have a file that I want to extract data out of. I normally use web scraping to get the info I need, except in this case the information isnt readily "visible" for scraping needs. Reason being -- ...
3
votes
1answer
579 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 ...
3
votes
1answer
132 views

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

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 ...
3
votes
1answer
687 views

How to set the default language in Notepad++ for Rails View files

Similar question to this but my question goes a step further. I'm developing in rails and would like Notepad++ to automatically use html formatting on files with the extension html.erb. For example ...
2
votes
1answer
79 views

Notepad++ Webkit plugin - Multiple Html

Is it possible to have multiple html on one command? ex: FROM: content1 content2 content3 content4 highlight the list then click a "custom key" then the result should be <ul> ...
2
votes
1answer
462 views

HighLight matching tags in php

Have php with echoing html tags. notepad++ 6.4.5 is highlighting ok the tags inside php and outisde php. notepad++ 6.5 is highlighting ok the tags only outisde php and NO HIGHLIGHT inside php code. ...
2
votes
1answer
253 views

Change the new file name in Notepad++

Is there a way to change the default new file name from "new #" to something else, or at least remove the space and/or replace it with an underline.
2
votes
1answer
246 views

Do not show entries starting with . in Notepad++ FTP plugin (NppFTP)

I am using Notepad++ FTP plugin (NppFtp) to remotely edit the files. However, it displays hidden files and directories too (those starting with .). I have tried to change this behavior by going to ...
2
votes
1answer
353 views

Notepad++ hotkey to `mark all` search text

What is the shortcut to mark all the text in search box?
2
votes
1answer
468 views

Can I turn off safety prompts on file close?

In Notepad++, I generally run with a bunch of text files that I am using temporarily. It's annoying that I have to click the confirm prompt when closing a file without saving. Is it possible to turn ...
2
votes
1answer
202 views

How to set related parentheses with same color but different with other parentheses in notepad++?

I want to use notepad++. example: (A(B)) explain detailed: ( -> first parenthesis start, example with red(random select) A ( -> second parenthesis start, example with blue(random ...
2
votes
1answer
335 views

Using Notepad++ to search/replace PHP code with regular expressions

I would like to update some PHP code into the Joomla framework, replacing things like: $myvar=$_POST["myvar"]; with $myvar=JRequest::getVar('myvar'); This seems like it should be easy enough ...
2
votes
1answer
940 views

Edit default text for a file extension in Notepad++

Is it possible to make Notepad++ use a default set of text when I change the language to say php or perl? Basically I am lazy and say for perl I don't have to have to write out #/usr/bin/perl ...
1
vote
1answer
22 views

Remove CR LF for all lines that are not followed by a specific number

I have 14000+ lines of a database, that I want to edit with Notepad++. All these lines should start with 1000 and I therefore want to delete CR LF at the end of those lines that are not followed by ...
1
vote
1answer
74 views

How do I use wildcards in Notepad++ to 'find and replace' all of this text?

I would really appreciate some help with this. I am working with a large corpus of text that has been marked-up with XML script and I need to tidy some things up. More specifically, there are several ...
1
vote
1answer
40 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
1answer
25 views

Notepad++ doesn't save shortcut changes

Notepad++ ver 6.6.3. Settings - Shortut Mapper - Save All - change to F5 This works inside the current session, but next time - the default shortcut values are loaded. How can I save the changes, ...
1
vote
1answer
29 views

Highlighting search results in Notepad++

I have just downloaded Notepad++ as I use it to work with large data. I usually search for lines missing data so I do CTRL+F and search for ,, as that means my data is missing. After it gives me the ...
1
vote
1answer
40 views

Remove duplicate strings Notepad++

I have two tabs opened in Notepad++. One contains 450 strings and the other has 180. How do I remove the 180 which also occur in the list of 450?? I'm aware of find and replace - but how to do this ...
1
vote
1answer
46 views

how to remove duplicated entries on a line in notepad++

For example I have this: SH890FDP.number1 SH890FDP.number2 SH890FDP.number3 SH890FDP.number4 But i only want to keep one line containing the first part which is the same on each line: ...
1
vote
1answer
107 views

How to find and replace in the bookmarked lines in notepad++

I have a problem about how to find and replace in the bookmarked lines in Notepad++. For example my line is <content:encode><em>.... So I bookmark the lines that have ...
1
vote
1answer
132 views

Notepad++ Undo History wanted

I cannot seem to find a history in Notepad++ showing you all the actions you did. Sometimes you might not be sure anymore what the next Undo action would do. Does this feature really not exist or I ...
1
vote
1answer
110 views

How do I delete highlighted syntax in Notepad++?

I have just started learning HTML in Notepad++ and I am playing around with the tags a lot. When my cursor is inside of an open or closed tag both are highlighted automatically in purple. I was ...
1
vote
1answer
492 views

Notepad++ highlight transparency

I use dark themes and when I select a word, Notepad++ highlights all the occurences of that word in the current document. But the highlight color for matches other than the current word is somehow ...
1
vote
1answer
108 views

Notepad++ Undo undoes whole replace history

In Notepad++ (v6.5), having done a series of Find-and-Replace-All's, hitting CTRL-Z seems to undo the whole series. Hitting CTRL-Y redoes the whole series. Can you undo only the last Replace-All ...
1
vote
1answer
65 views

Is it possible to associate a notepad++ plugin with a file extension?

I have installed notepad++ with the jsonviewer extension. Now it is possible to view and browse json in a friendlier format but I would like to do that without shortcut keys or browsing the menu. So ...
1
vote
1answer
83 views

How to get user defined language in Notepad++ to follow master formatting?

I have successfully created a user defined language file in Notepad++ and this file has formatting, highlighting, etc. What I am hoping to do however is tie these into the main theme is. But it looks ...
1
vote
1answer
280 views

Multi-editing and column-mode are buggy in Notepad++?

It will probably be better if I tell you how to see for yourself what I mean rather than try describe it verbally. Take an example like this: this is an example line bluh this is a different example ...
1
vote
1answer
284 views

Excel: Highlight all instances of a phrase like in notepad++

If I select a phrase in notepad++ it will highlight all other instances of that phrase. Is there a way to do this in Excel as well?
1
vote
1answer
745 views

Adding regions in Notepad for PHP

I have seen how to use a user defined language, but I would like to know if it is possible to add a #region for code folding into Notepad's ++ PHP. I tried using #region x and #end region - it works, ...
1
vote
1answer
771 views

Delete specific number of characters after a specific string is found

I have several lines of code and I'm looking for a way to search for a specific string e.g. 'id0=' and delete it and all 10 characters after it, per line. I would prefer a way/macro/addon for ...
0
votes
0answers
43 views

Notepad++ close tabs after period of inactivity

I open a lot of files in Notepad++ and I really like the function of "Remember the current session for next launch", but I wonder if is it possible to make Notepad++ close open tabs based on how long ...
0
votes
0answers
63 views

Notepad++ tabbing out of tags, autocomplete

I'm trying to learn a little HTML. Everyone says to use Notepad++ over notepad. I have autocomplete on. My question: When I type my opening tag and Notepad++ then puts"""" closing tag, how do I ...
0
votes
0answers
54 views

How can i keep and remove some charecters from specific line notepad++

i have about 1000 of 80000 rows that looks like these lines and with different disposition ...
0
votes
0answers
81 views

Record pretty print in macro

How can I record the Pretty Print (XML only - with line breaks) Ctrl+Alt+Shift+B functionality from the XML Tools plugin as part of a macro? Currently I have CDATA-ed xml that comes over the wire ...
0
votes
0answers
46 views

Is there a Notepad++ addon to add an option to change / set character encoding on the save dialogue?

It really confuses me how Notepad, the crappy Windows application, has this feature and yet Notepad++, the amazingly useful third party alternative, doesn't. Also, because I know people are going to ...
0
votes
0answers
730 views

Notepad++ keyboard shortcut assignment always not working

I like to set a lot of keyboard shortcut (you can call me a shortcut freak) thus I have been assigning quite a lot of shortcuts in the shortcut mapper. After assigning I found out that some shortcuts ...
0
votes
0answers
47 views

Notepad++ find in files found nothing

Notepad++ find in files used to work for me a while a go. And I just tried to use it again last week, it found nothing even I know the being searched string is in the directory. I have tried different ...
0
votes
0answers
161 views

Notepad++ 6.4.5 disable plugins update tab

How to disable Updates tab from Plugins i.e. Launch the Notepad++ shortcut Go to "Plugins"->"Plugin Manager" -> "Show Plugin Manager" Under that there's an Updates tab. Is there a way to disable ...
0
votes
0answers
63 views

Delay in saving files over Windows VPN

I'm connecting to a Windows network VPN from my home PC. Home PC is Windows 7, and work server is Windows Server 2008 R2. There's a noticeable and annoying delay (5 seconds approx) when saving small ...
0
votes
0answers
53 views

Continuously scramble a word in Notepad++

I would like to scramble two names for 1000 repetitions on lines one to a 1000 For example 'Milesdavis Milesdavis' would be the first name with every line afterwords or below to be scrambled; ...
0
votes
0answers
161 views

How to divide .for file on parts with conditions

If we have for example very big matrix .for file 50MB shown down. I have to divide it on 50 separated .for files not bigger then 1Mb. How to make them automatically, not copy/paste manual? As we have ...
0
votes
0answers
326 views

Implementing find and replace using NPPExec in Notepad++

How do we perform find and replace using NPPExec plugin in Notepad++? Any help (command/resource) in this regard will be greatly appreciated.
-1
votes
0answers
18 views

Unknown Exception when entering particular keystrokes in Notepad++

I was programming the whole day. Suddenly when I type -> an unknown exception appears and I can't figure out why. I searched in the Internet, no results What happened? I saw some questions in here ...