Questions tagged [notepad++]
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.
2,889
questions
0
votes
0
answers
81
views
Shrink line height in Notepad++
To increase the line height in Notepad++ you can change the Brace Highlight Style or the Line Number Margin to a larger font size as described here:
How do I fix line spacing in Notepad++?
But ...
16
votes
3
answers
22k
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 ...
23
votes
6
answers
38k
views
How to recover a Notepad++ lost session
I had my Notepad++ with at least 50 opened files on it, organizing all my work.
I left the computer as always hibernating overnight and surprise, this morning all was gone.
An error message popped ...
2
votes
1
answer
78
views
Sorting a Wikipedia table by numerical value in a text document?
I've been working on a 3474 line table. Getting the information was easy, capturing the needed information from public online sources. But I came across a problem.
The table is by default sorted ...
13
votes
4
answers
14k
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 ...
9
votes
2
answers
17k
views
Different colorisation for Json properties and values
Using N++ to quickly inspect Json, I have the following issue:
Everything has the same color. Properties / Text Values.
In the N++ Style Configurator, there is no option for Value and Property Name. ...
1
vote
3
answers
7k
views
how to remove all zero width space from the text?
I know how to use regular expressions to do the mass search and replace task in editing program
But I don't have or can't find the entire list of zero width space unicode. I quick searched the google ...
1
vote
2
answers
3k
views
How can I organize files opened in notepad++ by project
I usually have 20 or so pages open in notepad++ and would like to somehow group the related files together so that I can more easily navigate between related files. I've read about the project feature ...
3
votes
1
answer
6k
views
Regex find duplicate of partial string
Im stuck with regex command, to find duplicate of partial string.
1st problem:
This is what I have in my file
1;0197CE75;BC702
2;01966666;BC702
3;018B9AC5;BC702
42;018B9E21;BC702
6;018B9AC5;BC702
...
1
vote
1
answer
4k
views
Adding Markdown Syntax recognition to NotePad++ via UserDefineLang.xml
I want to add Markdown as a language to NotePad++. I've downloaded the UserDefineLang.xml file from this GitHub Project.
As I understand it, I am supposed to simply copy the UserDefineLang.xml file ...
0
votes
1
answer
128
views
How do I find and delete a string at end of a line?
I have lines with this kind of data:
SEQ 338 13 OPS POSN 1 THRU 10 LANG KO 3 MO TU WE TH FR SA SU
----------------------------------------------------------------------------
SEQ 339 6 OPS POSN 1 ...
0
votes
0
answers
504
views
Windows 11: Issues with opening a text file containing accented characters
I'm having some issues in the way in Windows 11 Pro is handling text files. I live in a two language environment - English and French.
For several years I have been using a number of Excel VBA macros ...
0
votes
1
answer
5k
views
Notepad++ how to ignore a word in lines on notepad++ using "find in files"
Helly everyone,
I am struggling to find out how to exclude a word in a line of text in notepad++
I am using the "find in files" option to search through many large log files.
My search ...
2
votes
1
answer
114
views
Notepad++ Recording a Macro with searches in it
I'm using Notepad++ to edit a calendar ".ics" file.
I've used simply macros before but can't get this one to work.
I need to find the text "cancelled", then go back 6 rows (ok so ...
3
votes
1
answer
3k
views
Notepad++ Syntax Highlight: How can I set a delimiter with spaces?
I'm creating my User Define Language in notepad++, and I have a delimiter set like this:
open: try
escape:
close: :
But when I type entry, the try gets highlighted, as the delimiter I've set. How ...
2
votes
1
answer
2k
views
How do I add a character at the end of every other line and delete its carriage return
I'm using Notepad++ 6.6.8
How do I add a character at the end of every odd line and also delete its carriage return, so that the next line connects with it.
For example I want this text:
present
...
0
votes
1
answer
683
views
Overriding The Notepad++ File Size Limit
I had a text file I was working with in Notepad++, which I accidentally closed and now I can't open it again because it says "File is too big to be opened by Notepad++".
I was editing it ...
8
votes
4
answers
25k
views
How do I sort lines in numeric order in Notepad++?
Using Notepad++ v6.6.8 with TextFX.
How do I sort lines in numeric order rather than alphanumeric?
That is I want lines to sort like:
1
2
10
11
15
20
not:
1
10
11
15
2
20
1
vote
1
answer
154
views
How to save Notepad++ Compare plugin settings?
I would like to save the color settings of the Compare plugin in Notepad++.
The following example shows the problem.
It happens only on a pc (at work) where I'm not the administrator.
I have no ...
0
votes
1
answer
7k
views
Notepad++ adding commas to the end of words
I want to add commas to the end of words but the problem is some of the words have more than one word in it for example:
Accent Colors
Anti-Social Protagonist
I have a list of the words i would ...
0
votes
2
answers
29
views
When I try to complete the process of "How to delete all text except for what's inside quotation marks?" nothing occurs and no edits were made?
How to delete all text except for what's inside quotation marks?" nothing occurs and no edits were made?
This is what I did:
Ctrl+H
Find what: (?:^|\G)[^“”]*(“[^”]*”)
Replace with: $1 (Note: ...
0
votes
1
answer
98
views
Search Files of Notepad++ and remove char
I am attempting to use Notepad++ to remove underscores from the end of text names in both the file name and file itself of a GUI.
The underscores were erroneously added to fulfill an 8-char minimum ...
8
votes
4
answers
21k
views
File encoding not preserved after saving in Notepad++
I'm using Notepad++ for editing my PHP scripts.
However, I found a strange problem: when changing the encoding from ANSI to UTF-8 (without BOM), saving, closing, re-loading – then checking encoding: ...
10
votes
3
answers
4k
views
Notepad++ writes a lot to disk after closing
I decided to open the disk usage statistics in Resource Monitor, and discovered that after closing notepad++.exe, even if there were no files open, a large write to the disk occurs. In the first ...
1
vote
1
answer
143
views
If the Account has Expired, Delete the Account Details
What regular expression would I need to delete all the expired accounts.
Name: John Smith
Address: 123 Sample Road
Country: England
Membership Expires: January 26, 2023, 9:35 am -288 Days
Plan: ...
3
votes
2
answers
322
views
Extract text between the Tags
I am trying to extract Arabic text between the two tags. Here its <Content>some text in arabic</Content>
Sample Text:
<idPkg:Story xmlns:idPkg="http://ns.adobe.com/AdobeInDesign/...
33
votes
3
answers
37k
views
Opening a text file at a certain line (shortcut)
I would like to define a shortcut key which opens a particular text file at a particular line. My preferred editor is Notepad++, but suggestions involving other editors are welcome.
How to open ...
3
votes
2
answers
3k
views
File getting corrupted when uploading with Filezilla
I have been using Filezilla for a long time, but this morning something strange started to happen when i upload from local to server.
When i upload file using Filezilla files are getting curropted.
...
0
votes
1
answer
1k
views
Remove entire parent XML in Notepad++ when specific child is not present
I have several large XML files that contain the following:
<TERM>
<ACTION>ADD</ACTION>
<TERM_CODE>1</TERM_CODE>
<...
31
votes
3
answers
26k
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 ...
101
votes
11
answers
82k
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 ++. This ...
27
votes
5
answers
34k
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: Run a program from context menu with admin priveledges (vista ...
0
votes
1
answer
75
views
For eliminate the lines with Duplicate URLs at the beginning of the line
Before:
https://en.wikipedia.org/wiki/Led_Zeppelin - Led Zeppelin - Stairway To Heaven 2
https://en.wikipedia.org/wiki/Led_Zeppelin - Led Zeppelin - Stairway To Heaven 1
https://en.wikipedia.org/...
0
votes
2
answers
117
views
Notepad++ replace dash between two random letters without spaces?
I need to replace some CSS classes from dash to underscore (- to _)
Example:
.a-2Vndt-.wrapper-1VLyxH, .people-u6dGxF.active-2UF8Zh, .ListItem-u6dGxF:hover, .ListItem-u6dGxF { }
As you can see, the ...
62
votes
14
answers
18k
views
What's that Unicode character in my clipboard?
Is there a quick and easy way to find the Unicode code point for any character? For example, I see a funny character on a web page, or a PDF file, or some other document.
What I current do is copy ...
4
votes
1
answer
14k
views
Add text at the end of the specific lines? Notepad++ Regex
How can I add text at the end of specific lines (only if a line starts with a specific word)
like this:
If a line starts with word DATA, then add this text at the end of the line: "p:120 - 4 beats"....
0
votes
2
answers
168
views
RegEx Notepad++ Search and Extract
I am looking for the RegEx search string to extract a specific entry in a single row.
Example is
{"version":"264599-1-0","exportPath":"Site Management/Site Set-up/...
0
votes
2
answers
80
views
Replace blocks of numbers: </2645>
I have a file in Notepad++ that was converted from a PDF.
I've managed to sanitise loads of nasty glitches with regex but this one escapes me.
Blocks of numbers like these:
</2478><2479>
&...
3
votes
2
answers
502
views
Closing right/left tabs in Notepad++
How do you close all the tabs to the right/left of the current tab in Notepad++?
Is there a plugin or an autohotkey script that can achieve this?
6
votes
4
answers
12k
views
How to make Word Wrap insert newlines in Notepad++
I know kate has a feature that automatically breaks a line with a newline if the line
exceeds beyond a certain number of characters like 80.
Notepad++ has a word wrap feature under the Views table, ...
0
votes
1
answer
66
views
Delete all except matched items
I want to delete all the data except matched items from my file. I am using Notepad++
I want to keep everything between <w:t> and </w:t> tags delete rest of the matter.
Sample data:
<?...
5
votes
1
answer
1k
views
Notepad++ stuck in Administrator mode, no solution but found a clue
I've notepad++ stuck in Administrator mode:
stuck in Administrator
Debug info:
Notepad++ v7.9.1 (64-bit)
Build time : Nov 2 2020 - 01:07:46
Path : C:\Program Files\Notepad++\notepad++.exe
Admin ...
8
votes
3
answers
27k
views
How to select thousands of lines
I have a text file with 200,000 lines. How do I select multiple lines, before I delete them?
Manual work is too difficult for, say, 65,000 lines.
1
vote
2
answers
178
views
Notepad++ Ctrl+Shift+Right should select until the beginning (not end) of a word
I love NPP, but it has always struck me as different that it selects until the end of a word when using Ctrl+Shift+Right instead of to the beginning (similar effect with Ctrl+Shift+Left.)
I looked ...
3
votes
1
answer
55
views
Notepad++ search result window does not respond on keyboard commands
As you might know, the keyboard shortcut ALT+SPACE opens a popup menu, which you can use to move, minimise or maximise the window you're working with.
Using this popup menu on Notepad++ in general is ...
64
votes
4
answers
56k
views
Notepad++ Is there a setting to stop from asking me to save on exit?
I'd like the option to have Notepad++ exit, and close individual tabs without asking me if I want to save every file where edited.
I tend to run with a lot of tabs open, and am capable of remembering ...
1
vote
1
answer
125
views
How to remove duplicated text on every line using Notepad++?
I want to remove duplicated words in each line using Notepad++.
Example:
Flooring Services, Carpet, Flooring Services, Tile, Flooring Services
In the above, Flooring Services is repeated 3x. I only ...
0
votes
1
answer
156
views
Notepad++ indent isn't as it appears
Often the indent I see visually differs from what happens if I copy-paste the text to anywhere else. In such cases, backspacing the indentation in N++ deletes more than one whitespace. I'm unsure how ...
0
votes
1
answer
266
views
Notepad++ define line-break (word wrap) rules
When in Notepad++ word wrap is enabled, long lines are broken according to some of the following rules:
After a whitespace character
Before a forward slash
Otherwise, if necessary, in the middle of ...
0
votes
0
answers
77
views
Notepad++: where I can get the NPPExec plugin for Windows?
When I Google "NppExec plugin", the first page is this, but no dll found. Should I compile it starting from these files?