All Questions
92
questions
0
votes
1
answer
75
views
How to make line breaks strictly under the numbering line in Notepad++?
How to make line breaks strictly under the numbering line? The screenshot shows that the first line is moved to the beginning of the next one. But subsequent lines are strictly indented:
How to make ...
0
votes
2
answers
83
views
Notepad++ find value with regex and replace to value that find with another regex
i have a string:
...some values...<id1>10052023</id1>...some others...<id2>306689461795</id2>...
i need to replace value between id1 with value from id2, is it possible to do ...
1
vote
0
answers
51
views
Is There a Way to Make a Mainstream Code Editor Treat the Contents of a Database Field as if it were a Code File?
I'm working with a scriptable CAD/CAM system that runs on Windows 10 whose built-in code pane is not very useful. The user-defined scripting code for this CAD/CAM system is not saved in text files, ...
0
votes
0
answers
101
views
Errors caused by running a C program containing file operation using notepad++
#include <stdio.h>
int main()
{
FILE *fp;
fp = fopen("text.txt", "w");
char c;
while ((c = getchar()) != '!') {
if (c >= 'a' && c <= 'z'...
0
votes
1
answer
722
views
Open multiple .bat files with NotePad++ using a .bat file
Currently I use .bat files such as the following to open multiple .yml files across different location:
START "C:\Program Files\Notepad++\notepad++.exe" "D:\Location 1\settings.yml"...
2
votes
1
answer
6k
views
How to open file with notepad++ in command line. (start notepad++ create new file instead of open current file) (Windows)
I would like to open file in windows command line like :
start notepad++ currentFile
Actually those works
start notepad++ "C:\Users\user\currentFile"
or
"C:\Program Files (x86)\...
-2
votes
1
answer
829
views
Notepad++ - Find duplicate lines by first word
I've been searching on the internet to solve my problem and read through several Stack Overflow topics but I can't get it working.
So I have multiple files with translations. Each line contains one ...
0
votes
1
answer
224
views
Why does IDEA open large file faster than NOTEPAD++?
My friend got this as an interview question. I'm curious about the answer.
My thought is
IDEA is allowed to use more memory than NOTEPAD++
IDEA will show the first hundreds of lines first, while ...
1
vote
0
answers
95
views
How To Remove both duplicates (original and duplicate) from text?
I need to remove both duplicates (2 or more repeated) like:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
result:
[email protected]
[email protected]
There is a way to do it ...
-2
votes
1
answer
94
views
How to replace all fields with trim(field_name) for all string automatically in notepad++
there is a text file containing
A string,
B Date,
C string,
D Date,
E string,
F Date,
and so on...
required to replace all field with string as an entry with trim(field_name)
trim(A) string,
...
0
votes
3
answers
547
views
Notepad++ : Remove everything except digit and hyphen pattern
Notepad++ : I have a file with phone numbers, all are of type 123-123-1234
I need to match the pattern any3digitsDASHany3digitsDASHany4digits and delete anything that does not match this pattern
I ...
3
votes
1
answer
1k
views
Get current path when running Python from Notepad++
I run Python scripts in Notepad++ using this command
cmd.exe /K "C:\InstallPython\python.exe" "$(FULL_CURRENT_PATH)"
it works, but it works not great.
When I run
exec(open("raw_ticker_list.lua")....
1
vote
2
answers
10k
views
Append text at the end of all files in a directory
I have a directory with over 100 text files.
How can I append the word "END" at the end of every file within that directory?
0
votes
1
answer
1k
views
How to disable encoding in a text-editor?
This is such a basic question I am surprised I could not easily find an answer to it:
I use Notepad++ to write my scripts in. Someone sent me some code for a shell script (.sh) that I could modify to ...
0
votes
1
answer
808
views
Chinese character are in different sizes in some apps (Eclipse, Notepad++, MSSQL)
I'm using Windows 10 pro and for some reason when I'm having Chinese character in any coding related program which not allows setting directly a Chinese font, most of the characters shown in a normal ...