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

10
votes
2answers
10k 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 ...
5
votes
7answers
17k 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 ...
178
votes
2answers
63k 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 ...
39
votes
6answers
47k 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 ...
22
votes
3answers
35k 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: ...
180
votes
6answers
75k 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?
36
votes
3answers
19k 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 ...
36
votes
3answers
14k 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 ...
11
votes
6answers
20k 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 ...
10
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 ...
7
votes
2answers
13k 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
6k 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
780 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 ...
9
votes
5answers
13k 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.
1
vote
3answers
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 ...
91
votes
1answer
42k 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?
52
votes
1answer
75k 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 ...
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 ...
46
votes
1answer
38k views

Sorting lines in Notepad++ without TextFx plugin

Current version of Notepad++ is 6.6.3. Version 6.5.2 is the first, that introduced native (without plugin) sorting function to Notepad++. At least that's what they claim. Because, even though we're ...
59
votes
3answers
38k 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 ...
15
votes
5answers
46k 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 ...
14
votes
2answers
4k 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) ...
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 ...
18
votes
3answers
6k 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 ...
12
votes
2answers
5k 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?
7
votes
1answer
4k 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?
17
votes
2answers
12k 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 ...
12
votes
1answer
4k 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 ...
1
vote
2answers
673 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 ...
15
votes
1answer
4k 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
5k 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 ...
1
vote
8answers
22k 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 ...
8
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 ...
7
votes
3answers
9k 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)
7
votes
3answers
4k 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.
6
votes
1answer
1k views

Why is notepad++ writing to my new document?

I updated notepad++ and it started writing to the screen. I quickly closed it not knowing what it was, but now I'm curious do I have a 'hacked' copy of notepad++?
4
votes
1answer
552 views

Notepad++: Save code folding status or open collapsed

I have found similar questions as http://stackoverflow.com/questions/9157518/how-to-save-collapse-status-in-notepad and Is there a way to save the code folding in Notepad++?. And ...
3
votes
1answer
728 views

Notepad++ clone view - more than 2

Is it possible to have more than 2 (3 or 4) clone view of a file in the same notepad++ instance? If yes - how? Any plugin for this purpose? Thank you.
3
votes
1answer
325 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 ...
2
votes
2answers
180 views

I want to use Notepad++ with Dropbox but the option is disabled even though Dropbox is installed

I'm using Notepad++ on several computers, and rather than saving locally on each one I want to save to my Dropbox. There is an option in Notepad++ to do this, but it remains disabled. According to ...
2
votes
1answer
597 views

Create a hotkey /keyboard shortcut to close the Notepad++ Find Results window

I have always wished that Notepad++ had a keyboard shortcut for closing the Find Results pane / window that appears when I do one of the following: Find All in All Opened Documents Find All in ...
2
votes
1answer
670 views

Possibilities of splitting Notepad++ into more than 2 windows

I would like to open 4 Notepad++ windows at once, in the same pannel. Currently, I am only able to split it into two, and would like to know if there is a plugin that enables 4 views at at same time, ...
1
vote
1answer
137 views

Can I filter and sort email ids in notepad++ and other text editors?

I have a txt file which has around 20000 email id. I want to know email count from gmail, yahoo, ymail, googlemail, aol, live,custom domain, gmx, and other temporary emails separately. And also i need ...
1
vote
1answer
2k views

How to merge lines every 3 rows in Notepad++?

Like this: A B C D E F G H I To this: A B C D E F G H I It's a 2500 rows file, so i wouldn't just ctrl+j it.
0
votes
1answer
71 views

Notepad++ Deleting everything apart from 40 variables, putting them on their own line, combining regex

I am in Notepad++. I have the following data embedded in a large html file. I want to get the variables before the </ix:nonNumeric> at the end of the lines, onto their own lines by themselves so ...
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 ...
-1
votes
3answers
93 views

Replace a character in middle of characters using regular expression in notepad ++

These are the variable names in a C code its been used in like 100 files i need to replace it by small cases as shown below in a folder having like 100 files any one please help me out how to do it ...
151
votes
5answers
93k views

Notepad++ is unable to load langs.xml, why?

Whenever I open NotePad++ the following error message appears: --------------------------- Configurator --------------------------- Load langs.xml failed! --------------------------- ...
76
votes
10answers
138k 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 ...
46
votes
2answers
89k 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.