• Notepad++ release 8.9.6.1

    Pinned Announcements
    31
    1 Votes
    31 Posts
    3k Views
    donhoD
    @fml2 Did you check if NppExport.dll is read-only in your system?
  • DAP client plugin

    Notepad++ & Plugin Development
    7
    3 Votes
    7 Posts
    233 Views
    EkopalypseE
    @Lycan-Thrope you bring me a new feature to try and work into the package I’m sooorrrryyy :D get up to speed on this DAP and In short, it is essentially a “standard” for how an application should communicate with a debugger. The communication itself takes place via JSON with a header section and is transmitted either via stdio or TCP. Each side can send a request, which must be answered by the other side with a response, and in addition, both sides can send events, which are simply pieces of information that do not require a response. It looks like this Content-Length: 139 {"seq":29,"type":"event","event":"stopped","body":{"allThreadsStopped":true,"hitBreakpointIds":[1],"reason":"breakpoint","threadId":13008}} Content-Length: 46 {"command":"threads","type":"request","seq":9} Content-Length: 180 {"seq":30,"type":"response","request_seq":9,"success":true,"command":"threads","body":{"threads":[{"id":10932,"name":"2: tid=10932 \"\""},{"id":13008,"name":"1: tid=13008 \"\""}]}} Content-Length: 47 So, to make your dbase debugger dap-compatible, you need to wrap it in this layer and interpret it: In the previous example, the client asks: Which threads are currently running? And the dbase adapter would then have to convert this into dbase debugger commands and return the result wrapped in JSON. Of course, not all debuggers can support every feature, which is where capabilities come into play. Before the actual debugging begins, the client and the debug-adapter exchange information about what each is capable of, and only the appropriate requests should be used thereafter. along with all the IRL chores I have to get done this season Those are exactly the things that keep holding me back. I have no idea who came up with them, but… can’t we just fire that person? I mean, obviously I’m not the only one this affects. :-D
  • Jump List not being added to

    Help wanted · · · – – – · · ·
    3
    0 Votes
    3 Posts
    111 Views
    PeterJonesP
    @rednoise0 , It works with 64-bit for me. I think jump list is mostly in the Windows side of things, so my guess is it’s on the OS’s end, maybe in the way you uninstalled vs installed, or some such. Update: You might want to read the results of recent research I did in this jump list related issue in the repo: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/17948#issuecomment-4246404470 It should give you some things to look for to figure out if Windows is trying to update the jump list or not
  • 0 Votes
    1 Posts
    38 Views
    No one has replied
  • Please add automatic file saving to the directory

    Blogs
    9
    0 Votes
    9 Posts
    106 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.
  • 0 Votes
    3 Posts
    62 Views
    EvgenyVenalainenE
    @peterjones Yes, mostly the issue is for end user. Thanks for complete explanation!
  • 0 Votes
    5 Posts
    325 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.
  • Notepad++ release 8.9.6

    Announcements
    2
    3 Votes
    2 Posts
    2k Views
    PeterJonesP
    @donho , https://community.notepad-plus-plus.org/topic/27545/inability-to-save-file-to-onedrive-with-8.9.6-version-of-notepad indicates that there might be a regression with the ability to save to OneDrive…
  • Word frequency list

    Blogs
    2
    0 Votes
    2 Posts
    104 Views
    guy038G
    Hi, All, Second and last post regarding the Word_Frequency macro ! Now, a simple example : Open the change.log file of the last release v8.9.6 Do a stream selection of all the points of the v8.9.6 release, ONLY. So, the lines below : 1. Fix vulnerability (CVE-2026-46710) of v8.9.4 & v8.9.5 installer. 2. Fix x86 installer regression of not showing installation entry in Control Panel's "Unstall a program". 3. Fix x86 installer regression where context menu not installed or uninstalled correctly. 4. Fix UAC prompt display regression (“Notepad++ installer” instead of “Notepad++”) for Notepad++ v8.9.5. 5. Fix incorrect bevaviour when saving dirty read-only files. 6. Fix regression where saving a UDL file removed XML declaration. Run the Word_Frequency macro. You should get, at once, this OUTPUY text : 1 : 1 2 : 1 3 : 1 4 : 2 5 : 3 6 : 1 9 : 3 CVE-2026-46710 : 1 Control : 1 Fix : 6 Notepad : 3 Panel's : 1 UAC : 1 UDL : 1 Unstall : 1 XML : 1 a : 2 bevaviour : 1 context : 1 correctly : 1 declaration : 1 dirty : 1 display : 1 entry : 1 file : 1 files : 1 for : 1 in : 1 incorrect : 1 installation : 1 installed : 1 installer : 4 instead : 1 menu : 1 not : 2 of : 3 or : 1 program : 1 prompt : 1 read-only : 1 regression : 4 removed : 1 saving : 2 showing : 1 uninstalled : 1 v8 : 3 vulnerability : 1 when : 1 where : 2 x86 : 2 If you prefer a ordered list ignoring the case, simply insert the regex replacement, below <Action type="3" message="1700" wParam="0" lParam="0" sParam="" /> <Action type="3" message="1601" wParam="0" lParam="0" sParam="(?x-i) \u+" /> <Action type="3" message="1625" wParam="0" lParam="2" sParam="" /> <Action type="3" message="1602" wParam="0" lParam="0" sParam="\L$0" /> <Action type="3" message="1702" wParam="0" lParam="640" sParam="" /> <Action type="3" message="1701" wParam="0" lParam="1609" sParam="" /> Right before the sort line : <Action type="2" message="0" wParam="42059" lParam="0" sParam="" /> Here is the trick to get the right number of occurrences when > 99,999. Search for any remaining ¶ character with the regex ¶+ . Let’s suppose you have this line : the : ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶97371 As the number of consecutive ¶ is 23, the exact of occurrences of the word the is : 23 × 10000 + 97,371 i.e. 327,371 occurrences Remember that the first thing to do, before running the Word_Frequency macro, is to select part or all current file contents ! Best Regards, guy038
  • Cannot open xml files

    General Discussion
    3
    0 Votes
    3 Posts
    168 Views
    PeterJonesP
    @CJBlake1 , Rereading my original response, that came out harsher than I intended. I got interrupted with real life, and had decided to post as-is, before I had a chance to audit my post, so it was too “raw”. What I was really trying to say: I don’t think the specific version of Edge is really relevant to your issue. I am assuming that you used to have XML associated with Notepad++, and then suddenly it wasn’t anymore. Unfortunately, many applications (Edge included) have programmers who think that there software is the only one that matters, and that they should “take back” their favorite filetypes (like XML), regardless of decisions a user has already made. So I’m assuming that some recent update in either Edge itself, or in Windows in general, caused Windows to change (or reset) the default application for the XML filetype. There is nothing that Notepad++ can do to prevent the OS or an overeager application from hijacking the filetype. The best thing you can do in a situation like this is to use the OS tools to re-associate the filetype with the program you want. In Windows 11, the most reliable method for doing that seems to be using the Open With from the right-click menu: right click on an XML file, choose Open With, select Notepad++, and be sure to say, “always use this app from now on”.
  • Search++: A work in progress

    Notepad++ & Plugin Development
    97
    5 Votes
    97 Posts
    12k Views
    CoisesC
    @guy038 said: First, regarding the bug I mentioned in my two previous posts, I also detect it with native N++ and, for example, the Find Results panel : Thank you for that additional information. I had a suspicion this was a Notepad++ behavior not really related to the plugin. I have not been able to reproduce it. It is possible that it is dependent on some detail of your operating system or drivers. Since you can reproduce it without any plugin, I suggest adding it as a Notepad++ issue if you think it is worth further investigation. It could be that others will be able to reproduce it, perhaps including someone who can run Notepad++ under debug and close in on what is going wrong.
  • HOW Do You Add Keyboard Shortcuts

    General Discussion
    13
    0 Votes
    13 Posts
    5k Views
    PeterJonesP
    @Italian-menu , Why in the world would you think your post helpful? “depending on what you’re using” – of course they are using Notepad++. This is a Notepad++ forum. If you cannot give a human-created Notepad++ -specific answer, don’t bother posting.
  • 0 Votes
    5 Posts
    265 Views
    rdipardoR
    This issue is one of the most consistently duplicated on the forum, for example: “Highlight HTML and CSS” “CSS comments should be in GREEN” “css formatting not working on embed style sheet…” etc. @peterjones’s initial reply is the correct one. You can also refer to this more detailed explanation regarding the current limitations of Lexilla. For now, a relatively simple way to edit HTML documents with embedded style and script highlighting is to use the tree-sitter plugin. Note that only “light” style themes are currently supported, and you will have to manually download and extract the configuration files to get it working. [image: 1779564282293-npptreesitter-v110.png]
  • 0 Votes
    17 Posts
    874 Views
    AlanRobbo 69A
    Thank You Everyone for your Time and Effort.
  • New useful plugin (Language Selector)

    General Discussion
    4
    1
    2 Votes
    4 Posts
    240 Views
    Abdellah HssA
    GitHub repository: https://github.com/hassaine-abdellah/npp-language-selector PS: I commented the code well so the curious developer can understand how it works.
  • 0 Votes
    3 Posts
    222 Views
    Dev NullD
    @PeterJones Thanks!
  • 1 Votes
    2 Posts
    284 Views
    Abdellah HssA
    @Invert-BD Nice addition to the software. But it would be better if it was downloadable via the plugin admin (I didn’t find it there). That would make significantly more people know it, otherwise most Npp users won’t even know that it exists.
  • Issues with the Preview HTML plugin

    Notepad++ & Plugin Development
    17
    0 Votes
    17 Posts
    971 Views
    rdipardoR
    @Robk-Blue said: If I close the PreviewHTML pane before closing NP, it will work when I open the app next time. Yes, closing it before quitting will stop the Docking Manager from trying to relaunch it. I’m guessing you also have an active session of unsaved files? I’m not sure, but it could be that reloading files from a session doesn’t trigger a preview refresh the way that manually opening the file does. If it happens again, just save the file and reload it with Ctrl+R. Another thing is that your version of TextFX is really old. For reference, version 0.2.6 has been incompatible with Notepad++ for several years: https://sourceforge.net/p/npp-plugins/bugs/354 You should remove or rename the NppTextFX plugin folder, open the Plugins Admin installer, and download it again from the current source: [image: 1779246861901-npp-v893-plugin-list-v193.png]
  • 0 Votes
    2 Posts
    200 Views
    PeterJonesP
    @shodanx2 said: I have a few observations to make about the function pane and a few improvements to propose. I could not find the keybind, is there one ? Not by default. But like all menu commands, you can assign one with Shortcut Mapper, if you want one. There are more menu entries in Notepad++ than there are keystrokes available, so not every menu entry gets a keystroke. I propose LeftALT+F by default ? As far as I have been able to tell, the way that Notepad++ internally handles shortcuts doesn’t distinguish the left and right alt keys. It’s just “Alt” as the modifier. Unused horizontal space It seems there is this horizontal space, maybe it’s useful in another language, but for me, there isn’t anything useful in that space. Maybe it should be reduced somehow ? That’s the way that treeview controls generally work. I think it would take a huge amount of development effort to customize or re-create oit. X. Function filtering In my language, functions which begin with “" … It would be great to be able to hide functions that start with "”. but have a toggle button to show them if I suddenly need them. Interesting feature idea. I’m not sure how easy that would be to implement. But this would be the first thing you said that I would think would be worth putting in an official feature request. (If you think that this Community Forum is the place to make feature requests, you need to read the Feature Request FAQ) X. Resetting the function search X. function search length has a maximum ! I haven’t used the function search feature enough to be able to comment on those. If other users agree with you on those items, they could each go in as separate feature requests. X. The function search sidebar is somehow, never the right width ! I don’t know why, but I am constantly adjusting the width of the function search sidebar. I don’t know why I can’t just set it once and forget it. Presumably just the right width, I shouldn’t need to touch it again. But somehow, I don’t know what I do, but I do move and resize notepad++ a lot with AltSnap and I end up often having to readjust the function sidebar width. I don’t know that there’s anything the developer can do to fix that. If you are accidentally resizing it, he cannot prevent it. The docking panels are designed to be resizable. And I struggle to hit that narrow width to drag it. Hmm… Do you have a high-DPI monitor? Because on my old-fashioned 100%-scaling setup, it seems to me to be the same width as any size resize control in any windows application. Beside what could be done to automatically have it be “the right size” automatically. “The right size” is meaningless. Everyone disagrees on what that would be, which is why it’s user controlled. Besides, all the docking panels share the same basic control, and everything docked on the right (for example) shares the same width… so what would be “perfect” (in your opinion) for the FunctionList on the right might be too small for the DocumentList (for example) on the right. I suggest these. Make middle-click-drag allow drag-resizing of the sidebar I seem to remember that was suggested elsewhere in the forum, and that someone wrote a script for the PythonScript plugin which could do that. But maybe it was just a related thing I’m remembering. search, search. Okay, this discussion is what I was thinking of (the “move the ‘other view’ separator” portion. I haven’t studied the scripts provided, but if one of them addressses the separator, my guess is that it could be modified to work on the docking-separator instead. X. The function sidebar cannot be docked to the other view separator The docking code for Notepad++ hasn’t been set up to allow “dock to middle” (which would be made more complicated because sometimes the views have a vertical separation when they’re side-by-side, an sometimes a horizontal separation when they are stacked top/bottom). I think there’s already an existing official feature request for dock-to-middle, so you might want to search through the existing features (make sure to remove the “open” filter, because there might be a closed/rejected request) to see if any of the requests about “dock” or similar might already ask for that. But if you cannot find one, maybe I’m mis-remembering (or maybe it was just a user in the Community, who never bothered to put in an official feature request). X. Visual glitching during resize Not a big deal, but the re-paint algorithm is quite sloppy It could be improved Can you be more specific about that? Under what circumstances? What’s your setup like (monitors, DPI, etc… ? > Debug Info is always useful for helping understand your setup)? What do you mean by “sloppy”? Ok, this is everything I had for you regarding the Function sidebar, thanks ! As fellow users, we might be able to talk about it, or commiserate with you. But if there are real problems or real feature requests, you would have to create separate tracking issues for each request, as described in the already-linked FAQ. (Putting a bunch of requests into a single Feature Request issue means the individual sub-requests won’t be properly tracked, and one or more are likely to get lost.) From above, I see two possible feature requests for sure (hide functions starting with _, and dock-to-middle), and another two that are likely reasonable, if someone else can confirm (the two function-list filtering points). I think the “sloppy re-paint” needs to be given more detail before suggesting that a bug report get submitted. But for any feature request or bug report in the official tracker, make sure you search through existing reports/requests (open and closed) before submitting one, to make sure it’s not a duplicate.
  • Notepad++ v8.9.6 Release Candidate

    Announcements
    1
    3 Votes
    1 Posts
    284 Views
    No one has replied