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

2
votes
1answer
3k views

What does blue highlight mean in notepad++ when writing a script file (.sh)?

What does blue highlight mean in Notepad++ when writing a Unix script file (.sh)? For example, in: for i in {0..16};do (awk '/AvgSeqDepth/ {while (getline > 0) print $3}' `${array[$i]}`) >> ...
3
votes
5answers
6k views

How can I tell how many bytes a block of text in an email takes up?

I'm trying to find out how many bytes of data a PORTION of an email is taking up (not the whole email). How can I find this out? Maybe there's something in a text editor like notepad++ that could ...
1
vote
1answer
888 views

Add Alt keyboard shortcuts to TextFX menus in Notepad++

Is there a way to add Alt keyboard shortcuts (usually shown as an underlined letter e.g. File > Save) to the TextFX menus in Notepad++ 5.8.6 (the last version before the huge ugly Find dialog)? As I ...
5
votes
1answer
3k views

Special characters in Notepad++ user defined language files

I use Notepad++ as my main editor when writing HTML files. The default html.xml API file that defines the autocompletion rules for HTML files always annoys me, because it's full of ...
3
votes
1answer
655 views

Plugin for Notepad++ 5.8.6 to list bookmarks of current file

Is there a plug-in for Notepad++ 5.8.6 (the last version before the huge ugly Find dialog!) to list all bookmarks set for current tab in a dockable window? The user should be able to jump to any ...
1
vote
1answer
94 views

Change the actually displayed EOL symbol in notepad++ to ¬

So, when I show EOL characters I get this ugly bulky symbol, I'd like to change this somehow, prefferably to ¬ And not (LF) or (CR), but something less disturbing and distracting. Any ideas?
7
votes
2answers
4k 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 ?: ...
0
votes
1answer
1k views

creating regions for Notepad++

How Can I create regions for a user defined language in NotePad++? I found that in View->User Defined Language menu, we can type keywords that I want it to use for region open and closing so I typed ...
4
votes
3answers
6k views

In notepad++ how can i execute script (like using F5) but with every save (ctrl+s)?

I am doing something like this in my F5 command (execute) C:\Python27\pythonw.exe G:\my_python_script.py I want to run this script everytime i save file. When i save this command as ctrl+s, ...
3
votes
4answers
7k views

How to restore a previous version of file in Notepad++

I would like to restore a previous version of file that has been saved. My computer has crushed during work on one of the Files in Notepad++. When I started it again it went blank and few days of my ...
2
votes
1answer
2k views

Get a tab delimited column in Notepad++

Is there a way to take data that is separated by tabs (bonus points for columns delimited by any character), and just get the first (or second, or whatever) "column" selected? Generally speaking, I ...
3
votes
2answers
2k views

How to select thousands of lines

I have a text file with 200.000 lines - how to select multiple lines, before I delete them ? Manual work is too dificult for, say, 65.000 lines.
1
vote
2answers
2k views

Notepad++ RegEx does not work with min and max occurence

I want to find two or more (max 9) white-space characters and replace it with newlines. My RegEx syntax is as follows: [\s]{2,9} However, Notepad++'s RegEx doesn't seem to work with curly braces. ...
5
votes
1answer
1k views

NotePad++: styling the text before the assignment in an INI file

Using the Style Configurator, Notepad++ does not have a preference to change the style of text before a colon : or equals sign = in an *.ini file. It is a trivial detail, but it would help make ...
6
votes
1answer
12k views

Notepad++ regex Replace, using match variables

In Notepad++, I want to perform a find-and-replace, providing a variable in the 'Replace with' field, which references a match from the 'Find what' field. Any ideas? I tried supplying (find) foo (\w) ...
0
votes
1answer
444 views

Sublime Text package similar to NppExec?

Anybody know of a package for Sublime Text 2 that will let me execute a shell command, save shell commands, run the currently-open file? I miss the utility of NppExec from Notepad++, in which I would ...
1
vote
2answers
2k views

Notepad++/Regular Expression to find line with same beginning, different ending

So, I've read a bit and found NotePad++ doesn't use "normal" regex (starting to think I'll just go back to SciTE), but here's my question: I've got an exported list of data with some redundant data ...
0
votes
1answer
1k views

regex pattern for various number groups

I am parsing a list of code numbers, they have a pattern of 12345.1211. They are space delimited. They sometimes will have a space followed by one - three addition number patterns like: 1221.121 11 ...
5
votes
3answers
9k views

Windows Notepad and Notepad++ show newlines in same file differently

I created a Perl script which gets some data and inserts it line by line to a text file. When I open that file with Notepad++, it appears to have an empty line separation between each two lines of ...
4
votes
5answers
3k views

Notepad++ not opening from certain locations

For quite some time now, I experience a weird behavior of Notepad++. I associated .xml files to Notepad++. For most of the time opening .xml files works fine. Sometimes though, the file won't open if ...
3
votes
1answer
1k views

Stop NppExec from trapping console output until program finishes

I'm using Notepad++'s NppExec plugin to execute Python scripts from within Notepad++. I notice that Python console output produced with the print() statement doesn't appear on the Notepad++ console ...
4
votes
1answer
1k views

Change layout of dockable windows in Notepad++

Is it possible to change the layout of dockable windows in Notepad++? When I organize tool windows (like FTP explorer or FTP log window) they stick to the edges this way only: I'd like them to be ...
2
votes
2answers
662 views

Cutting & Pasting Vietnamese characters from a PDF

I'm trying to copy/paste a bunch of Vietnamese text from a PDF document to Notepad++ (or anything, nothing works). The pasted text is different than the source text. What would be the best way to go ...
7
votes
1answer
893 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 ...
5
votes
1answer
5k views

Notepad++ open cmd in current file's directory

Is there a way (probably a macro) how to open cmd in current file's directory? Say I am editting a file D:\foo\bar.txt and would like to open cmd in D:\foo\. It would really help running various ...
1
vote
3answers
1k views

Notepad++ with HexEdit won't run in Windows 7

I use Notepad++ v5.9.6.2 (Unicode) on Windows 7 (64 bit) and I have installed the HEX-Editor v0.9.5 plugin. The problem is that only administrators now seem to be able to run Notepad++. With guests ...
13
votes
4answers
15k views

notepad++ plugin manager shows no available plugins

I remember the manager shows a list of available plugins by default but I find it does not. Could something be wrong?
3
votes
1answer
4k views

Notepad++: I want to highlight questions in multiple colors?

I've written a script in Notepad++, and I want to highlight individual lines based on who is speaking. I'm just trying to find a place where I can change text color or background color for individual ...
3
votes
1answer
138 views

How do I set icons and description of file types associated with Notepad++?

I tried using Nirsoft's File Type Manager to change the icons and file descriptions of individual file types associated with Notepad++. However, if I change the icon of one file type, all of the other ...
0
votes
1answer
484 views

Text editor to colour code rich text format (Rtf) commands

Is there a program which can read and colour code Rtf code in its text editor? Notepad++ supports the coloring of many languages such as C++ or Javascript, but Rtf isn't supported (it's not exactly a ...
10
votes
1answer
5k views

Why is Notepad++ so slow when dealing with files stored on a network share?

Recently Notepad++ seems to be very slow when dealing with files that are located on a network share. I am editing small files (e.g. web.config) and it is slow to: Initially open a file on a ...
1
vote
1answer
893 views

wrap selection around … in notepad++

Is there any way to wrap the selected text in ',",),},],> or around any symbol in notepad++? I have looked around all of the plugins but there is nothing similar to what Textmate or eclipse can do.
6
votes
2answers
2k views

How do I add “input” to my macro, to replace text in Notepad++?

I'm trying to make a macro with an 'input' pop-up dialog that synergizes with the replace feature. It should go something like: "Paste text->ask for input->replace variable in pasted text with input ...
3
votes
1answer
7k views

Notepad++ IntelliSense - How to?

I'm looking for a good IntelliSense solution for Notepad++. Does anyone know a good plugin?
1
vote
1answer
3k views

Running Oracle script from Notepad++

Can we configure Notepad++ to run an Oracle script? I mean, once we wrote some script (assume a PL/SQL script containing a procedure), can it be compiled from Notepad++ editor itself? If it is ...
3
votes
2answers
2k views

Text editor to find and replace in columns for multiple HTML files?

I have a server, and I need to change around 1200 HTML files. Is there an editor that will find and replace columns in multiple files? Currently, I am using Notepad++ for editing, but I'm struggling ...
16
votes
1answer
4k views

How can I hide the toolbar in Notepad++?

I never use the toolbar in Notepad++. Is there any way I can hide it? I'm talking about this part:
2
votes
1answer
543 views

How to display current time in Notepad++ console dialog?

I am trying to display the current timestamp in the console dialog of Notepad++. If I give the command in the Execute... dialog echo %time% I get %time% ================ READY ================ ...
1
vote
1answer
2k views

Search & replace with wildcards and variable length strings in Notepad++

I am trying to edit a series of strings in Notepad++ using search & replace. What I'd like to do is to search for a particular piece of HTML code, then delete a portion of it. The challenging ...
3
votes
1answer
5k views

MATLAB syntax highlighting in Notepad++

I'm using Notepad++ to edit MATLAB .m files. It works well in most respects, except that it seems that the lexer hasn't been updated to be compatible with recent version of MATLAB. In particular, it ...
0
votes
1answer
287 views

End previous Proccess when a new one is called using NppExec

The message comes up saying would you like to send the exit command so you can run you new proccess. well yes I would but I would like to always do this. There has to be a way to add this in line to ...
5
votes
1answer
1k views

Is there a way to save the code folding in Notepad++?

When editing a large file, I like to collapse code fragments using the + symbols in Notepad++'s sidebar. However, the code is completely unfolded when I close and reopen a file. Is there a way to ...
11
votes
4answers
12k 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 ...
1
vote
1answer
329 views

notepad++ to search a line for varied strings. advanced commands

here it is ab12@zmial.com, Charles Dawson cd21@zmial.com, ef23@zmial.com, gh32@zmial.com, ij34@zmial.com, mn45@zmial.com, op54@zmial.com, Queen Roffman qr56@zmial.com, kl43@zmial.com, ...
3
votes
2answers
3k views

Why can't I install this Notepad++ plugin on my older computer?

I'm trying to install the nppColdFusion plugin that enables ColdFusion syntax highlighting in Notepad++. It installed easily on my home computer (Windows Vista, using Notepad++ version 5.8.6). ...
6
votes
1answer
1k views

Auto hide Notepad++ console dialog?

I use Notepad++ for development and the NPPExec plugin to execute the code. To execute, I press Ctrl-F6 to Execute the program. This invokes the console dialog to show the output of the compiler. ...
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 ...
3
votes
3answers
3k views

How to associate *.java files with notepad++ editor?

I found that I am unable to do this in usual way (on Windows 7 prof x 64). When I open "Open with..." dialog I see no notepad++ in list. So I press "Browse" button and select it explicitly. But after ...
2
votes
1answer
2k views

how to block select, move, copy, paste in vi?

I am trying to migrate from Notepad++ to vi. In N++, I constantly rely on block edit (or "column mode"), as it is a great increase in productivity: I can select a rectangular area of text by pressing ...
1
vote
1answer
518 views

How can I avoid using the cursor keys in Notepad++?

I've started programming after an 8 year break. I'm using Notepad++ and I like it, but taking my hand away from the main keyboard to the cursor keys to get around the file is really slowing me down. ...