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

8
votes
3answers
15k views

How can I hide the line numbers in Notepad++?

How can I hide left lines counting thing in Notepad++? I can't find it in menu and can't google it. I don't like it.
45
votes
2answers
20k views

Closing Notepad++ tabs on closing application

Is it possible to make Notepad++ close all open tabs when it is shut down? Currently when a new file is opened with Notepad++ all previously open tabs (and of course the files open in those tabs) are ...
3
votes
4answers
5k 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
0answers
18 views

Notepad++ closing file handle too fast for IPython %edit magic

I'm trying to use Notepad++ on Windows as editor for IPython's %editmagic, set: c.TerminalInteractiveShell.editor = r'C:\Program Files (x86)\Notepad++\notepad++.exe' (in my profile's ...
6
votes
2answers
902 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 ...
10
votes
2answers
2k views

How do I delete lines without “.” in Notepad++? [duplicate]

In Notepad++, I have many lines in the format: abc.xyz where "abc" might have space or - or numbers. How do I delete lines without "."? So if a line does not have any ".", I want it removed ...
-2
votes
1answer
42 views

Notepad++ regular expression [closed]

I want to remove this line from 1000 files. http://txt.do/52h7n How to write a regular expression to do this? Can anyone help?
0
votes
0answers
135 views

How to NppFTP with SSH key?

I created a profile with the next options Connection: Hostname: ftp.example.com Connection Type: SFTP Port: 22 Username: wwwexample Password: ****** Ask for password: no Authentication: Try ...
1
vote
2answers
39 views

Remove everything from text except what is in brackets with Regex

I would like to use notepad++ to remove everything in a text file except anything found between [ ]. Example: [D-1.1.1-A] - bla bla text here[D-1.1.1-B] - some more bla bla text here[D-1.1.1-C] - ...
2
votes
2answers
2k views

How to disable notepad++ autocomplete

I want to turn off autocompletion on words in notepad++ Or at least have something more discreet.
0
votes
1answer
30 views

Selecting all words inside curly brackets to paste into a new file with Notepad++

I have a dictionary document that uses the following syntax: \lem{WORD}{POS}{PL}{DEFINITION} \lem{WORD}{POS}{PL}{DEFINITION} \lem{WORD}{POS}{PL}{DEFINITION} and etc.. I want to select every WORD ...
1
vote
0answers
36 views

Notepad++ custom language how to only highlight if comment keyword has a space

In the custom language editor in Notepad++, I recreated the batch language syntax highlighting, as I saw it as poorly made. My issue is that in making a remark with rem, I cannot have words like ...
0
votes
1answer
22 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 ...
18
votes
7answers
30k 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 ...
-1
votes
1answer
46 views

How to make calculations in Notepad++ using regular expressions?

In my text editor, I have the following: abc1 abc2 asdf3 I want to replace that with: abc3 abc4 asdf5 But in order to do that, I have to make calculations in Notepad++ using regular expressions. ...
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 ...
11
votes
1answer
58k 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?
75
votes
1answer
38k views

Notepad++ 80 Character Line Marker? [duplicate]

Is there a way I can get a vertical marker line to appear at the 80th character column in notepad++?
27
votes
5answers
132k views

Auto format document with Notepad++

In Visual Studio, (and a few other Microsoft editors), you can auto format a document with a simple Ctrl + K, Ctrl + D. This inserts line breaks and tabbing automatically. Is there a similar feature ...
1
vote
0answers
15 views

Can Notepad++ put its block comment characters on new lines?

I already know how to customize the comment characters of NP++ using the lang.xml file. However, I would like the block comment to automatically put the characters on new lines before and after the ...
0
votes
1answer
22 views

Fold on “short form of here document”

Apologies for the x-post from stackoverflow, but there appear to be views of [notepad++] here. According to the man ksh or man bash page (RHEL 6.6.0) <<< word is the equivalent of: ...
1
vote
1answer
18 views

Find and Replace Number Names with Digits

I have a long section of code that has number names, which I'd like to replace with just number symbols. What I have: PartOne PartTwo PartThree PartFour PartFive ... PartOneHundred What I want: ...
5
votes
3answers
4k views

Is there a keyboard shortcut to select the entire current line in Notepad++?

Microsoft OneNote has a handy shortcut (Ctrl+A) that I use all the time to select an entire line.  And if you click it a second time it selects the entire document. I really would like to use Ctrl+A ...
5
votes
6answers
10k views

Complete the sequence 1 2 3 up to 156 in Notepad++?

I have a fairly simple request, but I can't figure out how to do this in Notepad++. I need to create a list where each line begins with a number, starting from 1 and ending at 156. Obviously I dont' ...
0
votes
2answers
36 views

Where has Notepad++ hidden my file?

I have spent all day making notes on the planning of a two week task. As I came to the end of the day I couldn't save the file over to a Network Drive, so I closed Notepad++ and re-opened using ...
41
votes
9answers
24k views

Flip or reverse line order in Notepad++

I want to flip line orders of a document with 500+ lines. The lines aren't just numbers, some include text and other characters. It's a mix. Example: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 ...
7
votes
3answers
16k views

Notepad++ Compare two files and remove

Say I have two files. file1.txt and file2.txt Both files contains a list of shoe brands name (1000+ names), like this: brand1 brand2 brand3 brand... Now - I want to compare file1 to file2, delete ...
95
votes
10answers
180k views

How can the font size be changed in Notepad++?

How can the font size be changed in Notepad++? I just downloaded and installed Notepad++ v5.4.5 (I have been using UltraEdit for the last 11.5 years) and can not find a menu command for changing the ...
0
votes
1answer
49 views

Using Notepad++ to view text files that also contain lower ASCII control characters

When using Notepad++ to view text files that also contain some lower ASCII control characters (such as NUL, BEL, and ACK), it shows every lower ASCII character in brackets like this: [NUL][BEL][ACK] ...
2
votes
2answers
106 views

How to remove linebreaks in Notepad++? in long text

I would like to know if is a method to remove linebreaks in Notepad++ aside from select and cntrl + J that is already explain here How to remove linebreaks in Notepad++? the Problem is ...
0
votes
1answer
23 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 ...
2
votes
1answer
48 views

Remove spaces at beginning of line if first non-space character is a letter (Notepad++)

I am using Notepad++ to cleanup some wiki code and would like to do the following: I need to remove all leading spaces from a line but only if the first non-space character is a letter. Here's an ...
0
votes
1answer
17 views

Remove Certain Characters in Long Chain (SMS)

I have a long .xml file of SMS with some messages in this format: <sms protocol="0" address=" (xxx) xxx-xxxx" date="1349121360000" type="2" subject="null" body="Body of the SMS is here" toa="null" ...
6
votes
5answers
12k views

How to use Notepad++ to find files in a directory that do not contain string

Does anyone know a quick and easy way to use Notepad++'s "find in files" (or other feature) to find files that do not contain a string? For example: List all files in c:\inetpub\mywebsite that do ...
1
vote
1answer
161 views

Is it possible to automate Notepad++, specifically the search and replace across files?

Is it possible to automate Notepad++, specifically the search and replace across files? I want to be able to automate the search and replacement of placeholder values across a number of file types, ...
2
votes
2answers
1k views

Regex search in text editors UltraEdit or Notepad++

I would like to find the above code and replace with my own code. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ...
3
votes
2answers
67 views

List files and sort them manually Notepad++

I saw similar questions, but not one that resolves my need. I´m using Notepad++. I´m working with more than 50 files taking advantage (for navigation, aka, go to one file to other) of the “Document ...
4
votes
3answers
7k views

How can I change the standard “save as” filetype of Notepad++?

In which weird file format, unreadable to other applications, does Notepad++ save its files and how I can change it? I searched through all the settings/options, but didn't find anything. How can I ...
2
votes
4answers
2k views

Notepad++ visibility for BOM

How to use the 6.2.3 version of Notepad++.I want to know how to make visible of BOM chanracters.I tried with menu list available but no use. But those characters are available only at Linux ...
0
votes
1answer
2k views

Multiline find and replace wrapper with wildcard inside

I'm trying to put a wrapper around a bunch of fields that already exist. I want to convert this: <div class="editor-label"> @Html.LabelFor(Function(model) model.FirstName) </div> ...
0
votes
1answer
25 views

Set Notepad++ Linewrap indentation to 2 characters?

In Notepad++ 6.6.9, I have set Linewrap to Indent: However, this indents by 4 characters. How can I make this indent by 2 characters instead?
3
votes
4answers
3k views

Remove lines ending with a specific format in Notepad++

I've got a simple array in Notepad++: bla.vmt" bla.vtf" bla_exponent.vtf" I want to get rid of the lines ending with .vmt and _exponent.vtf.
0
votes
1answer
41 views

Notepad++ delete everything in line after certain character?

I have seen and used many other tips and advice to help what I am doing, Im not coding or anything just working with normal text and messaging and I wanting to know how to delete everything in a line ...
4
votes
4answers
14k views

Notepad++ doesn't show Russian letters

I'm trying to setup the translation file (.php) but can't get Notepad++ to display the Russian text. The file was created on a PC with Russian Windows 7 (Windows Notepad) and everything looks fine ...
15
votes
1answer
6k views

How to disable the “highlight changes” feature?

Our admins deployed a new version of Notepad++ (version 6.3) on our machines, and this version is highlighting all changes done in a file by default. It does so by setting the background color of ...
0
votes
1answer
45 views

Import content from another text file in a current text file at specific lines in Notepad++?

Here is my problem: Text 1 alliance of (123456789) alliance of (shhgafstys) alliance of (aseqwerty) ..... Text 2 htp://123.235.235.002 htp://125.126.214.008 htp://129.220.119.189 ..... So is ...
2
votes
2answers
616 views

How do I find this character(by unicode search) in notepad++ ﻁ (\uFEC1 and only that character)

How do I find this character(by unicode search) in notepad++ ﻁ If I go to charmap and I pick this character I type FEC1 in the unicode search box and hit ENTER and it finds the character I look ...
25
votes
2answers
27k views

How to expand/collapse all blocks of ruby code in notepad++?

Is there any way how to collapse all blocks in ruby code in Notepad++? It is much easy to navigate the code of functions, routes in Sinatra and blocks in rufus if all blocks are collapsed.
1
vote
1answer
39 views

Replace returns wrong capturing group

I have a text file that looks something like this: ,'','a','bc','def','ghi','lmn','op','qr','stu' I'm trying to replace groups of 5 with the match and a line break for easy readability. So, I'm ...
0
votes
0answers
73 views

Create multiple paragraphs without manually adding the paragraph tags in Notepad++?

I have 18 pdfs in multiple languages with about 15 pages in each that need to be converted to html pages. The formatting isn't retained using save as so I'm copying the content to Notepad++. Is it ...