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
    • donhoD

      Notepad++ release 8.9.9.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      26
      3 Votes
      26 Posts
      3k Views
      M Andre Z EckenrodeM
      @donho said: You can increase the width of Find dialog. Yes, I can, and even do — up to the width of my screen, and/or the confines imposed by other applications etc. that I need to keep visible on my screen while I work in NPP. More often than not, I have NPP occupying only the right half of my screen, with one or more other applications with data I need to refer to occupying the left half. And yes, of course, the Find/Replace dialog occupies its own space independent of the where the main application window is, but there’s almost always a trade-off for me because I use lengthy FIND WHAT and REPLACE WITH strings so often, and either the dialog ends up covering something else I need to see, or I’m unable to view my find/replace strings in their entirety anyway because I’ve run out of available width for the dialog. Having both combo boxes be as long as they possibly can be helps.
    • H

      Notes repeated, repeated...

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      0 Votes
      6 Posts
      239 Views
      PeterJonesP
      @hixcube said: Thanks for checking timestamps and permissions. Unfortunately, I very specifically said session.xml, and you reported the information for config.xml, which is a separate file. However, it is promising that config.xml was written properly, because if it has write-permission on config.xml, then it probably also has write permission on session.xml I launched Notepad++ again; all tabs were closed (strangely enough). I opened three tabs. I reopened Notepad++ and found the three tabs I had just opened. I closed one of them, then closed Notepad++. So far, everything is working as expected (after the “strangely enough”, which I cannot explain, because I don’t know what actions you had taken before that point) I checked the properties for the file C:\Users\MyUser\AppData\Roaming\Notepad++\config.xml and noticed a time difference compared to the previous version of config.xml: which indicates that config.xml is writable, and being updated (as it should be). But, unfortunately, the list of files is stored in session.xml, so that’s not the right file to be looking at. Try closing the application using “File > Exit” after removing the tabs, then check whether the files remain closed the next time you launch it. In Notepad++ v8.9.8.1 (64-bit), I do not see the option “Exit after closing tabs”—only “Exit” is available. You mis-interpreted @danielcollins’s statement of “Try closing with File > Exit after removing the tabs”. It was meant to indicate use "File > Exit" after closing one or more of your tabs, not Try closing with "File > Exit after removing the tabs". And your experiment trailed off at this point. You forgot to do my step “7”, where you look one last time, to see if it remembered that you closed the file. That’s the thing that would answer whether or not Notepad++ was working right or not now. Since you started with no files open, added three, and then after the next exit/restart of Notepad++, it still had all three files open, it sure looks like session.xml was working right. But that one last step-7 check was needed to make sure it was properly tracking you closing files as well. I believe it would have, but you didn’t tell us, which makes it hard to continue to help you. However, on one occasion, an option like “Clear list of recent files” (or something similar) appeared, but it has not reappeared since - even after opening and saving files. Near the bottom of the File menu in Notepad++ is Empty Recent Files List [image: 1795362904617-bc99f7b2-804c-422b-9b37-c43afaab267a-image.jpeg] … which will clear out the list above it. However, if you have Settings > Preferences > Recent Files History set to ☑ In Submenu, then instead it will be in a Recent Files sub-menu, with the Empty Recent Files List going before the list of recent files, instead of after it: [image: 1795363045891-42e514ca-cd19-4386-bd6b-36ec7f96b62c-image.jpeg] I will perform a complete (“deep”) uninstallation of Notepad++ using either Revo Uninstaller Pro or Bulk Crap Uninstaller, and then reinstall it. Why in the world would you do that? We hadn’t finished debugging your problem: there were steps we had asked you to take that you hadn’t reported back on, and your answers may have informed further steps. Plus, if those tools (whatever they are) don’t reset the AppData files as well, then they would likely do nothing for your difficulty, other than waste your time. Now, instead, everything will be reset to some completely unknown state. If it works for you, great, but if not, you’ve made it harder for us to help you debug.
    • O

      Search and replace window: tab (to navigate) doesn't work as it used to

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      1
      0 Votes
      4 Posts
      172 Views
      PeterJonesP
      @DanielCollins said: It breaks muscle memory … Until the next version arrives, the workaround that works for me is to press Tab twice to get from Find to Replace, That’s rather the point of “breaks muscle memory”. They already figured out they had to hit Tab twice, which is why they came to ask about it. One thing I would add: the checkbox Olli circled has no visible label even when the dialog is widened, so even when you land on it on purpose you cannot tell what you are toggling. Hopefully the reordering fixes that too, or the label comes back. there is nothing to “come back”. There was never a label, because that checkbox is brand new to v8.9.9.1. And it won’t ever get a label, because the Find/Replace dialog is too cluttered already, so like the checkboxes next to the FIND and REPLACE and REPLACE ALL IN ALL OPENED DOCUMENTS buttons, there is no label and never will be; instead, the user is supposed to hover over the checkbox, where the hover text explains what the checkbox does. Or to read the manual, which describes all those checkboxes.
    • F

      [New Plugin] XML Tree – FOXE-style XML tree panel

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      2 Votes
      4 Posts
      274 Views
      Mark OlsonM
      @falconefasto Haven’t had a chance to play around with it yet, but I’m the maintainer for JsonTools so I’ve spent a lot of time thinking about and dealing with the various pitfalls that can occur with a tree view of the sort you’re describing. Some thoughts: Does the treenode position work properly when the document contains multi-byte characters? JsonTools parses the document as a UTF-16 string but Notepad++ buffer positions generally assume the document is UTF-8 encoded, so the parser has to take this into account when assigning positions to JSON nodes. Lazy loading is a great idea, but how do you handle a treenode with a lot of direct children? In JsonTools I have a configurable setting for how many direct children a tree node can have, which I arbitrarily defaulted to 10,000. Otherwise the tree can cause NPP to hang even with lazy loading. A context menu that appears when you right-click a tree node seems like a good idea. Off the top of my head, maybe have the options be: select the start tag snap to end tag select the inner XML copy attributes to clipboard recursively expand/collapse all subtrees I can’t give any advice on implementation, since I’ve written all my plugins in C#.
    • F

      Where does "Split Lines" actually split?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · menu lines columns text
      8
      0 Votes
      8 Posts
      2k Views
      D
      Thanks pbarney, that clears up the part that always confused me too — I had assumed the split used the first edge in the list, not the last number typed in the field. One practical tip from my own use: if there is no space near the split column, Split Lines can break in the middle of a word, so I usually pick the edge based on the text I am editing rather than leaving several edges set. And if a split lands in an awkward spot, Ctrl+J (Join Lines) puts it back quickly, so it is easy to undo and try a different edge setting.
    • R

      [Fork] MarkdownViewer++ (WebView2)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      1
      0 Votes
      3 Posts
      201 Views
      PeterJonesP
      Practical feedback When I tried the “undock” button, it crashed the plugin (giving an error message included in a screenshot) – [image: 1795294404964-mv-wv2.error.png] well, maybe the plugin hasn’t crashed, but that action didn’t work, anyway, because it is not showing the undocked window as expected, but Notepad++ was still running. If I re-start Notepad++ after that error, it started with the panel undocked; this is highly repeatable for me. If I CONTINUE after the crash, and toggle the view of the panel, it displays, and for that run, undock and dock will work. Continued experiments show that if it starts undocked (through that button being used the previous time), then the dock/undock button toggle works right; but if it starts a run docked and I click the “undock” button, it will show that error and not show the undocked window until I tell it to show the preview again (or restart Notpead++). This is bad user experience. Second, when it’s successfully undocked via the button, I cannot use the normal Notepad++ docking panel behavior of dragging it to an edge to re-dock. OTOH, if I don’t use the button, but undock by the normal Notepad++ dragging, then I can drag it back to docked just fine. And if I make the mistake of dragging-to-undock, then clicking the button that’s still labled “undock”, it will crash not just the plugin but the entire Notepad++ application. If you’re going to call the feature “dock/undock”, it needs to work the same as the Notepad++ dock/undock, otherwise, it will cause confusion. So, what does that button gain you that the normal dragging does not? If it’s just the button, could you make it compatible with the normal dock/undock, so it’s just two alternative ways to get exactly the same compatible result? Philosophical feedback Just because the code is open-source doesn’t mean the name is freely available. In general, if you’re going to take over an existing piece of software and develop it from your own fork, you either need to get permission to use the name (like what happened with PythonScript and some other plugins), or give it a new name. Misc [deleted some ranting]: sorry, the earlier version(s) of my post were too harsh. I normally applaud anyone who revives an abandoned plugin, even if I do caution them to ask for naming rights or to rename to avoid trouble. But my rant was too strong, this time. See my post here for a comparison of various of the MarkdownViewer++ alternatives in and/or submitted to Plugins Admin at this point.
    • Steve ValliereS

      # colors lines comments when they should not be

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      302 Views
      D
      You are right about Windows INI files, and this is not something you did wrong in langs.xml. For INI files, Notepad++ uses the built in INI lexer, and that lexer treats both ; and # at the start of a line as a comment. That behavior is in the lexer itself, not in langs.xml, which is why you did not find # listed as a comment marker there. Windows itself only treats ; as a comment in INI files, so the coloring is misleading for your files, but it is expected Notepad++ behavior, not a mistake in your setup. For your own language definition, check two things separately. First, open Language, Define your language, select your language, then look at the Comment and Delimiter tab and make sure # is not listed as a comment line opener. Second, check that the file is actually using your language, not INI: the Language menu should show your language name when that file is active, and the file extension should be assigned to your language only. Listing # as an operator should not turn a line into a comment on its own, so if # lines are still colored as comments in your custom files, the INI lexer is the likely cause, because the file is being treated as INI. Lycan Thrope’s EnhanceAnyLexer suggestion is a good workaround for the INI case, because it lets you override the comment color for # lines so they look like normal text. For your custom language, removing # from any comment definition in the UDL, then saving and reopening the file, is the cleaner fix. If you test with a small file that only has one # line and one ; line, you can tell at once which lexer is coloring it.
    • R

      No plugin admin since last update

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      389 Views
      R
      @PeterJones No block boxes, and all files have read/execute allowed. What I have found is if i install an older version and then work up through the versions to V8.9.9.1 the admin option is there. So all good now but i am none the wiser as to what the iussue was. registry?
    • M

      Building Explorer plugin (64 bit)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      43 Views
      CoisesC
      @matsnorberg said: The build tools for v141_xp (Visual Studio 2017 - Windows XP) cannot be found. I go to Tools/Get Tools and Features but I can’t find an option for the v141_xp (Windows XP) version of the build tools. Depending on your purpose, you can: Right-click the solution, select Retarget solution, and update to a current set of build tools. Notepad++ no longer supports Windows XP anyway, but updating to fully current tools would limit your target to Windows 10 and later. Use Visual Studio 2022. (I think you must be using 2026?) VS 2022 has “C++ Windows XP Support for VS 2017 (v141) tools” among its installable components. I would still suggest retargeting to a Windows 7 toolset, since that is the oldest Notepad++ supports, unless you specifically need to maintain the exact compilation environment of the source package (for example, when preparing a pull request). I believe it is possible to add the older tools to VS 2026 in a roundabout way, but as I’ve never done it and I don’t have a link to a clear description, I can’t help much with the details. This may work..
    • Troglo37T

      20 Search Entries Deletes To 10 After Restarting N++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      36 Views
      PeterJonesP
      @Troglo37 , The “Preferences for advanced users” section of the manual (https://npp-user-manual.org/docs/preferences/#preferences-for-advanced-users) explains how to “Change the number of expressions that can be saved in the Find/Replace dialog’s Find, Replace, Filters, and Directory fields” by editing config.xml (No, there is no way to do it in the GUI, due to the developer not wanting more clutter in the preferences GUI)
    • PeterJonesP

      Comparison of the slew of Markdown Viewers Available

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development markdown markdownviewer++ ai generated plugins
      2
      13
      4 Votes
      2 Posts
      73 Views
      D
      Thanks for putting this together, Peter — this table is exactly the kind of comparison I was looking for before installing yet another Markdown plugin. The Sync and Local Images columns are the ones that matter most to me: I write long notes with local screenshots, and a preview that drifts out of sync with the editor is more distracting than no preview at all. Two columns I would find useful if you keep updating the table: whether the preview follows Notepad++ dark mode, and how each plugin behaves with large files. On my setup a few thousand lines is where some viewers start to lag on re-render, and that is the point where I usually give up on a plugin. For my own use the shortlist from your table is the WebView2 fork, MahiMarkD++ and MarkLens, mainly for the combination of two-way sync, local images and a table of contents. I will try the WebView2 fork first since it is the one I already have a feel for, and report back if I find anything that differs from your table.
    • Morten SiljubergM

      Why do Notepad++ keep the "Move to recycle bin" delete prompt?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      0 Votes
      5 Posts
      715 Views
      D
      That matches what I have seen as well — the prompt is not really a Notepad++ setting, it comes from Windows, so Notepad++ cannot turn it off on its own. One thing worth knowing before changing it: the Recycle Bin setting applies to every program, not just Notepad++, so turning off the confirmation dialog means Windows Explorer stops asking too. If you only want to skip the prompt once in a while, Shift+Delete deletes a file permanently without sending it to the Recycle Bin, though that is worth using carefully since there is no easy undo.
    • J

      印刷仕様の選定(指定)方法

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      134 Views
      PeterJonesP
      @ja2njf , Like most Windows apps, Notepad++ hands that off to the printer driver, so you need to go to the preferences for your printer to set the paper size for printing
    • C

      The Notepad++ website is blocked in Russia.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      6k Views
      PeterJonesP
      @Андрей-Максимов said: Try to use CudaText if you’re not welcome here It’s not Notepad++ or the owners of the Notepad++ website that was doing the blocking. It was something that the user’s service provider (or someone else in the middle) was blocking. From the Notepad++ team’s perspective, all users are free to download and use Notepad++, no matter where their IP physically maps to. But Notepad++ cannot prevent an ISP (or some other entity) from putting up a blockade between their users and the Notepad++ website.
    • Troglo37T

      Is there a way to find both alphabets, with and without accents, at the same time, when searching?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      1k Views
      Troglo37T
      I’ve been extremely busy and haven’t had time to reply until now. This is confusing to me. Can someone please simplify the steps needed to accomplish finding accented and non-accented alphabets at the same time?
    • donhoD

      You've a lot of reasons to hate Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      93
      5 Votes
      93 Posts
      196k Views
      M
      How would you like a shortcut definition UI to be designed then?
    • musicpandaM

      authenticode check failed

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      371 Views
      D
      Thanks xomx, that explanation makes sense — the shortened path in AstroGrep is a good catch. It would be useful to know whether upgrading to 8.9.9.1 fixed it for you, musicpanda, since that would confirm the cause for anyone else hitting the same error after updating from 8.9.3. If the upgrade does not fix it, it is worth checking the full path set in AstroGrep as well, and making sure the file path is passed with quotes when it contains spaces. The warning itself is a safety check, so it is better to fix the path than to work around the check.
    • J

      Duplicate context menu entries

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      1
      0 Votes
      9 Posts
      858 Views
      D
      Glad the second reboot held — that fits with what PeterJones described. Windows 11 does not keep these primary-menu entries in the classic HKCR*\shellex registry keys the way Windows 10 did; the “Edit with Notepad++” entry comes from NppShell.dll through a sparse package registration, and Windows caches that registration, so a stale entry can survive an uninstall and reinstall until Explorer and the shell cache are refreshed by a reboot. If it does come back, the thing I would check before reinstalling again is whether two copies of the shell extension are registered — for example a leftover 32-bit install alongside the 64-bit one, or an old install folder still on disk. Re-running the current installer as administrator and toggling the shell extension off and back on, or following the unregister and re-register steps in nppShell issue 79, is usually enough without a full reinstall. And if it returns after a future update, noting whether the Publisher field in the manifest changed would help confirm it is the same known issue rather than a new duplicate.
    • Carlos SánchezC

      [New plugin] Smart Math

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      12
      1 Votes
      12 Posts
      2k Views
      Vitalii DovganV
      SmartMath is more than just a calculator. SmartMath natively supports one-dimensional lists/arrays (inspired by SpeQ Mathematics), aggregation functions (inspired by Python: sum, sort, filter and so on), time values (inspired by NumLock Calculator) and complex numbers. Since lists/arrays are natively supported, SmartMath does not need Python’s map function. Instead, it directly calculates such expressions as 100 + (5, 15, 30), sin((pi/4, pi/3, pi/2)) and so on. There is a joke about the C programming language that its creators stopped developing it once C could compile code that no human could understand. Well, here are a few expressions that work in SmartMath: 1e1i++i v = (5-+-1, 1+-+5) v[0]i(33) v[0]%**v[1] upd(a,n,x) = (a[0:n], x, a[n+1:]) g=(): 9.8; g=g() Finally, here are a few examples that looked interesting enough to be included into the “SmartMath,md”: check_index(a,n) = filter(n, t: t>=0 && t<len(a))[0] upd(a,n,x) = check_index(a,n)*0 + (a[0:n], x, a[n+1:]) Do you still think that SmartMath is just a calculator? ;) The latest binaries are available here: 32-bit (x86): https://drive.google.com/file/d/1QNtDeN09VdfpZsfD6dDQ5j8xvcPd-1pO/view?usp=drive_link 64-bit (x64) https://drive.google.com/file/d/1a0In5EZuESV4L4jH_b21fHAfoyAfUiDR/view?usp=drive_link And the online version: https://d0vgan.github.io/AkelPad-Smart-Math/ Have fun!