• 0 Votes
    1 Posts
    228 Views
    No one has replied
  • 0 Votes
    2 Posts
    251 Views
    PeterJonesP

    The icons for .ini and .cfg files can be changed by the operating system, just like every other file type. They are just using the default textfile icon supplied by Notepad++ because all text files (and by default, Windows considers ini and cfg as text files) have been associated with Notepad++ on your computer. This is not a decision made by Notepad++.

    Google for “windows 10 how to change icon for extension”, or similar, will probably result in helpful links

  • 0 Votes
    2 Posts
    234 Views
    PeterJonesP

    This FAQ explains the process for making feature requests.

  • Notepad++ 7.8, having issues with the save dialog

    3
    0 Votes
    3 Posts
    553 Views
    PeterJonesP

    You have brought up two very different issues.

    The first is regard keyboard accelerators: I can confirm that in 7.7.1, when you try to close new 3, you used to be able to hit Y or N to respond, and it would listen. In 7.8, it did not listen to me. (And @Alan-Kilborn’s citing of the issue#6223 shows it’s not just us.)

    The second is regarding Yes to all and No to all. My experiments show it is working correctly. If you have three edited unsaved files open, and you try to close just one (for example, new 3), then there is no “all”, there is just the “one”, so it doesn’t give you the options of Yes to all and No to all. If you use File > Close All or equivalent (including exiting Notepad++ with periodic backup disabled), it will enable the Yes to all and No to all, because there is more than one file to respond to.

    (Yes, I see this is mostly a detailed duplicate of @Alan-Kilborn’s post at this point. It wasn’t when I started, because he hadn’t posted yet.)

  • 2 spaces or more in the text filename ?

    3
    0 Votes
    3 Posts
    218 Views
    ?

    Thank you, gurikbal singh
    It seems to do the trick :)

  • Notepad++ in SCCM Managed Environment

    6
    0 Votes
    6 Posts
    3k Views
    fralbertF

    @Richard-C : of course we have the line
    <GUIConfig name=“noUpdate”>yes</GUIConfig>
    in C:\Program Files (x86)\Notepad++\config.model.xml

    and we also replace the update url in C:\Program Files (x86)\Notepad++\updater\gup.xml :
    <InfoUrl>https://localhost.php</InfoUrl>
    to avoid NP++ manual updates.

    (x86) if you have the 32bits version…

  • please add user defined skin `Zenburn` in this community settings

    2
    0 Votes
    2 Posts
    314 Views
    Alan KilbornA

    @gurikbal-singh

    What does that even mean? : “in this community settings”

  • Monitor (tail -f) prompts to reload file

    13
    2 Votes
    13 Posts
    16k Views
    Manuel RomeiroM

    @SinghRajenM Yes, it’s exactly that issue.
    I’ll continue using the functionality knowing that limitation.
    Thanks

  • Scrpit for automating multiple "search in Files"

    3
    0 Votes
    3 Posts
    354 Views
    Arhack BifrostA

    @Alan-Kilborn Thanks for your answer yes you are right there is such commands i guess, that what i noticied by looking at Scintilla documention, but i still wonder how NotePad interpret this messages

  • NPPFTP setup with two factor authentication

    5
    0 Votes
    5 Posts
    1k Views
    PeterJonesP

    @kiranunix said in NPPFTP setup with two factor authentication:

    I followed these steps . It works. i am able to connect with Two factor authentication .

    Great news.

    Are there any settings to do sudo login to another user ?

    That’s not an option I’ve heard of for any ftp client (though I am not an expert). Sorry.

  • How to automatically make lot of Notepad or .txt (plz help)

    2
    0 Votes
    2 Posts
    379 Views
    dinkumoilD

    @Rotua-Frans-Manalu

    Though the solution for this task is a very simple Batch script I won’t post it here for two reasons:

    This is a Notepad++ user forum, i.e. it’s intended purpose is to help fellow users having problems with Notepad++ and its features and with tasks that can be solved with Notepad++ itself or with a little help by one of its plugins. The solution of this problem is so easy that you have to put only little effort in it to solve it by yourself. Moreover you will learn something useful. Hint: google for batch for loop, the for /l variant is your friend.
  • Preferences option to show only one line in search results

    2
    0 Votes
    2 Posts
    1k Views
    Alan KilbornA

    @Hans-Schulze said in Preferences option to show only one line in search results:

    Which use case needs all the search hits explicitly listed as a separate result?

    Often people are short-sighted when they complain.

    Here is the answer: When a line in the Find-result window is double-clicked, the editor window is adjusted to find the match. If multiple matches per line occur, the logic needs to know which match should be highlighted and the caret placed at.

    To produce just one line in the Find-result window for a line in the editor window that has multiple matches, use this type of regular expression find-all: ABC(?-s).*? This will find the first matching ABC on a line and will include the rest of the line in that match. Thus, even if the remainder of the line contains more ABC, there is only one match for the line. Disclaimer: I’m not near Notepad++ right now where I can test the above, so I can only say I think it will work. It may need some tweaking.

    Should be easy to implement.

    This is a great statement, most often cited by people that have no clue about software development. Perhaps the OP will respond and say they are a long-time software developer; to which I would then say “Shame on you for making such a statement, then”. :)

  • Can't open files with spaces in name

    4
    0 Votes
    4 Posts
    1k Views
    toubeptT

    @PerterJones That was it. Thank you very much. :)

  • VPAT for Notepad++

    5
  • Multiply value

    2
    0 Votes
    2 Posts
    729 Views
    PeterJonesP

    regular expressions in search-and-replace are powerful, but they don’t have built-in arbitrary math expressions.

    If all you wanted to do was replace all instances of Size1 = 20,40 with Size1 = 40,80, that would be easy. If you just had the two sizes, you could use some alternating expressions in the regex replace to make sure the right source got replaced with the right replacement in all the files. But if you have an arbitrary number of SizeN = XXX,YYY, where N, XXX, and YYY all have many values, then crafting a regexp to do that would be an exercise in futility, because you’d have to provide all possible combinations (and you’d miss one)

    You need a programming language, where you would then have to extract the data from each line of your file, do the math, and write to a new file (or use in-place editing features of your language of choice).

    You could write that code in Notepad++. If you use PythonScript or LuaScript plugins, you could even run that code on files that are open in Notepad++. But it really is not a task specific to Notepad++, and the problem is not something that Notepad++ can solve for you.

  • How to implement Notetab outline files?

    5
    0 Votes
    5 Posts
    845 Views
    David SpectorD

    I’ve got this task done. It should be useful to others moving from NoteTab to Notepad++.

    I’ve added an end-of-outline-entry symbol “End=Entry” that should appear at the end of each entry. I’ve also written a migration program in PHP to insert these end-of-outline-entry symbols automatically into outline files (.otl). I’m using the “.out” extension for the output of this program. These .out files will be “outline” files in Notepad++.

    Here is the migration program:

    <?php //--------------------------------------------------------------------// // Program to migrate .otl files to .out files // Springtime Software, David Spector, 10/3/19, public domain. //--------------------------------------------------------------------// define("NL"," "); $FileName=GetGetArg(); $PathIn="$FileName.otl"; $PathOut="$FileName.out"; $C=file_get_contents($PathIn,true); $Lines=explode(NL,$C); // Delete two header lines array_shift($Lines); array_shift($Lines); $firstLine=true; $bloat=0; foreach ($Lines as $n=>$Line) { $R=preg_match('@^H=@',$Line,$F); if ($R && !$firstLine) { array_splice($Lines,$n+$bloat,0,"End=Entry"); ++$bloat; } $firstLine=false; } // Terminate last entry array_splice($Lines,$n+$bloat+1,0,"End=Entry"); $C=implode("\n",$Lines); $BytesOrFalse=file_put_contents($PathOut,$C); function GetGetArg() { foreach ($_GET as $ArgName=>$ArgVal) { return $ArgName; } // Each expected arg } // GetGetArg ?>
  • Severe performance degradation of new forum

    6
    3 Votes
    6 Posts
    841 Views
    MeMyselfAnd_IM

    I have seen the loss of connection a number of times

  • 0 Votes
    1 Posts
    283 Views
    No one has replied
  • 0 Votes
    5 Posts
    889 Views
    dinkumoilD

    @Ekopalypse said in How to change the match higlighting tags in notepad++ like sublime?:

    @dinkumoil - maybe something your ExtSettings plugin might offer too?

    Done, see download page and announcement in the forum.

  • Suggestion to add a search criteria

    2
    0 Votes
    2 Posts
    242 Views
    Alan KilbornA

    @Abhilash-Guha

    72d07c16-5090-4228-8bda-6d5be528e092-image.png