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

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
600 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 ...
11
votes
2answers
24k 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 ...
18
votes
3answers
16k 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 ...
74
votes
9answers
76k 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?
15
votes
1answer
67k 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
1k 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 ...
1
vote
1answer
365 views

Notepad++ macro problem: inserting extra characters

I sometimes run into a problem when playing back Notepad++ macros in that it inserts extra characters between all the letters, e.g. ”. Anyone else seeing this?
4
votes
2answers
5k views

How can I get Firefox to open XML files in Notepad++ instead of in the browser

I don't want Firefox to display XML files internally, I want it to open Notepad++ instead. I have had a look a the Tools\Options\Applications menu but there is no 'XML' content type. I am using FF ...
18
votes
6answers
27k views

Does Notepad++ backup pre-edited files anywhere?

If I've accidentally modified a configuration file using Notepad++, saved it, and then closed the file - is there any possibility that Notepad++ may have saved the pre-modified content in a temporary ...
6
votes
2answers
3k views

Go to definition of a C function in a different file in Notepad++

While editing a C project on Notepad++ 5.6.7 (Unicode) with the SourceCookifier plugin, I can press Ctrl+Shift+Enter to go to the definition of a function which the cursor is on, but only if it is in ...
6
votes
2answers
18k views

delete whitespace left and right in notepad++

In Notepad++, is there a hotkey to wipe all white space left and right of the cursor? I'd imagine it would be the same as "delete current word", but I can't find it. Ctrl + Del deletes to the end of ...
88
votes
3answers
47k views

How can I set autoreload modified files in notepad++

How can I set autoreload modified files in notepad++? The confirmation step is annoying, and in some situations completely unnecesary.
3
votes
2answers
4k views

How to display \r\n as new line in Notepad++

I browsing a log file in notepad++. The file has \r\n wherever a new line should start, but notepad just displays the \r\n characters: [Header]\r\n2011-04-23 13:14:53,867 [1] DEBUG Themis.Program ...
3
votes
2answers
2k views

Notepad++ Autocomplete

I heard that Notepad++ has autocomplete but I can't find any documentation online to help with creating your own or how to do it. If somebody could please point me in the right direction (or right ...
4
votes
2answers
3k views

Why notepad++ plugins don't work in macro?

Why don't Notepad++ plugins work in a macro? For example: Manual run plugin - Converter -> "ASCII -> HEX" AAAA 4141414120 BBBB 42424242 CCCC 43434343 Runned as recorded macro AAAA ...
6
votes
1answer
604 views

Quit Notepad++ when last tab is closed?

Is there a way to make Notepad++ exit when the last tab is closed, e.g. by pressing Ctrl+W? The current behaviour is that a new empty document is created, when the last open tab is closed.
3
votes
2answers
4k views

Notepad++ find and replace expression help

I want to find all content between two characters, say A and B: Asd;lfksjd;fsdfjs;ldfkB which would be sd;lfksjd;fsdfjs;ldfk and replace them. How would I write this expression?
5
votes
2answers
9k views

How do I create my custom “User-Defined” language in Notepad++?

In Notepad++ there is a menu option: Language->"User-Defined". How do I customize that? What are capabilities of such option? Can I highlight date/time? Can I highlight 21-29th symbols in the ...
2
votes
2answers
171 views

Notepad++ sources

Is there a way to get Notepad++ source code?
5
votes
3answers
4k views

How do I horizontally scroll in Notepad++?

How to horizontally scroll in Notepad++? I know the way by dragging horizontal scroll bar, but I would like more convenient way: Scrolling with keyboard Scrolling with mouse wheel while holding ...
3
votes
1answer
2k views

Assigning a Keyboard Shortcut to Reindent XML - Notepad++

How can I assign a keyboard shortcut to the Notepad++ command "Reindent XML"? This menu item is found under TextFX -> TextFX HTML Tidy => Tidy: Reindent XML. I use this very, very frequently (and ...
7
votes
1answer
6k views

Is there a version of solarized color scheme for notepad++

I've recently switched my Eclipse to Solarized colors. I would like to do the same thing for Notepad++. How can I achieve that ? UPDATE 1 The Eclipse configuration I use is Solarized-like.
6
votes
2answers
5k views

How to 'code collapse' wiki syntax on Notepad++ (or any other text editor)?

I'm familiar with Notepad++'s code collapse for certain programming languages but recently I've been working with a plain text file that uses with Wiki syntax. For example: ==Heading1== Content ...
0
votes
1answer
718 views

Notepad++ opening sql files with characters not text

Initially when using Notepad++ it was opening my sql files no problem as text so that I could edit them, now it's opening them and showing characters instead of text for example; "‚©§*ÐÊçrQ™êÃÔ ...
2
votes
1answer
9k views

Code length limiter in Notepad++ [duplicate]

Possible Duplicate: Vertical line for the the right margin in Notepad++ Hi I am using Notepad++. In some IDE's like Netbeans, we can see a vertical line in the code editor to emphasis the ...
8
votes
4answers
6k views

NotePad++ shortcut for selecting whole word

I know in notepad++ i can use mouse doubleclick to select whole word, but i want to use some keybord shortcut. For example in visual studio it's ctrl+w by default and it's very useful. Can i specify ...
3
votes
1answer
1k views

Reverse Name order in Notepad++

I have a load of names in a file in the format Lastname, Firstname: Williams, Hywel Williams, Mark  Williams, Roger Williams, Stephen ... Is there a simple way of reversing them in ...
1
vote
3answers
2k views

Modify multiple HTML files in multiple folders automatically

Is there some way to modify multiple HTML files in multiple folders? I want to apply a new HTML design template over an old HTML website. The website is quite big, and doing this manually will take ...
1
vote
1answer
96 views

Looking for a Windows text editor with “duplication” [closed]

Does anyone know of a text editor for Windows that supports what I call "duplication". What I mean by this is: Say you're working with a large file. You want to view/change different parts of the ...
34
votes
7answers
29k views

How do I make Notepad++ delete lines like Eclipse does?

Eclipse has a keyboard shortcut which deletes either the current line (if nothing is selected) or all lines which are part of the currently selected text: Ctrl+D. Is there a way to make Ctrl+D do the ...
11
votes
3answers
4k views

How do I associate all unknown file types with notepad++?

I work alot with billing and files the bank etc. send me files that have date extensions or some counter as an extension: eg file1.20110315 or file2.123 So the extension changes every time I receive ...
1
vote
3answers
1k views

How can I enable variable highlighting and bracket highlighting for TextMate?

I am trying TextMate on a Mac and there are a lot of things i miss on Notepad++ that I wish TextMate has. Does anyone know if there is a way to enable bracket highlighting so I can see which ...
1
vote
2answers
1k views

Notepad++ jump list not working from start menu

I have notepad++ v5.8.7 on Windows 7 SP1. Jump list for application is not working from start menu?? It worked few months ago, i don't know when it stopped. How to fix this? Unpin and repin didn't ...
9
votes
1answer
19k views

How can I add autocomplete in notepad++ for javascript in an .html file?

Notepad++ does auto-complete for html and also for JavaScript. but the auto-completion depends on file extension.html file supports completion for html only. Is there a way to enable auto-completion ...
3
votes
1answer
896 views

Is there a Notepad++ plugin or built-in feature that autocloses quotation marks?

I have looked at TextFX, but to no avail.
6
votes
2answers
6k views

Notepad++ “Compress whitespace” effect

I'm looking for a mechanism within notepad++ to replace runs of consecutive whitespace with a single space, like the "Compress whitespace" command in notepad2. Essentially, in regex form: s/\s+/ /g ...
3
votes
1answer
2k views

Placing tags around selected text in notepad++

Is there a plugin, macro, or some sort of option for placing tags around selected text after I highlight and begin typing?
2
votes
3answers
2k views

Viewing updates to HTML file in browser after editing in Notepad++

Editing an HTML file in Notepad++ I now want to see the updated page in Google Chrome, Firefox and IE. Is there a shortcut that I can use to see the changes as rendered through the different ...
2
votes
2answers
476 views

Why do I get special characters in my Notepad++ macros?

Ok so every time I go to make a macro for <br /> I wind up getting special characters because of the shift button and such this is what I wind up getting when I run the macro after just plainly ...
0
votes
2answers
2k views

How to Use Notepad++ FTP? [duplicate]

I'm trying to find a new code editor, have gone through several, and am now using Notepad++, which I hear is a favorite of developers. My problem is that while I see that Notepad++ has FTP, as far as ...
5
votes
3answers
2k views

Where are the paths to the files open in Notepad++ (last open tabs) stored?

i.e. todo.txt, medical.txt, etc. I looked at XML files in C:\Program Files\Notepad++, but to no avail.
3
votes
5answers
3k views

Abbreviate exe name in Windows PATH [duplicate]

Possible Duplicate: Running programs by typing some alias in Windows Right now I have Notepad++ (or any other app) in my PATH and can fire it up from the CMD by typing notepad++ < ...
0
votes
2answers
127 views

Is it possible to use backreferrences in notepad++?

In my specific example, for a selection of lines I want to duplicate them inline, separated by an arbitrary marker Ie, stringA stringB becomes stringA_something_stringA stringB_something_stringB ...
3
votes
4answers
17k views

notepad++ regexp to find all lines which contain a specific string

I am looking for a notepad++ regexp that contains a specific string. I then want to delete this whole line.
12
votes
3answers
7k views

Different language syntax highlighting within same file

I'm trying to get simple syntax highlighting working within a file. Here's the setup. I have an index.php file, which Notepad++ correctly highlights any PHP code between the <? and ?> tags. ...
6
votes
2answers
20k views

How can I delete rest of the line after a specific string?

I'm looking for a way to search for a specific string e.g. '=UUID:' and delete it and all following characters per line. I would prefer a way/macro/addon for notepad++. But all other tools or scripts ...
2
votes
2answers
4k views

Multiline select in Notepad++

In Sublime Text, if I perform a find for an occurrence of a particular word, not only is this occurrence found, but it is also selected and has the cursor at the end of each occurrence so that pushing ...
10
votes
2answers
8k views

Notepad++ code outline as Eclipse's outline

Folding and unfolding blocks of code helps, but in bigger files I really want to have the outline overview of a class and its methods. So, is there a plugin or anything for Notepad++ that I can have ...