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

0
votes
1answer
32 views

How to paste a link in many lines, instead of pasting it manually every time, using notepad++?

I hope this is possible, but didn't manage to find it. Image for clarification:
1
vote
0answers
38 views

Notepad++ does not print to console from perl script

I have following perl script: print "test: "; my $input = <>; print "result: ", $input; I made NppExec command in Notepad++: NPP_SAVE perl "$(CURRENT_DIRECTORY)\$(FILE_NAME)" When I run ...
0
votes
0answers
42 views

Corrupted text file recovery (Win7 x64)

I'm having some difficulties in recovering the contents of a .txt file. While writing to a text file, on a Win7 x64 virtual machine, the host machine crashed. After rebooting, I noticed that the ...
1
vote
2answers
38 views

How can I sort the lines in a text file, by certain character after a question mark, in Notepad++?

i have a lot of quizzes in a text file in the form : Which member of the Big Band era had the hit song 'Pennsylvania 6-5000'? Glenn Miller Who created the 201.5-meter long and 1.5-meter wide ...
22
votes
1answer
992 views

Notepad++ - “Replace with” adds new-line character after replaced text. How do I remove it?

Original text: 2### Test 123 I am doing this operation: Find what: 2### Replace with: 2###\r\nText before Result: 2### Text before Test 123 Desired result: 2### Text before Test 123 For ...
0
votes
0answers
18 views

How can I filter out from Function List?

Notepad++ has a Function List feature that allows for quick jumping to functions. This is all fine and dandy, but I find that if I'm working in JavaScript and use anonymous functions, then it quickly ...
1
vote
1answer
25 views

Notepad++ doesn't save shortcut changes

Notepad++ ver 6.6.3. Settings - Shortut Mapper - Save All - change to F5 This works inside the current session, but next time - the default shortcut values are loaded. How can I save the changes, ...
0
votes
2answers
34 views

Weird behavior when launching app from CMD with/without start

I am writing a batch file Version 1: "c:\Program Files (x86)\Notepad++\notepad++.exe" start explorer . Version 2: start "c:\Program Files (x86)\Notepad++\notepad++.exe" start explorer . V1 ...
0
votes
1answer
39 views

How to use a regex to organize song lists, changing their order from “Song - Artist” to “Artist - Song”?

I have a long list of songs in the format "Artist - Song", but I want them to be listed as "Artist - Song". How to change all items automatically with a regular expression, preferably on Notepad++?
0
votes
1answer
34 views

Notepad++ disable document tab undocking

I have had a little look around for the answer for this, but not too sure if I'm using the correct wording :/ Basically, my little sister is using notepad++ to learn some coding, and she has butter ...
0
votes
1answer
45 views

Printing from Notepad++ without word wrap

Is it possible to print from Notepad++ without word wrap? If so, please explain how. (Background: When I print blocks of code, I need word wrap turned off because the indentation of the code is more ...
0
votes
1answer
31 views

Selective Find & Replace to pretty up my C code in Eclipse or Notepad++

I am working on a old C code which have debug statments like this: debug(1, "SomeDebugStmt %s %d", someString, someNumber); ... debug(2, "another SomeDebugStmt number 2 %s %d", anotherString, ...
1
vote
1answer
166 views

How can I replace “/>XXXXX”/> with "/> within a selection

I have a CSV file which I am editing with Notepad++. There is a section of about 500 consecutive lines where I want to replace "/>XXXXX"/> with "/> where XXXXX are numbers. Is there a way to ...
0
votes
0answers
31 views

Can I apply a regex to file filter on Notepad++?

I have a folder full of xml files, and I want to search through them for a particular ID. However, I only want to search the files that are of the format hello_apple_01.xml, hello_apple_02.xml... ...
1
vote
1answer
66 views

Opening a text file in notepad++ and refreshing it at regular interval of time using a bat file

i want to open a text document in notepad++ through bat file which i have achieved . this is the command i am using to open a file. %SystemRoot%\explorer.exe "D:\path of file\file.log" Secondly as ...
0
votes
1answer
37 views

Notepad++: Keyboard Shortcut to Switch Views

I often use Notepad++ in a split-view like shown in the image below. I am really lazy and hate lifting my hand to use my mouse to switch focus from the left view to the right view and vice-versa. ...
1
vote
2answers
93 views

Remove quotation marks around a number (while leaving other quotes)

I want to replace all text like this: "latitude": "32.336533", with this: "latitude": 32.336533, I'm using Notepad++.
0
votes
1answer
53 views

How to show menu bar in notepad++? [duplicate]

The menu bar in notepad++ is missing. I have tried to remove plugins, even reinstate the program, still menu bar is hidden. Any ideas ?
-1
votes
1answer
78 views

How to remove extension association using regedit.exe?

Following my post here - Can't un-associate .css extension from Visual Stdio 2013 and the suggested solution - Why are certain default application associations "locked"? What do I ...
0
votes
1answer
28 views

Smart selections (between quotes) for notepad++

def "Abc the quick brown fox jumped over def" print "Hello World" end Suppose my cursor is somewhere between abc and def, how can i make notepad++ select the whole text between the double quotes? ...
0
votes
1answer
68 views

Can't type backslash in Notepad++

When I type the backslash key on my keyboard, nothing happens in Notepad++ I have been using Notepad++ for years and only recently - I think I first noticed this a couple months ago - this started ...
-1
votes
2answers
38 views

Adding characters at the end of multiple lines [closed]

What I have: hello What I want: hello1 hello2 hello3 hello4 hello5 But with around 1500 numbers and the word isn't hello. I want to use Notepad++ for this. I don't wanna have to do find: $ replace ...
0
votes
1answer
35 views

Associate .less files with notepad ++

I just love notepad++ however I'm working with .less files and when I open a .less file it's just a normal text not a language (css) no code highlighting is there a plugin or something to make ...
1
vote
3answers
167 views

How to open the tail of 8 GB log files using Notepad++ in Windows?

How to open the tail of 8 GB log files using Notepad++ In Windows? I used Notepad Document Monitor but don't quite get how to use it. I start monitoring and then what? How do I select the large file? ...
1
vote
1answer
23 views

Highlighting search results in Notepad++

I have just downloaded Notepad++ as I use it to work with large data. I usually search for lines missing data so I do CTRL+F and search for ,, as that means my data is missing. After it gives me the ...
0
votes
1answer
59 views

How to disable notepad++ autocomplete

I want to turn off autocompletion on words in notepad++ Or at least have something more discreet.
0
votes
2answers
23 views

Styling a word for all documents in Notepad++

I'm using a program that generates some files with no extension and I'm opening them to see whether it is related to me or not looking at some words in the file. What I need is some plug-in or ...
0
votes
1answer
53 views

How to change Notepad ++ cursor

I was playing around with a friend of mine and accidentally hit a bunch of keyboards on my Windows 7 laptop. I had Notepad ++ open at the time and when I came back to see what I was typing, the cursor ...
0
votes
0answers
29 views

How to use silver searcher in notepad++

On windows, silver searcher is my favorite to search code. and silver searcher is more accurate than the notepad++ internal searcher. Do you know how to use silver searcher within notepad++? and make ...
-1
votes
1answer
59 views

Remove lines with more than 3 words?

I'm trying to remove lines with more than 3 words in Notepad++. I can't seem to find the expression for "word" on google, and I can't use the "number of characters" as it wouldn't be feasible.
1
vote
1answer
68 views

Remove Lines with Less than X number of letters Notepad++

How do I remove lines with less than X number of letters/numbers? I see the options to replace words, but that's about it. I've done some Google searches and I have not been able to find this ...
0
votes
1answer
30 views

Notepad++ Removing lines with X number of same words

I do not want to specify the words, I just want to automatically detect lines with similar words. For example, all these lines would be deleted due to having 2+ similar words. Lovely days in the ...
0
votes
0answers
23 views

Different background colors for different file types in notepadd++ [duplicate]

Is there a way to have different background colors, or different themes for different file types or programming languages in notepad++? For example I want to have a dark theme when I have a C++ code ...
2
votes
0answers
39 views

Edit file side by side for translation in notepad++

I have to translate a lot of files in multiple languages. I would like to use notepad++ with "move to the other view" then "Synchronize Vertical Scrolling". The document is written so that lines are ...
0
votes
1answer
346 views

How to align text in notepad++ from left to right margins?

How can I align text to left and right margins by adding extra space between words as necessary? I'm looking for something like the Justified alignment (Ctrl+J) option in Microsoft Word.
0
votes
1answer
85 views

How to solve Notepad++ crashes after DSpellCheck plugin misconfiguration (Dos)?

When you open notepad++, click on plugins and go to DSpellCheck and then click Settings. In the "hunspell dictionaries path" field, enter about 4000 to 80000 'A'. Then it crashes. When it is opened ...
0
votes
1answer
34 views

Automatic Copy to clipboard when deleting bunch of text

Since some time I noticed an irritating behaviour on my PC (Windows 7). Whenever i have a bunch of text. Want to copy part of it (to clipboard), and later select remaining text and delete it with ...
1
vote
1answer
34 views

Remove duplicate strings Notepad++

I have two tabs opened in Notepad++. One contains 450 strings and the other has 180. How do I remove the 180 which also occur in the list of 450?? I'm aware of find and replace - but how to do this ...
1
vote
1answer
116 views

Add-remove folders of left-side of “Save As”, Notepad++; other applications?

I'm in Win 7. In Notepad++, I have the following in my save-as dialog: I would like to change this list! I would like to remove: 1. "Recent Places", which doesn't work at all, 2. ...
1
vote
1answer
37 views

How to remove characters from a matching string?

I want to remove spaces from a list of phone numbers. The phone numbers are in the following format: "+33 x xx xx xx xx" most of the time (quotes included). Spaces can be placed differently. In ...
0
votes
1answer
64 views

How to use Advanced Editing in Notepad++ or similar

I would like to be able to edit sections of text in the following way. I might have a section as seen below. Example. Instance=wall { VisGroups=(32) MeshFile=wall.gmt CollTarget=False ...
1
vote
2answers
70 views

Replace all, “But” Regex Notepad++

I have a text file with lines looking like the one below : ('8510851205', 'needthishere', '', ''), I need it to remove everything and leave only needthishere on every single line. How would I do this ...
1
vote
4answers
115 views

How to extract specific parts of a large batch of strings?

For example. 64d134a354eb2bf43626a73091514a2d:QMP0R\khOiPmkW1>bP,_-NTY4%-!P#:a123456 7d057d46b88f2cf4845dec57be4f3158:iR+LE[SQ\R~~o*+CCNL?i)mC>$G:U#:123321 ...
0
votes
1answer
57 views

Notepad++ exclude starts with a two digit number

I would like to exclude anything that starts with 87. By combining the first two digits, I can find lines that start with ^8+7 or ^87. But I was trying to use ^[^8+7], but it doesn't seem to work. I ...
0
votes
1answer
45 views

Share Notepad++ NppFTP profiles

I have 4 computers I use in my house that I use for freelancing. I have been racking my brain trying to find a way to share the profiles from one to another without having to drag and drop the files ...
2
votes
1answer
43 views

Notepad++: Add tab at the beginning of a multi-line match found with regex?

I have text formatted like this: :AGG NUMBER 1 :TYPE Alfa any text 1 line 2 anythihng :END :AGG NUMBER 2 :TYPE char other any text 1 line 2 :END I need to add a tab character at the beginning of ...
2
votes
1answer
58 views

Notepad++ blockwise code fold/unfold (recursive)

Is there a way to fold/unfold a selected block of code in notepad++? I am aware of the shortcuts alt0 and altshift0 (Fold/unfold all), but this is not what I am looking for. I usually start by ...
2
votes
0answers
62 views

Notepad++ autocomplete HTML comment tag

I've recently enabled N++ autocomplete feature to close HTML/XML tags for me. My problem is with the HTML comment tags: it tries to auto-close them! I type: <!-- comment --> And it ...
0
votes
1answer
23 views

Multiple files opened as a single tab?

I'm trying to have a single tab open with more than one file, such that when I run bulk replaces, searches, or other macros, and such that when I want to browse through my application, I won't have ...
1
vote
1answer
62 views

Notepad++ replace every 3rd and 4th iteration

I'm using notepad++ I'm wondering if it's possible to replace every 3rd and 4th iteration in lines of HTML. The original code looks like: <div class="ui-bar ui-bar-d" <div class="ui-bar ...