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
1answer
16k views

ANSI to UTF-8 in Notepad++

I have a text encoded in ANSI: When I tried to convert it into UTF-8 (using the Notepad++ menu Encoding > UTF-8), I get some weird characters: I thought that UTF-8 was a superset of ANSI and ...
10
votes
2answers
6k views

In Notepad++, can I copy multiple rows into the leading or trailing space of another file?

Say I have the following 2 files open in Notepad++ Is it possible to copy the text on the right and paste it into the left, so that I will end up with A copy B this C text D over ...
10
votes
4answers
83k 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 ...
10
votes
2answers
5k views

How can I indent the wrapped text in Notepad++?

How can I change Notepad++ setting so that wrapped lines gets indented automatically? Right now I have something like this: some text that wraps to next line some indented text that also wraps ...
10
votes
4answers
13k views

Notepad++ Display Printing Page Count

I have a rather large document i want to print via Notepad++, but i can't get the page count before printing. Is there a way to do it? (Assume standard 8.5"x11" paper)
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 ...
10
votes
3answers
14k views

Can I search and replace in a Notepad++ macro?

I'm trying to create a macro in Notepad++ that allows me to do a few standard Search & Replaces. I can get the macro to do everything (add lines, add characters) except search and replace. I ...
10
votes
2answers
2k views

Is there a Notepad++ feature to add some vertical space to the bottom or scroll below last line?

Whenever I'm doing some coding in Notepad++ i need to add some lines at the bottom so if i scroll down, the code doesn't stop at the bottom at the window. The problem is that I sometimes forget to ...
10
votes
3answers
6k 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. ...
10
votes
2answers
3k views

How to get a bookmarks list?

The bookmarks options in Notepad++(I'm using version 6.0) are okay, but their usefulness is limited by the fact that there is no way (that I can find) of getting a list of the existing bookmarks, so ...
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 ...
9
votes
8answers
10k views

Notepad++ Installation Error

When installing Notepad++ on Windows 7 64-bit, I receive this error: Error opening file for writing: C:\Program Files (x86)\Notepad++\langs.model.xml Click Abort to stop the installation, Retry to ...
9
votes
1answer
3k 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?
9
votes
3answers
14k 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 ...
9
votes
2answers
16k views

How can I use the Lucida Grande font in Windows?

I'm a Windows user but I want to use the Lucida Grande font in Notepad++ and Eclipse IDE. I didn't find that font listed for Notepad++ when I tried to change the font in the style configurator. ...
9
votes
2answers
8k 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 ...
9
votes
4answers
15k views

Strikethrough in notepad++

Is there anyway I can have text with strikethrough style in notepad++? I use notepad++ for my to-do lists, and being able to assign strikethrough to the highlighted text (especially if it could be on ...
9
votes
3answers
7k 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 ...
9
votes
1answer
10k views

Where are Notepad++ config files?

I know this question has been asked before and I have read many answers from various forums regarding this issue but I have never ever been able to find my actual configuration files for Notepad++. ...
9
votes
5answers
8k views

How can I reverse a line in Notepad++?

Is it possible to reverse a single line in Notepad++? Example: Hello world Would change to dlrow olleH Should I install a plugin for such functionality? UPDATE: I'd like to keep the clipboard in ...
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 ...
8
votes
4answers
5k 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 ...
8
votes
7answers
6k 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 ...
8
votes
5answers
11k 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.
8
votes
2answers
7k 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 ...
8
votes
3answers
3k views

Make Notepad++ remember a particular language for a particular file?

I have a number of files that I would like colored different ways even though they have the same extension. For example, I have some *.config files that are actually Python files and some that are ...
8
votes
3answers
5k views

Notepad++ not launching in Windows 7

On my Windows 7 64-bit, Notepad++ nor its PortableApps.com equivalent won't launch. The process and the splash appear, but beyond that it doesn't work, splash doesn't disappear. It's been like that ...
8
votes
2answers
4k views

Notepad++ isn't showing “Update Notepad++” menu item

I can't find the suggested manual update or auto-update feature in menu/settings of Notepad++. I don't use a proxy. Just a direct Internet connection.
8
votes
1answer
12k views

How Can I Find Nth Character in Notepad++?

From the following text, I'd like to find a n th character. For example, the 10th character is "u"`. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque ac arcu sit amet lorem ...
8
votes
1answer
1k views

Disabling doc list when using ctrl-tab in Notepad++

I'Is there a way to disable the "doc list" that is displayed when you switch between documents with CTRL-TAB? I'm used to editplus, where hitting CTRL-TAB simply switches the document immediately. ...
8
votes
5answers
18k views

Notepad++ Delete Lines with Find & Replace

Does anyone know how to delete a line using Find & Replace in Notepad++ ? In my Find query it finds the proper lines okay: ^.pPrev.$ In the Replace field, I leave it blank thinking the line ...
8
votes
1answer
645 views

Notepad++ ignoring search results on same line

When you perform a search of a bunch of files in Notepad++, if it finds the text you were looking for in the same line multiple times, the search results window will display the same line multiple ...
8
votes
5answers
3k views

Notepad++ Disable/Lock Zoom

Is it possible to disable or lock the zoom feature in Notepad++ ? I'm doing a lot of copying and pasting, and the zoom level keeps changing on me. It's driving me nuts!
8
votes
1answer
10k views

How to remove all the duplicated words on every line using Notepad++?

I'm working on a file containing lines with keywords and some lines contain duplicated keywords. For example: dangerous,dangerous,hazardous,perilous I want to tell Notepad++ that I want to remove ...
8
votes
1answer
9k views

JSON Validator for Notepad++?

I'm looking for a plugin that can check the current opened file and instantly tell me whether it is valid JSON or not (eg whether there's a comma or a bracket missing) — is there any? I'm currently ...
8
votes
2answers
2k views

Is there a way to turn off popups in Notepad++ macros?

I created a macro in Notepad++ that cleans up imported data through a series of regex search and replace iterations. This works well, but at each step, I get a popup telling me how many instances ...
8
votes
4answers
8k views

How can I sort the lines in a text file, by the length of each line, in Notepad++?

How Can I sort a text file by line length in notepad++? Is there any plugin available for the mentioned task? In case that there is no plugin, What is the first and maybe second tutorial to read, In ...
8
votes
1answer
3k views

Can Notepad++ be made to open file links in itself?

In Settings/Preferences, Notepad++ has an option on the MISC. tab under 'Clickable Link Settings' to the right, to Enable to open links found in the edited files. It underlines them and opens them on ...
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 ...
8
votes
2answers
10k views

How does “Autoclose braces” work in Notepad++?

When I enable the option and enter an opening bracket (or brace) it does not auto-close itself. Does auto-close have a different meaning than what I am understanding?
7
votes
2answers
10k 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++ ?
7
votes
2answers
5k views

How do I remove the last part of every line in notepad++?

I know this can be done in notepad++, but I'm not finding the right replace syntax. I want to remove the last part of this sentence, starting from ?: ...
7
votes
1answer
15k 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 ...
7
votes
3answers
12k views

notepad++ highlight colours

I like the highlighting feature in notepad++, but when using certain themes that default purple and yellow make the text unreadable, and it seems I cannot change it through style configurator. Does ...
7
votes
3answers
12k views

Selecting range of lines in Notepad ++

How do I select specific range of lines in Notepad++ quickly? I have a text file that has over 1M of lines and I need to delete some fragments from it, but selecting lines manually just takes too much ...
7
votes
5answers
4k 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, ...
7
votes
1answer
965 views

What causes 3 special characters after conversion to UTF-8?

One of our work steps involves saving an MS Excel worksheet as CSV and then using UltraEdit to convert the CSV to UTF-8 before importing it into a server system. The problem is that, after the ...
7
votes
1answer
4k 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?
7
votes
2answers
11k 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 ...
7
votes
1answer
5k views

Notepad++ Jump between opening and closing html tags

If I've currently got a html tag highlighted in Notepad++, is there a way to automatically jump to the closing tag and vice-versa?