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
669 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 ...
3
votes
2answers
412 views

Getting the matlab r2009b multiline comment syntax highlighting in Notepad++

I have Notepad++ version 6.1.8 How can I configure it to highlight the matlab multiline comment %{ ... %} as a comment block? ---EDIT--- I read here that this feature was added to Notepad++ in ...
3
votes
2answers
405 views

In Notepad++, when i close a file and reopen it, 4 space tabs turn into 2 spaces. How can i fix this?

This happens all the time. It screws up my formatting... If i make a tab 2 times (8 spaces) it will turn to one tab (4 spaces) and 1 tab turns to 2 spaces etc. Does anyone know how to fix this?
-4
votes
1answer
87 views

Is there any way to replace “|” (L) character to “I” (i) with notepad++?

How to replace any l (upper/lowercase "L") to I (upper/lower case "i") from any word found lowercase or uppercase? EX: MAN SNORlNG should be MAN SNORING or lt's there... should be It's ...
3
votes
1answer
172 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
469 views

How do I separate words in notepad++, Excel or similar?

Here is the data what I have got. Abdul Rashid a025684t@usa.nit 245 ST.CLOUD VILLAGi CT. # 101 MILPTTAS CA 73634 9600280136 and the output should be like Abdul Rashid ...
2
votes
2answers
789 views

How can I run an unsaved file?

Is there a way in notepad++ to use the "Run > Launch in ..." functions on unsaved files? If you do this, it just tries to open "{notepad++-Dir}\new 1", which doesn't exist of course. I sometimes just ...
8
votes
1answer
14k views

How Can I Find Nth Character in Notepad++?

From the following text, I'd like to find a n th character. For example, the 10th character is "u"`. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque ac arcu sit amet lorem ...
6
votes
4answers
7k views

How can I select everything between tags in Notepad++?

I am doing some langauge translations of an old HTML website so I am just pasting the new translations from a Word document into the old files. So I have to select everything between the tags (h2, ...
1
vote
0answers
617 views

download ftp folder using NppFtp in Notepad++

I need to download site from ftp. I have Notepad++, so I think I can use NppFtp plugin. I connected to ftp, but I don't see how I can download or copy all site or just any folder. Only when I select ...
2
votes
1answer
777 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 ...
1
vote
1answer
3k views

Find Files That Contain Both Words in Notepad++

In Notepad++ (v5.9), I want to search for files which contain two words. For example, I would like to find all text files in a directory that have both Alpha and Bravo in the file. They may not be ...
1
vote
2answers
2k views

Notepad Merge 2 lines into 1 line

Sorry for my rough English, I try to visualize my question. I have two lists of words, one per line, each list in a separate file: File 1: white fehér green zöld red piros File 2: ...
9
votes
2answers
17k views

How can I use the Lucida Grande font in Windows?

I'm a Windows user but I want to use the Lucida Grande font in Notepad++ and Eclipse IDE. I didn't find that font listed for Notepad++ when I tried to change the font in the style configurator. ...
3
votes
2answers
2k views

Vim style cursor movement for Notepad++

I was just wondering if there was a way to get "vim" style cursor movement (i.e. 'hkjl' movement). After spending much time with vim, I have gotten used to not having to lift my hands off the keyboard ...
10
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 ...
4
votes
2answers
5k views

Replacing all special/accented characters with equivalent regular characters in Notepad++

I'm trying to figure out a way to automatically search and replace all special/accented letters/characters (such as Â/Ô) with the equivalent regular letters/characters (A/O) in Notepad++. Tried using ...
3
votes
2answers
927 views

Can Notepad++ show pagebreaks (Win 7)

How, if even possible, can you set Notepad++ to view page-breaks? This can be done in Microsoft Word in the page-break view.
1
vote
2answers
3k views

How can I configure notepad++ to indent spaces consistently?

Let's say I have this bit of code in Visual Studio 2010: If I open this in Notepad++ it looks like this: See that argument2 it out of alignment. It is not super clear but in Notepad++ you can ...
5
votes
3answers
9k 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 ...
1
vote
2answers
662 views

Regex to filter lines that don't contain coordinates in Notepad++

I have a text file: ===================================================================================================== --NUO--- --IKI- ATSTUMAS MAKS. NUKRYPIMAS ...
5
votes
1answer
2k views

Notepad++'s pesky EOL Format switching — how to remove the invisible (default?) keyboard shortcuts Ctrl+M, Ctrl+J

Notepad++ lets the user specify whether the end of lines (EOL) format for a file should be entirely in Windows, Unix, or Mac formats. Notepad++ also remembers the EOL format type encountered in the ...
2
votes
1answer
216 views

Find Search Replace from landmark to landmark - including everything in between

I have the following string >gi|374638939|gb|AEZ55452.1| myosin light chain 2, partial [Batrachoseps major] AAMGR Repeating sporadically throughout my document and want to remove everything from ...
0
votes
1answer
530 views

Notepad++ Explorer Plugin not showing all Partitions

My PC has 3 partitions C, U and A. I installed Explorer Plugin in Notepad++, it shows the two partitions properly. But for some reason the third partition is not there. I have a lot of project files ...
10
votes
2answers
9k views

Export all regular expression matches in Textpad or Notepad++ as a list

In Textpad or Notepad++ is there an option to export all the matches for a regular expression find, as a single list? In a big text file, I am searching for tags (words enclosed in % %), using ...
1
vote
0answers
553 views

Nested/multiple brace-matching in Notepad++

In Notepad++, is it possible to force all (or at least the 3 or 4 deepest) pairs of braces/brackets/parens/etc. that enclose the cursor to become highlighted? Preferably in different colors for each ...
0
votes
1answer
48 views

Select different parts of an line

I'm new to regexes and have a file that looks like this one: |60|493,93|1,6500| |60|95,72|1,6500| |60|43,88|1,6500| |60|972,46|1,6500| I used the regex (\|60|.*)(1,65) and I was able to find all ...
0
votes
1answer
116 views

Notepad++ saving to a full hard drive

I do a lot of my web development in Notepad++ on a Windows XP machine. The development happens on a remote server (Windows 2003) used for a variety of jobs, so it often fills up. When the hard ...
40
votes
6answers
56k 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 ...
0
votes
2answers
243 views

How to replace '|' in Notepad++

I have too many records which ending as below : en-US||||| But i wanted them to be replace to new line let say en-US newline Note text en and US are different in each records, the ...
0
votes
1answer
74 views

Having two way view in notepad++ of different logs

I am working on a application of which different logs are created and and these logs are getting updates parallely now I want open two logs sententiously that I can do in notepad++ in different tab ...
2
votes
1answer
296 views

Adding a new operator symbol to a custom language in Notepad++?

I'd like to create a custom operator for a custom language I'm highlighting in Notepad++. Has anyone done this in the past? A special character that often comes up in my language is the yen symbol ...
0
votes
1answer
138 views

Delete Lines that contains string NULL

I'm trying to remove all lines that contains NULL, using Notepad++ as follows: Line: NULL,123456789333333 regular expersion I tried: Find: ^.*NULL.*$ replace with: (blank, nothing) it ...
1
vote
1answer
3k views

Notepad++ XML Auto Indent + Tag Closing

I'm migrating a question I posted on stackoverflow to here as it may be more relevant. Here is the question: I'm looking for a way to code XML (mxml, specifically) in Notepad++ such that it follows ...
2
votes
1answer
522 views

Notepad++ find in files filter for files with no extension

I'm using Notepad++'s "Find in Files" functionality to find specific text in a large number of text files across a large number of directories and subdirectories. I understand how to specify file ...
0
votes
1answer
275 views

An explorer pane in Notepad++? [closed]

I'd like to have a Windows Explorer-style left pane in Notepad++. Is there an add-on or plugin that accomplishes this?
1
vote
2answers
182 views

Closing right/left tabs in Notepad++

How do you close all the tabs to the right/left of the current tab in Notepad++? Is there a plugin or an autohotkey script that can achieve this?
1
vote
1answer
114 views

Notpad++ colorizing for a particular file extension?

For example how can I set Notpad++ to open .csl files as xml files?
3
votes
3answers
3k views

File switcher sidebar in Notepad++ 5.5

I would like to know how to get a vertical file switcher on the left side i.e. in the left sidebar in Notepad++ 5.5? I would like to have something like this as shown from the gedit editor?
0
votes
1answer
160 views

Match (highlight) invalid Hungarian notation variables syntax

We follow our own defined coding standard (Hungarian notation) as per our checklist, using Notepad++: Check that all variables are valid according to Hungarian notation identifier naming convention, ...
2
votes
2answers
6k views

Remove XML node in Notepad++

I have a large XML with the structure below. Now, I want to get rid of the <tuv xml:lang="en-GB"><seg>CONTENT</seg></tuv> nodes, so for each unit only the de-DE part stays ...
1
vote
1answer
416 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
146 views

Search and replace using regular expressions

I want to edit the text: appriskid = models.IntegerField(primary_key=True) app_name = models.TextField() identifier = models.CharField(max_length=150) version = models.CharField(max_length=60, ...
4
votes
2answers
893 views

Sane control-tab behaviour in Notepad++

How can I make control-tab (and control-shift-tab) behave sensibly Notepad++? I would like these shortcuts to behave as they do in my web browser, ie. control-tab moves focus to the next tab to the ...
1
vote
1answer
239 views

Error code 2 when compiling a cpp file in notepad++

I'm using this code cd "$(CURRENT_DIRECTORY)" g++ $(FILE_NAME) -o $(FILE_NAME).exe to run a cpp from notepad. What I had expected to run was g++ FILE_NAME.cpp -o FILE_NAME.exe But g++ ...
7
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 ...
0
votes
3answers
2k views

Running python / ruby interactively from within Notepad++ (NppExec console)

I've been using the NppExec console in Notepad to run python and ruby scripts using python script_name.py or ruby script_name.rb, and for the most part this works well: the output gets redirected into ...
7
votes
1answer
35k views

How would I replace a “TAB” in Notepad++?

I'm attempting to format a giant list. Each entry in the list is separated by a tab. I'd like to replace it with a \r\n in Notepad++. How would I got about this?
1
vote
1answer
548 views

Replacing 12 hour format date and time in Notepad++

I'm trying to remove the date / time stamp from text in the following format: Randomtext - randomtext 9 Aug 5:55am 2nd line of random text - 2nd randomtext 15 ...