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

5
votes
1answer
579 views

Same keyboard shortcuts for Notepad++ as in Eclipse

As a regular Eclipse user I found it very useful to adapt keyboard shortcuts to match the Eclipse ones (Such as this one: How do I make Notepad++ delete lines like Eclipse does?) However, as manually ...
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
992 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. ...
3
votes
1answer
167 views

Enabling MRU tabbing in Notepad++ but without the “document switcher” popup?

I like the MRU (Most Recently Used) tabbing order of Notepad++, but really dislike the "document switcher" that pops up when you use CTRL-TAB. When I disable the document switcher option in Settings ...
3
votes
1answer
294 views

file changes — notification and diff

I'm looking for a way to be notified if a text file changes (Windows 7), and be offered a file diff upon such a change. For example, the text editor Notepad++ does part of this, notifying me of an ...
3
votes
1answer
155 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
692 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
779 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
27 views

Repeat last action in Notepad++

In Microsoft Word I can repeat the last action by pressing F4. Is there a way to repeat the last action in Notepad++? Specifically what I'm looking to do is that I select some text in a document ...
2
votes
1answer
39 views

Why isn't my FTP server saving files properly?

I'm using Notepad++ with it's FTP functionality to edit files on my local machine. I also have FileZilla server running on my local machine which I am connecting to. I know this is a strange way of ...
2
votes
1answer
171 views

Notepad++ Compare plugin doesn't highlight line changes anymore

I have 2 PCs at work, one with older version of Notepad++ (6.1.7) and one with newer version (6.5.3) and I use it frequently to quickly compare pieces of code or any other strings (I use WinMerge or ...
2
votes
1answer
122 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
466 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
382 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
663 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
243 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
368 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
1k 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 ...
0
votes
0answers
17 views

Number Specified Lines Sequentially

Hey I'm into coding Arma 2 servers and adding stuff from other custom maps to another map in the editor messes with the numbers for that item. Basically I wan't to be able to click a button and the ...
0
votes
0answers
64 views

Notepad++ vlookup to Excel

I have an XML file that has some specific incorrect text within it. The incorrect text is associated to a specific code that identifies it,. Eg: CODE="RM014" PART="ROOM MONITOR". The issue is that ...
0
votes
0answers
21 views

Generate lines with numerical order in Notepad++

I bet somebody else has created a question like this before, but I'm having trouble to find the correct tags so I can have accurate results. I want my Notepad++ to create lines in duplicates but with ...
0
votes
0answers
7 views

Notepad++ Ctrl+Y shortcut active in other applications, even after reassigning new combination

Whenever I've got my Notepad++ running in the background, the CTRL + Y combination doesn't work in other applications (e.g. Illustrator or IrfanView). By default it is assigned to a redo function of ...
0
votes
0answers
55 views

Save NppFTP information in NPP Portable?

I am using NPP Portable for a while to have always my NppFTP information with me. But last time, all gets broken. So my question ist: how to backup all FTP connections in NPP Portable? I've ...
0
votes
0answers
21 views

Notepad++ not saving user ext for HTML

Notepad++ 6.6.8 right here. I am trying to save the .erb extension as a user extension to Style Configurator > HTML > User ext > "erb" But everytime I relaunch Notepad++ that setting is ...
0
votes
0answers
81 views

Notepad++ macro for “find all in current document”

I want to have macro which will search all %%% in my current document. But the saved macro seems to do nothing but move the focus from document. Any ideas? The recorded macro, found in ...
0
votes
0answers
12 views

Upping all seconds of X value

I have a subtitles file. What regex should I use in Notepad++ to up every line of 2 seconds? 00:01:15,444 --> 00:01:17,613 should become 00:01:17,444 --> 00:01:19,613
0
votes
0answers
20 views

Notepad++ ; How to remove lines with similar data

so like the title says, I want to remove lines with similar datas as some other lines. I'm kind of working on a game project, and removing repetitive lines would help a lot. For example, there is a ...
0
votes
0answers
98 views

Notepad++: Change Keyboard shortcuts for Scintilla commands not working

Notepad++ 6.6.9 Windows 7 I've read this post but it didn't help for my problem. I tried to change the keyboard mapping to delete a line with Ctrl+D (like in Eclipse). I modified the Scintilla ...
0
votes
0answers
148 views

Notepad++ doesn't apply my custom word style

I want to add keywords for system methods/commands like console, document, Math , ... Notepad recognizes the keywords, but doesn't format it with the colors... stylers.xml <LexerType ...
0
votes
0answers
30 views

Windows : Clearing contents of a locked file using notepad++ and getting new contents

Trying to clear the contents of a locked file using notepad++. Contents got cleared and the new contents not get updated instantly. I can view those contents only after restart. I once got this ...
0
votes
0answers
42 views

Keep tclsh open after running script through notepad++

I'm currently writing a tcl script using Notepad++. I've edited the F5 key such C:\TCL\bin\tclsh.exe "$(FULL_CURRENT_PATH)" This will open a tcl shell & run the current script I am writing. I ...
0
votes
0answers
26 views

Notepad++ replacing all numbers after a certain string

After opening a config file for a game, I notice there is strength 5 strength and the '5' can be any random number. How do I replace every number after the word "strength" to a 1?
0
votes
0answers
81 views

Trying to use NPPExec to save an executable to run a batch file

Following a guide, and on this step: Press Save... in the NppExec window and give this action a name like pdflatex_build. You can now run this script by pressing F6, selecting it from the menu, and ...
0
votes
0answers
50 views

Notepad++ - Function feature background color

After typing a function name and open brace, Notepad++ will show the function feature dialog. This feature's useful but I don't like the background color, can you suggest any way to change it?
0
votes
0answers
289 views

Viewing Column Numbers

How can I view the column numbers in Notepad++ the same way that I can view line numbers? For additional context, I am working with a fixed width file format.
0
votes
0answers
831 views

Notepad+: Adding a Python Function parser / Function List

Are there any improvements that could be made to this? From ArtFunkel on SourceForge: http://sourceforge.net/p/notepad-plus/discussion/482781/thread/515001cd/#31ae <parser id="py_function" ...
0
votes
0answers
42 views

Notepad++ Bookmark lines along document map?

While working in Notepad++ I have the document map open. With long files i'd love to be able to place a bookmark along the scrollbar or near the document map so I can quickly jump to sections of code. ...
0
votes
0answers
107 views

Corrupted text file recovery (Win7 x64)

I'm having some difficulties in recovering the contents of a .txt file. While writing to a text file, on a Win7 x64 virtual machine, the host machine crashed. After rebooting, I noticed that the ...
0
votes
0answers
77 views

Can I apply a regex to file filter on Notepad++?

I have a folder full of xml files, and I want to search through them for a particular ID. However, I only want to search the files that are of the format hello_apple_01.xml, hello_apple_02.xml... ...
0
votes
0answers
38 views

How to use silver searcher in notepad++

On windows, silver searcher is my favorite to search code. and silver searcher is more accurate than the notepad++ internal searcher. Do you know how to use silver searcher within notepad++? and make ...
0
votes
0answers
44 views

Multiple files opened as a single tab?

I'm trying to have a single tab open with more than one file, such that when I run bulk replaces, searches, or other macros, and such that when I want to browse through my application, I won't have ...
0
votes
0answers
171 views

Notepad++ Split long, long line at specified string PATTERN

5500:27:28,610 --> 00:27:33,620<「機動戦士ガンダム」きどうせんし次回「ガンダム破壊命令」>はかいめいれいじかい25600:27:33,620 --> 00:27:36,620<君はきみ生き That's the basic format of my file. time --> time dialogue time ...
0
votes
0answers
179 views

How can I count the total number of times a specific string was found in a text file, and store it in a variable?

I'm using Notepad++ with KiXtart script to automate automate a process. I would like know how I can count the total number of times a specific string was found in a text file and store it in a ...
0
votes
0answers
60 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
1k 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
59 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
84 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
180 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
359 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
20 views

notepad++ code folding in python only on functions and classes

I use Notepad++ for editing python scripts. I have a problem, when I collapse all code blocks, it also collapses ifs and loops as well, basically all blocks with deeper indendation. Is there a setting ...