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

1
vote
1answer
1k 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
1k 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 ...
1
vote
1answer
2k views

How to change PHP file icon set to open with Notepad++

I just installed Notepad++ and opened a php file using open with, I then checked off Always use selected program to open this kind of file in windows. The file has a notepad icon. How can I change ...
1
vote
1answer
583 views

Prevent inadvertent replacement in notepad++

Is there a way to make Notepad++ to ask for confirmation when replacing all instances of a string in a file or files? This is to prevent inadvertent replacement.
1
vote
1answer
163 views

Change the actually displayed EOL symbol in notepad++ to ¬

So, when I show EOL characters I get this ugly bulky symbol, I'd like to change this somehow, prefferably to ¬ And not (LF) or (CR), but something less disturbing and distracting. Any ideas?
1
vote
1answer
198 views

buggy notepad++ plugin manager

I seem to have this problem that when I open notepad++ it shows the updates available and when I select them to update a dialog box appears saying that updates failed. I am running windows 7 with ...
0
votes
1answer
7 views

Strange issue with UDL2.0 (notepad++) regarding numbers at the end of strings

I'm currently at the tail end of writing some custom syntax highlighting for a language that is a mixture of lua and xml (don't ask). As it's lua contained within xml nodes, lua code is required to be ...
0
votes
1answer
16 views

Notepad++ shortcuts don't work with custom keyboard

I use a custom dvorak keyboard layout that I made in the Microsoft Keyboard Layout Creator. It's basically Dvorak, but I have it mapped so that when I press ctrl, all the keys get remapped to their ...
0
votes
1answer
17 views

Notepad++ autoclosing tags that don't need it. How to turn off?

I just started learning HTML and am using Notepad++. I love the feature of autoclosing the tags, saves me a lot of time. I was wondering if there's a way for it to not autoclose the tags that don't ...
0
votes
1answer
11 views

Find dialog, SHIFT+ENTER to search in other direction?

In Notepad++, in contrast to most other editors, I cannot use SHIFT+ENTER in the find dialog to search in the different direction (prominently used, to go back to the previous find position). Is ...
0
votes
1answer
21 views

Notepad++ Compare Plugin has lines of unequal size

I am using Notepad++'s "Compare" plugin - which is incredibly useful for comparing code chunks... however I have just recently noticed that while using this handy tool, the lines do not line up side ...
0
votes
1answer
16 views

Notepad++ Replace hint for text file

i'm having some trouble about replacing option string. I need to replace <option value="91">Afghanistan</option> need to become <option ...
0
votes
1answer
20 views

Trying to install plugin “Preview HTML”, and failing

Notepad++ version 6.8.8. Windows 7. Notepad++ installed as administrator. Can install some other plugins, but not "Preview HTML". During installation, a dialog box pops up with title "Installation ...
0
votes
1answer
36 views

How I can delete a line item that contain first and last name in a file several time on different line item?

62705300019623531 0000009200AR000000027283 HILL , CLAY 62705300019623531 0000009200AR000000046485 HILL , CLAY 62705300019623531 0000009200AR000000027787 HILL, DORIS M ...
0
votes
1answer
22 views

Using wildcard replace in Notepad++

stat x, y, z, x/y/z are numbers. Is there any regex command in notepad++ that allows me to replace all the text in a file that matches the pattern (stat x, y, z,(keep in mind that the numbers that ...
0
votes
1answer
77 views

Copy file as raw binary text

I do need to copy the jce_policy-8.zip from my Mac to a Citrix Desktop on Demand. The customer blocked every fileshare and Download. So I have tried to copy the .zip as raw text. Source I open the ...
0
votes
1answer
33 views

Why is my KML data appearing all in one line in Notepad++?

I have a KML file of Dutch national statistics which is a series of multiple layered KML files that I need to extract. I know exactly what I am looking for and what I need to extract, but why does my ...
0
votes
1answer
19 views

Restore last save on Notepad++

I opened Notepad++ and add some notes on already opened hosts file and saved it. Then I noticed my Windows hosts file is missing a line. Is there any way to undo to before the last save (ctrl + z ...
0
votes
1answer
41 views

Notepad++ replacing xf6 to the original character

I open up my XML file (encoded as UTF-8 format) and it shows certain characters (öäü) as a black box including hexa number (xf6). Is there any way to convert the characters to original and keep the ...
0
votes
1answer
67 views

Notepad++: Automatic “comment line (*)” on newline

is there a way to make notepad++ behave like eclipse with multi-line comments? It would be great if notepad automatically inserts " * " every time I make a new line in a /* */ comment-section. To be ...
0
votes
1answer
55 views

Notepad++ User Defined Language line color based on ending delimiter

I have my language working good except on last rule: In the following code: Init: ErrorMessage, ProgressMessage = "" StatusMessage = "No experiment has been performed" pi = 3.141592653589793 ...
0
votes
1answer
108 views

How to Replace text inside tag in Notepad ++ from 2 file Xml?

Example: File 1: <CannonExp.xml> <String> <ID> 1 </ID> <ASCII> Memiliki beberapa Giant crossbow yang dapat menyerang jarak jauh. Kelemahan fortress ini ...
0
votes
1answer
193 views

Notepad++: Strange character with non english language

In win 7 I don't have any problem with notepad++ when using Persian language but after upgrading to windows 10, I can't type characters correctly (see bellow picture). Already entered characters are ...
0
votes
1answer
23 views

My version of Notepad++ does not create backups

What I am trying to do is recover a file that was accidentally "not saved" or "not saved properly". Anyway, I was working with a document and up popped a window asking me to do something with the ...
0
votes
1answer
163 views

Simple text gets underlined and clickable in Notepad++

I am using Notepad++ v6.7.9.2. I have created a file and then reopened that file to add some extra text. Now when I add more text into the file, the newly added text gets underlined and also becomes ...
0
votes
1answer
2k views

Why am I unable to install the NppExec plugin for Notepad++?

I was trying to install the NppExec plugin for Notepad++ so that I can compile Java in it and run it. After the installation failed to work, I did some more research on compiling and decided to move ...
0
votes
1answer
179 views

Find and replace blocks of formatted code in multiple HTML files on a Linux server

Many of my sites consists of hundreds of HTML files, and I often have to make changes via "Find and replace" in all files simultaneously. I use a combination of FTP, cPanel's file manager, Notepad++ ...
0
votes
1answer
27 views

how to delete the line after a special number?

How I can delete the numbers and characters more than a special number by regex in notepad++? This is a part of text: 1230 مهندسی برق-تبریز 126 مهندسی کامپیوتر-شریف 234 مهندسی کامپیوتر-تهران 786 ...
0
votes
1answer
185 views

Notepad++ variable name syntax highlight

How to add syntax highlight color to local function scope variable, and also block scope variable when using the let keyword, so I can clearly see local from global variables. JavaScript language ...
0
votes
1answer
136 views

Delete all code inside a tag in multiple HTML files with Notepad++

I need to delete all code contained within <li class="share"> ... </li> including the <li> tags themselves. There are multiple other <li> tags inside the li class="share" ...
0
votes
1answer
54 views

Variable as argument to Wine

The variable $INPUT_FILES in Case 1 has the same content (string) that is used in Case 2. Why in Case 1 I have problems with spaces in the name "2015 01 09.1.txt", but in Case 2 not? How can I fix ...
0
votes
1answer
133 views

Line Manipulation Reformat text Notepad++ or PSPaD

I have about 40,000 lines I need to look like first line - no paragraph marks. The trouble is, I can't use join lines then use (\d\D+)& $1\n to get like line 1 because of numbers inside of ...
0
votes
1answer
347 views

Notepad++ illegal XML character target search using Regex

Fellow Forum Members, I am using the latest version of NotePad++ and I have done a search for illegal XML symbols such as "&", ">", "<", "©" among 200 separate XML files. I found a couple of ...
0
votes
1answer
298 views

How to set Notepad++ GUI text to a bigger font?

I can't seem to find anything about this topic anywhere on the net, so I am asking here. Is there any way to increase visual font styles of the interface's text of Npp? I am not talking about the ...
0
votes
1answer
62 views

How to limit keyword highlighting when they appear in variable names

I imported a custom language for PL/SQL into Notepad++, and I'm trying to fine-tune the syntax highlighting. I've enabled code folding for multi-line comments, and changed the background colour on ...
0
votes
1answer
356 views

Notepad++: How to fold tab text hierarchy and use it as an outline

I love notepad++ but cant find the feature described: Using a text outline defined by (TAB) as an outline (IE: Being able to fold/collapse based upon that hierarchy) I found another software that does ...
0
votes
1answer
204 views

how to make Tabs from notepad++ behave like in windows' 7 notepad

I'm using notepad++ on daily basis, but sometimes, just for fast notes, I use also the notepad provided in Windows 7. When I want to organize the data (making a sort of table) and I'm using Tabs (in ...
0
votes
1answer
55 views

How to select lines containing (only/at least) 3 commas?

I have a text document which contains some lines with 2 commas and some lines with 3 commas. I want to select all lines with 3 commas. How can I do that? Here is an example document : ...
0
votes
1answer
58 views

Concatenating varying number of lines notepad++

I have a file where i need to take varying number of lines and concatenate into one. It could be two, three, or four lines that require concatenation. There is a common set of characters (say 'xxx') ...
0
votes
1answer
35 views

Delete shortcut mapping in Notepad++

I'm just trying to delete some of the keybindings in Notepad++ In the shortcut mapper, Settings -> Shortcut mapper .. I don't think I'll use many of these like SCI_WORDPARTLEFT, ...
0
votes
1answer
57 views

replace different variables into a single variable

I have XML files with entries like this: <path>D:/Shared/export/Outdoor Stage2/Outdoor Stage2_6_Images\Image_0.jpg</path> <path>D:/Shared/export/Outdoor Stage2/Outdoor ...
0
votes
1answer
156 views

In notepad++, is it possible to freeze the active line

Is it possible to freeze the active line in the text window, regardless of which line of code is actually displayed? I want to be able to view code above and below my active line and stay ...
0
votes
1answer
242 views

Notepad++ Check line number in search and replace

I am looking at translating guitar tabs into a string of digits! so when I do a search and replace, its wrong... for example Line 1 a 5 is a "A" line 2 a 5 would mean "D" My question is, How can I ...
0
votes
1answer
225 views

Adding Markdown Sytnax recognition to NotePad++ via UserDefineLang.xml

I want to add MArkdown as a language to NotePad++. I've downloaded the UserDefineLang.xml file from this GitHub Project. As I understand it, I am supposed to simply copy the UserDefineLang.xml file ...
0
votes
1answer
37 views

Sublime Text Show Filanames when using Ctrl+Tab to Browse Opened files

Is there a way to show the list of files when I browse the open files using ctrl+tab keyboard shortcuts. It can be useful in selecting an appropriate file easily and visually. Not a deal-breaker but ...
0
votes
1answer
52 views

Syntax Highlighting for Column-based Language

I am working with files that have a specific character layout, i.e. bytes 1-10 bytes11-20 FirstName LastName FirstName LastName Is there anyway to specify a language that highlights or ...
0
votes
1answer
274 views

Can you reload a file from the server in Notepad++?

In Notepad++ I am using the NppFTP extension and would like to be able to reload the file from the server. There is an option to reload from disc, but that does not get any changes that someone else ...
0
votes
1answer
98 views

How to edit TextFX plugin of Notepad++ to have my own timeformat?

I tried Python Scripting but its not working for me. It throwing unexception. But Text fx is working great to add time. So anyone please help me to edit TextFX plugin.
0
votes
1answer
944 views

Open multiple files in notepad++ from a directory and subdirectory. I have file names in .txt file comma separated

I want to open multiple files in notepad++ or any other editor(where I can replace string in all files) from a directory and subdirectory I have file names in .txt file comma separated.
0
votes
1answer
358 views

How to view Unicode characters Paragraph Separator and Line Separator in Notepad++?

How can I see Unicode characters Paragraph Separator and Line Separator in Notepad++? If I select View - Show Symbol - Show All Characters, I still can't see these two characters. For example in ...