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
5answers
2k 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
124 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 ...
2
votes
3answers
8k 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.
9
votes
3answers
4k 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. ...
5
votes
2answers
11k 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
1answer
3k 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
7k 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 ...
3
votes
1answer
2k views

How do I open 2 instances of the same file in notepad++ side by side with their own scrollbars in a single Notepad++ window?

I remember doing this a long time ago and have forgotten how I had done it. I like to do this when I have long html or php files to edit and I need part of the code from further down the file in a ...
0
votes
1answer
757 views

Notepad++ CSS Files

When I open a CSS file which has each property on a new line it inserts an extra new line in between so they have a whole line separation in between them. I would love for this to not happen however I ...
8
votes
3answers
10k 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 ...
9
votes
5answers
3k views

Does Notepad++ have an “unclose” command?

For example, I often hit ctrl+w along with ctrl+s when I'm saving documents, causing them to save and then close. I can reopen them if I use the recent files list, but I am wondering if Notepad++ has ...
1
vote
1answer
157 views

buggy notepad++ plugin manager

I seem to have this problem that when I open notepad++ it shows the updates available and when I select them to update a dialog box appears saying that updates failed. I am running windows 7 with ...
4
votes
3answers
8k views

Installing Notepad++ via WINE on Ubuntu Linux

After moving to Linux, I miss having Notepad++ with me and I want to bring it along to my new environment. I have Wine installed and downloaded the npp.5.8.5.Installer.exe. I have no idea what ...
12
votes
3answers
9k views

Notepad++: Rule based line highlighting

Is there a way to automatically highlight lines based on predefined rules in Notepad++? I'm not talking about syntax highlighting, but rather about log files readability. I'm looking either for a ...
3
votes
3answers
8k views

Notepad++ new line only inserting CR when opening empty file (0 byte text file created in Windows Explorer)

Background: I ran into a really odd issue where part of a php page just stopped parsing but only when it was uploaded to the server. Runs fine locally. The part where it cut off was after a ...
1
vote
3answers
1k views

Notepad++ Reindent XML breaks lines

I'm attempting to use Notepad++ TextFX HTMLTidy -> Tidy: Reindent XML. This works well with the following exception. Lines longer than 70 character are wrapped, breaking the validity of my xml. ...
25
votes
9answers
61k views

How to open a file for editing in Administrator mode?

I have .config files set to open in Notepad++. The files I edit are typically in protected locations (e.g. c:\windows\, c:\program files..., etc..) thus requiring administrator access. I'd like to ...
4
votes
2answers
5k views

LESS and CSS3 syntax highlighting

I found this post on SU, but it doesn't seem to address my needs exactly, so I'll ask a similar question. I normally use PSPad, and I'm also not too scared of Notepad++. They are both good editors, ...
10
votes
2answers
3k 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) ...
72
votes
4answers
71k 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++?
35
votes
6answers
21k views

How to save font settings in Notepad++

I like the vim Dark Blue style in Notepad++, but I want to use it with Lucida instead of Consolas. When I change the font to Lucida, it is never saved. Is there a way to save a custom style that ...
1
vote
1answer
2k views

Find and Replace using Notepad++

I'm trying to use Notepad++ to do some find and replace as I'm dealing with up to few thousand of lines of data. The below is the example of the data structure that i am dealing with. A = Can be any ...
49
votes
9answers
32k views

ShellExecute failed (2) error for Notepad++ on Windows 7 64bit

ShellExecute failed (2): Is this command correct? "C:\Program Files (x86)\Notepad++\notepad++.exe [location of file to edit] I seem to have some issue with RIGHT CLICK > Edit with Notepad ++. ...
3
votes
1answer
1k views

Using Notepad++ as IE7 “View Source” Application

The method described at the end of this blog entry has instructions for making Notepad++ (or any application) the default text editor for IE7's View Source feature. The problem is, the file IE7 sends ...
30
votes
2answers
16k views

Notepad++: Ctrl-S does not Save, instead inserts [DC3]; Ctrl-F inserts [ACK]

I've been using Notepad++ more as my primary code editor. Just a few minutes ago, however, I accidentally pressed some combination of keys (no idea what I pressed) and suddenly my standard shortcut ...
1
vote
6answers
10k 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 ...
7
votes
1answer
2k views

How to prevent Notepad++ search to loop?

I like when a search functionality tells me there's no more results when reaching the end of the file, rather than looping to the beginning of the file. How can I do that in Notepad++? I can't find ...
13
votes
2answers
7k views

Open http:// links from Notepad++ to default web browser

can I open http links from an notepad++ document directly to my default web browser ? Like textpad : CTRL + Click ?
0
votes
1answer
455 views

Run a script from within notepad++

I would like to include one awk sript (logtool) which will use an opened notepad++ file to perform some filtering on the file, I used to make it in ultraedit very simply, How can I make it run in ...
5
votes
2answers
736 views

How to stop warning in Notepad ++ if file has been modified from outside

How to stop warning in Notepad ++ if file is modified from outside?
5
votes
3answers
1k views

Notepad++ like editor for linux which highlights words on right clicking

What I'm looking for is the Notepad++ feature where I can highlight words on right clicking and choosing one of the 5 styles (so that all instances of that word get highlighted with that color), in ...
1
vote
4answers
2k views

Notepad++ Load langs.xml failed (Windows 7 home premium)

I tried to make notepad++ the default program I used this .bat: rem START BATCH COMMANDS rem PLEASE MAKE SURE THAT USER ACCOUNT CONTROL (UAC) IS TURNED OFF AND PC HAS BEEN REBOOTED FIRST! rem If you ...
12
votes
4answers
9k views

How to make Notepad++ open each file in new window?

There is -multiInst launch parameter that lets you open more than one instance of Notepad++, but how to make it launch a new window every time when I click on "Edit with Notepad++" or "Open With..." ...
6
votes
1answer
908 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. ...
6
votes
2answers
1k views

Configuring Notepad++ to highlight .proj files as XML

Digging around the settings, Google and Super User, I haven't found how to do this.
10
votes
9answers
21k views

Is there a Linux equivalent of Programmer's Notepad or Notepad++

I've recently switched over to Ubuntu from Windows and love it. One thing I miss is my Programmer's Notepad. I haven't found anything similar yet for Linux. Eclipse is way too big and involved for ...
16
votes
3answers
23k views

How do I change Notepad++'s console font?

How do I configure a fixed-size font for Notepad++'s console output?
3
votes
0answers
936 views

How to add support in Function List for a new user-defined language? (Notepad++ Win7 64bit)

I'm writing in a user-defined language called 'Umajin' (*.u), which has a syntax quite different from C/C++ or any ECMAScript-based language, so we've had to write in the rules for the highlighting. ...
0
votes
1answer
465 views

The backspace key doesn't work while editing C++ source files and it encounter a line break,Why and how to fix it?

I just updated my favorite edit tool notepad++ to version 5.8.1. But when i am editing a c++ source files, i can't use the backspace key to delete the current line when the cursor is at the begining ...
2
votes
3answers
957 views

Why is notepad++ blocking my autohotkey shortcuts?

I have a series of keyboard shortcuts defined in my autohotkey script. Currently, none of them work whenever notepad++ has focus. The script is loaded as usual. The keyboard shortcuts (mostly stuff ...
7
votes
2answers
6k views

Open with Notepad++ as Administrator Context Menu

I'd like to add an "Open with Notepad++ as Administrator" context menu for all files to Windows 7. I've tried the solutions listed here: ...
4
votes
1answer
766 views

Notepad++ Find/Replace

I am looking for a way to do a find/replace within a doc that will replace a variable with fields from another doc. So on doc one there are multiple instances of the following: int <x/y> int ...
0
votes
1answer
140 views

What is most important feature you miss from Notepad++? [closed]

What is the feature you are missing the most on Notepad++?
7
votes
4answers
11k 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 ...
0
votes
2answers
868 views

notepad++ remove charater 10 to 20 for example

the title says it all, I can;t find a option in notepad+ for removing for example charater 10 to 20. Do I mis something or is there a other option for it? Example: original line: <div ...
0
votes
3answers
166 views

Replicate lines containing specific words

I want to edit a file using Notepad++, in such a way that I can copy(replicate) a line containing a specific word with some minor changes -- Example -- if the file has -- lASER_BALL COMET_BALL ... ...
1
vote
2answers
1k views

Convert .haml to .html in Notepad++?

How do I set up Notepad++ to automatically run the console line "haml [filename.haml] [filename.html]" every time I update and save a .haml file?
27
votes
3answers
12k 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 ...
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 ...
6
votes
2answers
4k 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 ...