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

11
votes
2answers
16k 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 ...
8
votes
7answers
27k views

Find and Replace several several different values all at once

I have a file with multiple instances of Text_1 and Text1 and I need to replace both those strings with Text_A and TextB respectively. Currently I'm doing two Find and Replace functions on each ...
199
votes
2answers
74k views

Assigning custom extensions to a language's syntax highlighting in Notepad++

In the current version of Notepad++ opening .sql files results in Notepad applying SQL syntax highlighting to it. I'd like Notepad++ to do the same for other extensions as well, is there some setting ...
164
votes
5answers
184k views

How can I view two files side by side in Notepad++

I would like to split the Notepad++ window so that I can edit two files side by side. How can I do this in Notepad++?
40
votes
6answers
55k views

How to set the default language in Notepad++

I mostly use Notepad++ for dealing with XML files. It would be good if Notepad++ parsed and colorized my files based on the XML language when I open the files. Instead, I have to open the file, pick ...
34
votes
4answers
52k 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
2answers
505 views

Make style changes in notepad++ permanent

When I select a theme and make changes to the font name and font size, they always default back to original settings whenever I reopen notepad++. Is there a way of making font name and size changes to ...
195
votes
6answers
92k views

How can one turn off spell checking in Notepad++?

Notepad++ recently added built-in support for spell checking, and it is enabled by default. Where can I turn it off?
82
votes
1answer
70k views

Sorting lines in Notepad++ without the TextFx plugin

The current version of Notepad++ (at the time of this writing) is 6.6.3. Version 6.5.2 is the first that introduced a native (without a plugin) sorting function. At least, that's what they claim; even ...
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 ...
43
votes
3answers
25k views

Vertical line for the the right margin in Notepad++

Does anyone know if Notepad++ can display a vertical line on the right margin to indicated that the text will or will not fit on a printed page? I have looked but I cannot find it. Word wrap does ...
11
votes
6answers
22k views

What is the way to use FTP and Notepad++ (without using its build-in FTP or a FTP client like FileZilla)?

I use Notepad++ for more than 2 years now, and there's only 1 thing that it needs for me to be perfect: a actually-working-ftp-plugin. It has an FTP plugin, written by someone that meanwhile left the ...
20
votes
4answers
35k views

How do I wrap lines in Notepad++ after N symbols?

I would like to have my lines in plain text in Notepad++ wrapped (soft wrapping for display, not insertion of line ends) after a reasonable amount of symbols (like 65 or 80). Is it possible? The only ...
11
votes
0answers
4k views

Reverse line order in Notepad++ [duplicate]

Is there a way to reverse the line order (considering \r\n line break) of a file using Notepad++? Input: Line 1 Line 2 Line 3 Required Output: Line 3 Line 2 Line 1 Any ...
8
votes
2answers
25k views

Transpose column to row

How do I convert code from a column: 1 2 3 4 to in a row (with spaces): 1 2 3 4 using Notepad++ ?
6
votes
1answer
7k views

How do I edit or add to Notepad++ HTML/CSS autocomplete?

Could anyone tell me how to go about editing the existing CSS and/or HTML autocomplete language in Notepad++? My Google-fu has let me down and I can't find an answer. In essence, I want to add some ...
3
votes
1answer
888 views

Remove/Delete current line in Notepad++

Specifically I want to make a context menu option that (on rightclick) removes/deletes the current line. The catch is the line should be deleted even if it´s not selected. Meaning I don't have to use ...
13
votes
7answers
21k views

Notepad++ keyboard shortcut to toggle “Find Result” window

Is there a keyboard shortcut to toggle "Find Result" windows? Or can this be configured in the Shortcut Mapper? I seem cannot find the setting.
7
votes
3answers
12k views

Notepad++ - Highlight text and insert html <tag></tag> around it

Is there a way to have this feature in Notepad++: select some text insert an html <tag>``</tag> around it (ie. <strong>, <em> etc)
1
vote
4answers
1k views

Close the Find/Replace dialog in Notepad++ with a keyboard shortcut?

When I do a find (not a find all, which closes the dialog) or replace in Notepad++, the focus will remain on the find/replace dialog. If I want to focus on the main window with the text in it, I ...
58
votes
4answers
146k views

How to remove linebreaks in Notepad++?

For example, this: This text has been splitted in lines, and it's longer than 3200 words, so it would be great to find and replace line breaks like these.
103
votes
1answer
56k views

How do I get Notepad++ to associate a file type with a language? [duplicate]

I have associated .wxs files with Notepad++. So far so good. However, it doesn't remember that it should use XML syntax highlighting. How do I associate a file-type with a Language?
46
votes
5answers
21k views

Switching to tabs to the right or left of the current tab in Notepad++

How can I switch to the document to the left or right of the current document in Notepad++? For example, if I have documents A, B, and C open, and I'm currently editing B, I would like a shortcut to ...
55
votes
1answer
84k views

HTML Tag Auto Complete in Notepad++?

I would like for Notepad++ to add the closing tag when I finish typing the open tag. I know there is a plugin to do this for XML but it doesn't work on my HTML files and I have yet to find one that ...
36
votes
7answers
39k 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 ...
23
votes
8answers
172k views

Replace Carriage Return and Line Feed in Notepad++

I have a file with a mix of CRLF and LF, and wish to remove the LF. I am new to Notepad++ and just downloaded V6.23. I'm using the search/replace dialogue box in extended mode. It will find and ...
73
votes
3answers
50k views

shortcut to manually Reload file from Disk

Now that I can turn off the annoying Reload popups, I would like a quick way to manually reload the file I am working on in NotePad++ via the keyboard. Looking at the File menu, Reload from Disk does ...
59
votes
1answer
15k views

How can I tell Notepad++ to always use a particular language with a particular file extension

I've associated .xul with Notepad++ so if I double-click on a .xul file, it will open in Notepad++. But Notepad++ doesn't know that XUL is just a particular type of XML, so I then have to manually ...
17
votes
5answers
61k 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 ...
15
votes
2answers
6k views

Can Notepad++ mark scrollbar with visual indicators of search results?

Can Notepad++ highlight search results in its scrollbar area, whereby the scrollbar represents the height of the entire document being viewed and is visually marked (colour-coded, ticked or otherwise) ...
29
votes
3answers
14k views

Open two instances of Notepad++

I have a question about notepad++ I want to run notepad++ twice. Like in this paint printscreen How I want it: Not what I want: Is this possible?
18
votes
3answers
18k views

Notepad++ expand/collapse block with keyboard

My question is pretty straight-forward, is there a way in Notepad++ to expand and collapse blocks with keyboard shortcut? I already know about the alt+0 and alt+shift+0 to expand / collapse all blocks ...
16
votes
3answers
28k views

notepad++: How to reset all the setting to default ones?

i change settings a lot. Now, i think I've played with Notepad++ too much. Now how can I reset the settings ? btw, I don't want to uninstall, then install again. that's not so "superuser"-ish, right ...
6
votes
2answers
31k 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 ...
25
votes
6answers
47k 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 ...
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 ...
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 ...
21
votes
3answers
8k views

Does Notepad++ have a minimap feature?

I'm not really sure what to call the "minimap" feature of a text editor. For example, Sublime Text has what I would call a Minimap feature. A skinny map on the left side where you can click to get ...
9
votes
1answer
5k views

How to activate disabled cloud settings save option in Notepad++?

I received an update from Notepad++ and noticed a new option that allows you to save to various cloud storage services. However, some of the options are disabled. How do I enable them?
4
votes
1answer
7k views

How to make notepad++ the default editor for a Windows batch file?

In Windows, if you right-click a .bat file, there's an "Edit" option, which opens the .bat file with notepad. How do I make Windows use Notepad++ instead? Note that this is different from the ...
2
votes
2answers
1k views

Automatically use specific language in Notepad++ for files with no extension

Specifically, I want NPP to remember to use Ruby syntax highlighting whenever I open a Vagrantfile. These don't have an extension, and I tried adding "Vagrantfile" to the user extensions in the style ...
18
votes
2answers
17k 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 ...
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' ...
2
votes
1answer
8k views

How to add something every x line

How do i add Keyboard : E : KeyDown DELAY : 1300 Keyboard : E : KeyUp DELAY : 200 TO Every X Line in a text document?? anyone? =) Like every 9 line i want == Keyboard : E : KeyDown DELAY : 1300 ...
1
vote
8answers
24k views

How to insert time and date, and the directory path in Notepad++?

I just downloaded Notepad++ v 5.3.1 and I'm having two problems with the TextFX plugin: I recorded a macro with "TextFX Insert" > Date & Time (no matter whether short or long format) and, after ...
18
votes
1answer
5k views

The Notepad++ tab bar keeps hiding

Is there a way to always force the tab bar to show? I go to Settings → Preferences → General → Tab Bar and uncheck hide, but the next time I open Notepad++, the tab bar is gone, even ...
3
votes
1answer
7k views

Delete all text before and after a certain string

I have some URL like the following http://www.SOMEURL.com/first-category/1343381-example-text-text-text-text-2000-a.html What I want is to simple delete all of the text before and after the number ...
2
votes
3answers
10k 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 ...
9
votes
1answer
2k views

Is it possible Notepad++ to change the theme based on current filetype

For example, if I open a text file, notepad++ would open it in 'default' theme. But if I open a php file for instance, it would open it in 'custom_theme1'. I know notepad++ is highly extensible, so I ...
9
votes
3answers
5k views

Show/Hide function folding margin on Notepad++

Is it possible to get rid of the function folding margin on Notepad++? It seems like the sort of thing that should be in the prefs but I'm not seeing it anywhere.