Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • pellelinP

      How can I do a search that results including/highlights the file name, the folder and the HDD name?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      16
      5
      0 Votes
      16 Posts
      439 Views
      guy038G
      Hello, @pellelin, @mpheath, and All, Oh…, @pellelin, in my previous post, I forgot to mention confidentiality and sensitive information. Of course, I completely understand why you don’t want to send me your summary file! However, if you could send me an example — even a shorter one, with any personal information removed — I’m sure I could find a suitable replacement, using regular expressions ! I only need the text’s formatting / text’s frame, not the words themselves . BR guy038
    • EkopalypseE

      DAP client plugin

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      13
      3 Votes
      13 Posts
      550 Views
      EkopalypseE
      @PeterJones said: Now if it worked with PythonScript, so I could single-step while debugging N++ automation To enable debugging of Python scripts, you need a local Python installation and must install the “debugpy” module. Of course, the PythonScript plugin must also be able to access the local Python installation. My test configuration looks like this [python.script] debugger = "C:/PortableApps/npp/notepad++.exe" debugger_args = ["-pluginMessage=PythonScript=run_in_debug_mode=C:/repos/nppdebugger/tests/debuggees/python/test_pythonscript.py"] mode = "tcp" host = "127.0.0.1" port = 5678 launch_args = '''{ "program": "C:/repos/nppdebugger/tests/debuggees/python/test_pythonscript.py" }''' In addition, you need a script to configure debugpy accordingly. import os os.environ["PYDEVD_DISABLE_FILE_VALIDATION"] = "1" from Npp import console, notepad import debugpy import re def main(): cmd_line = notepad.getCommandLine() if "-pluginMessage=PythonScript=run_in_debug_mode" in cmd_line: debugpy.configure(python=r"C:\python\python314\python.exe") debugpy.listen(('127.0.0.1', 5678)) console.write("Waiting for DebuggerApp to attach on port 5678...\n") console.show() matches = re.search(r'-pluginMessage=PythonScript=run_in_debug_mode=(.+?)(?>;|$)', cmd_line) if matches is None: console.writeError("Script to be debugged was not provided") return target_file = matches.group(1) debugpy.wait_for_client() console.write("PythonScript thinks this file is: " + __file__ + "\n") with open(target_file, 'r', encoding='utf-8') as f: script_content = f.read() code_obj = compile(script_content, target_file, 'exec') env = globals().copy() env['__file__'] = target_file env['__name__'] = '__main__' exec(code_obj, env) main() The key factors are the debugpy lines and the fact that the correct script is called as soon as the client connects to debugpy. So, start debugging and run the script in the new NPP instance, and then you should be able to step through it. EDIT: and of course the new v.0.0.2 version of NppDebugger is needed
    • donhoD

      Notepad++ release 8.9.6.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      37
      1 Votes
      37 Posts
      5k Views
      fml2F
      @donho no I didn’t, but the last installations worked without problems and I have not done anything in the installation folder. Anyway, the program works now, and I’m apparently the only one who experienced the problem, so no need to investigate it further. Thank you for the time taken!
    • Sergey SS

      Please add automatic file saving to the directory

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      9
      0 Votes
      9 Posts
      271 Views
      Sergey SS
      @PeterJones said: Notepad++ copies the current contents of the file on disk Yes, function “Backup on save” does exactly that, it’s not suitable. I need to save the current version of an open document. I will use third-party software to save a copy of the file on external flash disk to the specified directory on the PC. Writing plugins for Notepad++ is very interesting, but there is absolutely no time for it. Thank you.
    • rednoise0R

      Jump List not being added to

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1 Votes
      9 Posts
      378 Views
      rednoise0R
      @PeterJones - Yes! It works that way for me, too. That’s the magic bullet - have Windows to add it to the Open With list, which triggers creating the file in AutomaticDestinations\ which will then start collecting file names. I now have my jump list back. Thanks for helping me puzzle this through. I have a few files that I use daily and this makes my work flow much more efficient.
    • S

      Find & Replace & Mark re-organization proposal

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      8
      0 Votes
      6 Posts
      43 Views
      PeterJonesP
      @shodanx2 said: Provide live counts for search, that update as you type, eliminating the need for the Count button entirely as well as providing prev/all/next counts Yikes! You apparently don’t use large files and/or exceedingly complex regular expressions. Even I have very-rarely needed to run searches that take minutes to run (and some unfortunate users must do that much more frequently than I do). The search engine can only run one search at a time, so every time I updated the regex, it would have to wait minutes to update the “live” count(s) before I could run the replacement I wanted. No thank you.
    • tenchyUKT

      possible to delete almost duplicate lines?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      103 Views
      tenchyUKT
      @PeterJones Thanks again. I think I’d need to do that myself to learn it fully, bit like you can’t learn to drive from a book… I wish I’d asked about this years ago! I periodically create these files which may start with 2 or 3000 lines and end up with around 1500 lines after exact dupes are removed. I then compare with CTRL ALT C with the compare plugin to the master file which is about 16K lines. I then manually add completely new lines if found to the master file. And any that have the 2 letter in the new file that aren’t in the master file, I add though two letters in to the master. Having these lines in the new file: G7ODA,IO93WS, G7ODA,IO93WS,PE, Does tend to confuse the compare plugin so this will make life easier for me! thanks again
    • Em776102E

      What if I made Notepad++ available for mobile?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development notepad starter android
      3
      0 Votes
      3 Posts
      80 Views
      Pull_it_allP
      @Em776102 not sure what your use is, for example in termux on android you can use nano. For most quick edits it’s enough I guess… Need something more advanced, use: Acode - code editor | OSS Surely it’s not our beloved notepad++, but quick search may reveal even more alternatives.
    • donhoD

      Having a Ferrari is cool, but without driving skill it's just a expensive chair

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      3
      1
      6 Votes
      3 Posts
      143 Views
      Lycan ThropeL
      @xomx , Dave Bowman: "Open the pod bay doors, HAL. " HAL: “I’m sorry, Dave. I’m afraid I can’t do that.” [image: 488a3017b34fe587.png]
    • EvgenyVenalainenE

      UDL keywords do not work for Cyrillic letters at encoding other than ANSI or UTF

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      3
      0 Votes
      3 Posts
      108 Views
      EvgenyVenalainenE
      @peterjones Yes, mostly the issue is for end user. Thanks for complete explanation!
    • Taras TkachenkoT

      Where did the "plus" for creating new files go?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      65 Views
      PeterJonesP
      @Taras-Tkachenko , No version of Notepad++ has such a button on the tabs bar. There is one on the far right of the menu bar (beyond the ? menu): [image: 1780441214049-dbd16aed-078a-4380-be71-254794b615fc-image.jpeg] That one can be turned off using Settings > Prefeerences > General, where there’s a setting ☐ Hide right shortcuts + ▼ ✕ from the menu bar – if you checkmark that, and restart, then it will hide those three symbols. Notepad++ never sets that option by default, so maybe you accidentally set it at some point. If it’s checkmarked, just uncheckmark it, and restart, and those three buttons will be back. But, again, Notepad++ doesn’t have a similar button on the tabbar (and never has). You can, however, double-click to the right of the tabs, and it will create a new tab without needing to find the symbol [image: 1780441370585-7b98eeb8-54c3-49c2-bb2c-1ca8c9df8891-image.jpeg] User Manual on related topics: https://npp-user-manual.org/docs/preferences/#general https://npp-user-manual.org/docs/user-interface/#tabs
    • deleeleeD

      Snippets won't stay pinned to any side other than default

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      101 Views
      rdipardoR
      Explained with a proposed fix at https://github.com/ffes/nppsnippets/issues/77#issuecomment-4602799602
    • jabcreationsJ

      Increase Fold (Plus/Minus) Code Bracket Size?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      70 Views
      PeterJonesP
      @jabcreations said: The only “people” using 800x600 these days are bots. That’s an absurd exaggeration. Whether or not there’s anyone on 800x600, there are plenty of people still using 1920x1080 monitors. (In case you don’t believe me, per April 2026 Steam HW/SW survey, more than 50% of Steam users are running at 1920x1080. So it’s still reasonable behavior for more than half of users – and that’s skewed toward gamers, who are more likely to have “fancy” tech; I am confident that in general, even higher percentage is still using 1920x1080.) Did I miss something or does this need to be a feature request? Could it be improved for 4K users? Likely (I’ve never used a 4K monitor, so I have no experience). There’s a long-open set of 4K issues in the official tracker, and it wouldn’t surprise me if this were already one of the open issues remaining… You might want to search the 4K issues in the repo to see if it already exists. But in the meantime, what’s your OS display scaling set to. Normally, with 4K, it’s somewhere in the 150% to 200%, IIRC from other posts. But if you’re at 100%, then of course GUI elements will be tiny.
    • Geoff TaylorG

      Run - Serurtiy Warming 8.9.6.1

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      96 Views
      PeterJonesP
      @Geoff-Taylor , That is the effect of one of the “security fixes” that prompted v8.9.6.1’s existence. See my reply to see more of the implications of the security changes, and note the discussion it spawned
    • BernardB

      Folder in Workspace Click on Line Containing File Name

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      142 Views
      PeterJonesP
      @Bernard said: this is to request feature id est Folder Workspace responds to clicks on line containing file name if the click is on blank area beyond end of file name . Interesting idea. I see no harm in asking for it. However, this is the Community of Notepad++ users. Our feature request FAQ explains the process for checking for existing requests and adding a new request if it doesn’t already exist.
    • smcclosrS

      Inability to save file to OneDrive with 8.9.6 version of Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      468 Views
      PeterJonesP
      @smcclosr said: Not 100% user if this version addressed this specific issue, It almost definitely did not. The changes between 8.9.6 and 8.9.6.1, as announced in the forum and by looking at the git-diff at GitHub, were completely related to vulnerability fixes (COPYDATASTRUCT, removing commandLineInterpreter hidden config file option, and making it harder for saved-Run-menu entries from shortcuts.xml to run apps from non-approved directories), and do not seem in any way related to OneDrive. (And least, I don’t see how any of them could affect saving of files to OneDrive) My guess was the change in v8.9.6 that changed behavior relative to v8.9.5 was the “saving dirty read-only files” fix (but that’s just a guess… and it wasn’t changed/reverted in v8.9.6.1, so that doesn’t seem a plausible explanation for your experience.) but it is resolved for me now. Hopefully it stays that way. Good luck.
    • PeterJonesP

      Warning: Spammers are getting better

      Watching Ignoring Scheduled Pinned Locked Moved Blogs
      11
      5 Votes
      11 Posts
      8k Views
      PeterJonesP
      In a humorous anecdote, I just rejected an AI spam post that titled itself (translated from the original language): “AI Super Student”. If all AI bots would be kind enough to announce themselves as AI, that will make our jobs as moderators so much easier. Thank you. ;-)
    • guy038G

      New displaying of the "Search Results" panel

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1
      0 Votes
      2 Posts
      209 Views
      guy038G
      Hi, All, From the @pellelin’s post, here is an improvement of my previous post : I now added the complete path of each file , followed with a \ character and the file name ! Once any Search Results panel is displayed : Hit the Ctrl + A shortcut Hit the Ctrl + C shortcut Open a new tab ( Ctrl + N ) Paste the Search Results contents in this new tab ( Ctrl + V ) Run the option Edit > Line operations > Reverse line order ( IMPORTANT ) Now, open the Replace dialog ( Ctrl + H ) Uncheck all box options FIND (?-si)^\tLine\x20+(\d+)(?=(?s:.+?)^\x20\x20(\u:.*\\.+)(?=\x20\())|^\x20\x20\u.+\R REPLACE ?2\2\t\1\t Check the Wrap around option Select the Regular expression search mode Click on the Replace All button Now, re-run the Edit > Line operations > Reverse line order option ( IMPORTANT ) Finally, save this new tab for future study within N++ or Excel ! Now, @pellelin, if you don’t have already the Columns++ plugin installed in your configuration, I kindly advice you to install it ! After installation of this plugin, close and re-open Notepad++ First, run the Plugins > Columns++ > Elastic tabstops option Then run the Plugins > Columns++ > Convert tabs to spaces option Now, in order to right-aligned the line numbers, do the following regex replacement : FIND (\d+)(\x20*)(?=\x20:\x20) REPLACE \2\1 With the same parameters, in the Replace dialog, than above ! For example, I did a search of the word the, whatever its case, in Normal mode, on any .txt file of an USB key Search "the" (77312 hits in 507 files of 590 searched) [Normal] I got an INPUT file of 51,5544 lines for about 10,2 Mb And, after the above process : Reverse line order Regex Replacement Reverse line order Which took 82s, I got an OUTPUT file of 51,047 lines, for about 12,2 Mb, with Complete file path, Line number and Text, all aligned [image: 1780319031552-b25954ec-283c-4b15-9603-bf0d370d3c2d-image.jpeg] Best Regards, guy038 P.S. : In this version, I didn’t report the number of hits. If this information matters too, just ask me about it !
    • Pull_it_allP

      [New Plugin]Instantaneous Dark/Light theme switch (+automatic switch mode)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      1 Votes
      3 Posts
      366 Views
      Pull_it_allP
      @Abdellah-Hss Hello thanks for this input, I thought I had to provide all system versions in order to be accepted to admin plugin list. Today I’ve added ARM64 version and will fork the admin list to update it asap. Thanks for the feedback I actually didn’t know the way to publish it via official channel. Hopefully once I get through with this process it will make the list and be easier accesible. Edit I’ve just added the plugin to official list on x86, x64 and ARM64. Till the next update you can only install it via dll or bat installer I provided on github.
    • donhoD

      Notepad++ release 8.9.6.2

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      2 Votes
      1 Posts
      1k Views
      No one has replied