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
917 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. ...
12
votes
4answers
2k views

prevent Notepad++ from resizing when a new document is opened

I run notepad++ snapped to the side of my screen (using the Windows 7 Snap feature), however whenever I open a new document in Notepad++ by double clicking on the document from the desktop (as opposed ...
5
votes
5answers
8k views

Add a string to every line of a selection

To prepend a string to every line of a selection, I usually use the "increase line indent" (which add tab to every line) and then run a search for tab / replace with my string. Anyone know how I ...
6
votes
1answer
3k views

How can I copy binary data in Windows (preferably with Notepad++)?

I want to duplicate some binary data (not in code, but by hand). The normal Ctrl+C doesn't work in my editor (Notepad++), it copies data only up to the first NUL char. Is there any workaround?
3
votes
1answer
268 views

What is the shortcut key or menu option to evenly space out variable/array declarations in Notepad++?

I usually use Textmate, which can do this by pressing option+command+right-bracket and it evenly spaces out a selection of declared variables with values. Same goes for arrays as well, it will space ...
3
votes
1answer
471 views

Are there no standard syntax highlighting in Notepad++?

Whatever language I select there are no syntax highlighting. Just the font color and background color are changing. In other editors there default syntax highlighting and they are pretty good. Update ...
0
votes
1answer
446 views

Notepad++ Previous/Next history

Does Notepad ++ offer the same feature of previous/next page as found in Adobe Reader? For example, if I have two files opened named a.txt and b.txt: First I view a.txt line 10. Then I view b.txt ...
3
votes
1answer
558 views

Stop Excel from putting double quotes around copied cells

In cell A1 I have the value: test in cell C1 I have the formula: =A1 & CHAR(10) & "attempt" when I copy the value of C1 to Notepad++.exe it adds double quotes around the value.ie: "test ...
1
vote
2answers
5k views

Quickly increment selected numbers in Notepad++

I'm working on a plain text configuration file that has a configuration key format of <type name>_<#>_<Subcomponent name>=<value> To be a little more clear, the ...
0
votes
1answer
776 views

Why doesn't my regular expression work in NotePad++? [closed]

Why doesn't <example regular expression here> work in NotePad++?
16
votes
3answers
22k views

How would I delete the first 27 characters from every line Notepad++?

I have a log file and I need to remove the first 27 characters off every line. You would have a line like this: 2011-09-25 01:25:29 [INFO] <Exazoro> wazup But it needs to be like this: ...
4
votes
1answer
4k views

How can I add color highlighting for PHP functions?

I've recently begun using Notepad++, and have found a part of its styling functionality that confuses me. I'm currently attempting to color all of PHP's defined functions (such as count(), strlen(), ...
13
votes
5answers
34k views

Unicode characters suddenly start displaying as boxes in some applications [duplicate]

I noticed that Unicode characters suddenly stopped displaying in some applications, so far Notepad++ and Skype, when they were appearing previously. Instead they appear as boxes. They were working ...
3
votes
1answer
3k views

Notepad++ Simple Backup

I lost a file while uploading due to internet disconnection and luckily I had 'Simple Backup' pre-selected. Is there a Notepad++ directory where I can get this file back?
3
votes
1answer
2k views

Notepad++, Run command and open output in new tab

Is there any way to execute a command from notepad++ and have the results piped back into the program in a new tab?
2
votes
1answer
216 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
4k views

How can I add a macro in Notepad++?

I found that I can record a macro in Notepad++ and stop recording. However once I've finished recording, it doesn't show any new macros for me to replay or add a shortcut key to access it. An ...
2
votes
3answers
471 views

Make NPPExec only run the startup script once

You can configure the NPPExec plugin in Notepad++ to have a startup script. I use this to set certain environment values that I don't normally use to make script execution easier. The problem is that ...
18
votes
3answers
15k views

Can I get split screen in Notepad++ like emacs?

One of the good point with emacs is that you can have split screen so you get two or more views of the same file which allows you to browse around and have a clearer overview of the file. I wonder if ...
19
votes
6answers
10k 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 ...
2
votes
1answer
353 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 ...
1
vote
1answer
4k views

Replace foreign character codes in Notepad++

I'm trying to edit a file with Swedish characters in Notepad++, but the Swedish characters when I view it in Unicode (was originally ANSI) show up as tiny black marks with parts of hex code in them, ...
2
votes
2answers
7k views

How to remove the last character on every line in Notepad++?

In NotePad++ how do I turn this: GingeredRovinsky7|NTDc4MAODY3Mg| into this: GingeredRovinsky7=NTDc4MAODY3Mg I know I can do a find and replace and replace the first | with = However I need to ...
7
votes
7answers
4k views

Notepad++ doesn't launch (notepad++.exe present in the task manager)

Yesterday Notepad++ was runnable, but today it doesn't. In spite of the notepad++.exe (with its 13 process) presence is the tasks manager, Notepad++ window doesn't launch. I tried to uninstall and ...
6
votes
3answers
2k views

How can I make Notepad++ use “.txt” files as the default open file dialog filter?

When I go to open files in NPP, the file types defaults to "all types (.)". How can I make this default to ".txt"? It may be a windows thing, since I'm sure it just uses the default windows file ...
4
votes
1answer
3k views

How do I connect to localhost with NppFTP?

I am unable to get Notepad++'s NppFTP to connect as localhost to my Windows XP. I want to "upload" the current file from a "src" directory to the local /xampp/htdocs directory during development. ...
3
votes
1answer
730 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 ...
4
votes
1answer
2k views

Advanced usage of Notepad++ find-in-files filter

In the Notepad++ Find in Files dialog, there is a box for filter. Normally you would enter something like *.txt in there. Are there more advanced ways to use the filter? Specifically, I am looking ...
7
votes
1answer
14k views

Find and replace in Notepad++ using wildcards/regex

I have a SQL dump with expressions such as youtubehd:2nj6bykw. The 2nj6bykw can also be a different random string. It is always 8 characters long. I want to replace youtubehd:2nj6bykw with just ...
2
votes
1answer
493 views

Notepad++ want to use RegEx to seek minimum-length strings

Only been using Notepad++ v 5.92 for a few weeks, and RegEx for a few hours (!!) I want to use Find & Replace for UPPERCASE strings of a minimum length to change them to "Title Case" or "Sentence ...
6
votes
3answers
6k views

Use Notepad++ to change under_score_case to CamelCase?

I can write a regular expression in NP++ to find under_score_case. I can use TextFX in NP++ to change case to upper and lower case by highlighting and selecting. How can I use either NP++'s ...
1
vote
3answers
1k views

Turning word wrap on in Notepad++ with 4MB+ text files makes it intolerably slow, how to fix?

When I edit long text files in Notepad++ (4MB) and turn the word wrap on, it causes about a second delay between typing a letter and seeing it appear, rendering the editor in this mode practically ...
10
votes
2answers
3k views

“Go To File” Feature/Plugin for Notepad++

Is there a way to get the Go to file... functionality from Textmate in Notepad++? For example, if I press Ctrl-T, a dialog box comes up, type in (partial) string and it filters through the files in ...
0
votes
1answer
704 views

How can I restore a CSS file?

I have a huge CSS file that I was editing in Notepad++ when my computer restarted. My CSS file was saved, but after the restart it changed. The CSS code disappeared and there is a long line with ...
7
votes
5answers
3k views

Notepad++:Is there a way to fix the fact that I can't run Chrome from the run menu?

I am running Notepad++ v.5.9.2 on Windows 7-64 bit. When I try to launch files in IE or Firefox from the Run menu in N++, there's no problem. However, when I click "Launch in Chrome" nothing happens, ...
15
votes
6answers
22k views

Notepad++ auto complete HTML end tags after </ (like Dreamweaver does)

In Dreamweaver typing </ will automatically close the last open tag, so you don't have to type it all out, and it helps if you aren't sure if you closed one or not. Is there a plugin that dose this ...
2
votes
0answers
419 views

Is there a line length limit of language recogniton in Notepad++?

It seems after passing column 74, Notepad++ recognizes my Fortran90 code as a comment. Characters turn into light green and are not recognized by language interpreter. Is there a way to turn it off? I ...
4
votes
3answers
3k views

notepad++ adding extra lines to a file

I've been bugged with this problem for ages and I just tried to ignore it, but when I open files for the first time that was saved from a mac/unix box, I get to see an extra line break after each ...
2
votes
1answer
966 views

How do I change or replace all instances of a character in a text file to a newline/line break/EOL in Notepad2 or Notepad++?

I tried Notepad2's 'Replace Text' function, but I don't know what to put in the 'Replace with' field. The OS I'm using is Windows 7.
14
votes
2answers
8k views

How to not show the last file when starting up Notepad++? [duplicate]

Possible Duplicate: Closing Notepad++ tabs on closing application It's very annoying that every time Notepad++ starts, it displays the last modified file. Is there a setting to turn this ...
1
vote
1answer
5k views

Automatic line changing in notepad++

When I'm typing in notepad++ the line trails endlessly. I'm trying to make it automatically go to the next line once I reach the end of the line instead of continuously going. Is this possible? I used ...
3
votes
1answer
440 views

Would a notepad++ crash dump contain sensitive information?

I'm considering uploading a crash dump, but if it might contain the text of my documents, I'd rather not. Does it contain sensitive information? If so is there a way to separate it from useful stuff?
3
votes
1answer
2k views

Notepad++ autosave plugin not working

I have installed notepad++ latest version but when i go to plugin manager and click on autosave to install but it gives error. Also if i copy the autosave files in notepad++ files separately then i ...
14
votes
5answers
565 views

Match and delete in Notepad++

I have the following text in Notepad++. 192.168.0.1 37 ms N/A 192.168.0.2 Dead N/S 192.168.0.3 ...
10
votes
2answers
18k views

How can I enforce so Notepad++ uses UTF-8 every time I create a new file?

I want to use the character encoding UTF-8 (without BOM) on my files. I can change the encoding from the "Format" menu, but it is reset every time I create a new file or open a file. How can I do so ...
13
votes
3answers
10k views

Opening a text file at a certain line (shortcut)

I would like to define a shortcut key which opens a particular text file at a particular line. My preferred editor is Notepad++, but suggestions involving other editors are welcome. How to open ...
43
votes
8answers
50k views

How to delete all line except lines containing a word I need?

I have a text file. I want to keep lines started with <Path>, and delete all the other lines. How can I do it?
13
votes
1answer
44k views

How to open a big file in Notepad++?

I tried opening a file of 800MB size in Notepad++. But i don't why Notepad++ showed only 269117242 chars 271450112 bytes . Neither it showed any alert message that it is unable to open such a big ...
1
vote
0answers
954 views

notepad++ changes cursor position while typing

When I'm typing in Notepad++, the cursor sometimes jumps to another position, causing me to unintentionally overwrite other text. This occurs with Notepad++ v5.7 and v5.9 (and possibly older versions) ...
3
votes
2answers
1k views

notepad++ “autotext”-type plugin

As part of my job, I regularly enter long descriptions of real estate into a database. I type those up in N++ and then paste them into the web interface of the base. However, they are quite ...