• Please Read This Before Posting

    Pinned Locked faq newbie
    1
    7 Votes
    1 Posts
    10k Views
    No one has replied
  • HELP: Having trouble with Macros in v8.5.3 or later

    Pinned
    28
    2 Votes
    28 Posts
    35k Views
    Mike NewmanM
    Moderator Note: The contents of this post were moved to a separate topic, Macro works normally, but fails when shortcut is Ctrl+Shift+C, because it’s actually separate from the >=v8.5.3 issue for this Topic.
  • 20 Search Entries Deletes To 10 After Restarting N++

    2
    0 Votes
    2 Posts
    24 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)
  • Notes repeated, repeated...

    5
    0 Votes
    5 Posts
    216 Views
    H
    I closed Notepad++ and verified that it had shut down completely via Task Manager. I opened the properties for the file C:\Users\MyUser\AppData\Roaming\Notepad++. Under the “General” tab: Created: Friday, January 23, 2026, 13:19:35 Modified: Sunday, November 22, 2026, 15:12:50 Accessed: Today, November 22, 2026, 2 minutes ago Under the “Security” tab: My user account has full control - both on the main screen and under the “Edit” (permissions) settings. 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++. 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: Created: Friday, January 23, 2026, 13:19:35 Modified: Sunday, November 22, 2026, 15:27:41 Accessed: Today, November 22, 2026, 1 minute ago 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. 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. During these tests, I am verifying that Notepad++ closes completely by checking the Task Manager. I will perform a complete (“deep”) uninstallation of Notepad++ using either Revo Uninstaller Pro or Bulk Crap Uninstaller, and then reinstall it. I will let you know the outcome.
  • 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?
  • Where does "Split Lines" actually split?

    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.
  • 印刷仕様の選定(指定)方法

    2
    0 Votes
    2 Posts
    129 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
  • Duplicate context menu entries

    9
    1
    0 Votes
    9 Posts
    845 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.
  • No plugin admin since last update

    4
    0 Votes
    4 Posts
    383 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?
  • Paste normal cut text in column mode

    3
    0 Votes
    3 Posts
    243 Views
    D
    Thanks for the detailed steps, Coises — that Shift+Right Arrow trick to turn the column selection into a multi-editing selection is the part I had been missing. One alternative that worked well for me in a similar case, when the values are already on separate lines, is to skip the cut step altogether: place a caret at the end of each target line with Ctrl+click (multi-editing), then paste the multi-line text. Notepad++ puts one pasted line at each caret, so the 1 goes after the first ID = and the 2 after the second, with no blank lines left behind. It is a bit fiddly if there are many lines, but for two or three lines it is quicker than converting the selection back and forth. Either way, checking that both multi-editing options are enabled in Settings > Preferences > Editing 2 first, as you said, seems to be the key.
  • 0 Votes
    8 Posts
    329 Views
    PeterJonesP
    @andrecool-68 said: If you have the constant IDs of this plugin, everything works perfectly, and when switching the language in Notepad++, the context menu also automatically changes to the Notepad++ language. “if”. But they aren’t. And because there is no way that plugins can guarantee specific commandID for Notepad++ menus, and there’s no way for Notepad++ to assign a “constant” ID, that’s not going to happen. (Notepad++ cannot know how many plugins exist in the world, nor how many menu commands each will use; the plugin interface is public, so anyone could write their own private plugin. So Notepad++ cannot allocate fixed commandIDs. I cannot see a way around that which would work in all circumstances.) If you have a plugin like this whose commands translate, you can put in both the English and the Localized version: <Item FolderName="AndreCool" PluginEntryName="HTML Tag" PluginCommandItemName="Перейти к соответствующему тегу" /> <Item FolderName="AndreCool" PluginEntryName="HTML Tag" PluginCommandItemName="Find matching tag" /> then whichever localization is picked, that one will be in the menu Or, if you want to stick with just having one commandID-based entry per command, then you will have to live with the fact that the commandID can change when you update a plugin, install a plugin, or possibly even when all you do is update to a new version of Notepad++
  • 0 Votes
    4 Posts
    371 Views
    PeterJonesP
    @fml2 said: Oh, I thought each button in each dialogue had a shortcut key… Dialog buttons can have a keyboard accelerator “for free” if the text has an & preceding a character that works. But because that button uses a symbol (that changes) which is not on standard keyboards, that button obviously doesn’t have an accelerator now. As such, extra code would have to be added to give a shortcut rather than accelerator for that button. If that’s something you would like added to the interface, feel free to put in a feature request.
  • Windows 11 constantly crashing when having NP++ installed

    4
    0 Votes
    4 Posts
    505 Views
    xomxX
    @Sevens99 I guess that it depends on a specific SW (Windows edition, build, libraries, other installed shell context menu handlers) rather than on a different HW. But who knows. It’s a race condition bug, so everything is possible.
  • 0 Votes
    1 Posts
    160 Views
    No one has replied
  • How to fold while at the closing element?

    4
    0 Votes
    4 Posts
    437 Views
    rdipardoR
    @fml2 said: Out of interest: is it possible to configure Notepad++ in a way that the folder marks are also displayed at the last element of the structure? The document’s fold structure is determined by the underlying Scintilla editing component. Notepad++ simply visualizes the fold structure. While some alternative styles can be enabled at the application layer, what you’re requesting would require changes to Scintilla.
  • Notepad++ crashes after requesting admin rights

    2
    0 Votes
    2 Posts
    251 Views
    PeterJonesP
    @ThatsYar_ , Can you share your ?-menu’s Debug Info? Does the same problem occur if you turn off all plugins (using -noPlugin command line option)? Is it for all files that need admin? Or just in one directory? Or just the one file?
  • Apex Language is missing under Language Tab

    2
    0 Votes
    2 Posts
    375 Views
    PeterJonesP
    @vivek-viv , Unfortunately, there are an unknown number of “programming languages” or “data file languages” in the world, and no text editor can syntax-highlight 100% of them out-of-the box. Apex is not available in the syntax-highlighter library that Notepad++ uses, and until it is, it will never be in the upper portion of the Language list. To get it added: A feature request would have to be put into Lexilla, and then the Lexilla team, or external volunteer, would have to code up that lexer, and they would have to accept it, bundle it with the library; then Notepad++ could update to use a version with that, and then and only then, Notepad++ could be updated to enable and list the Apex language in the default menu. I’m not saying it’s impossible… just that it’s not likely to be fast. If Apex were similar enough to another language, then, in theory, the Apex language could be mapped to use the that existing language’s lexer, but given its own list of keywords. However, Notepad++ has the User Defined Language (“UDL”) feature, which allows you to define a keyword-based syntax highlighting – so you can put in various lists of keywords, operators, folding-keywords, and delimiter pairs, and get it to do a reasonable job of highlighting simple syntax in your language. The User Defined Language page, and all the UDL > pages in the manual’s table of contents below it, describe how to use the UDL system. There’s also a community-contributed User Defined Language Collection, where people can share UDL definitions that they’ve made, or find ones to use for themselves. I don’t see Apex there… but if you created one, you could share it there, so that other Apex users I did a quick search, and if this is the Apex you are talking about, then it looks similar to YAML (builtin) – so maybe trying to use the YAML lexer might be an initial workaround. And google search AI tells me that the HAML uses a similar structure – there is a UDL in the Collection for HAML, so you might be able to use that as a reference for how to get something like what you want for Apex. No guarantees, but it’s a starting point…
  • Portable keeps showing up in "Open With" after I deleted it.

    2
    1
    0 Votes
    2 Posts
    335 Views
    Lycan ThropeL
    @Adam-Harrington , First you can search your Registry file for that phrase E:\Portables\Notepad++.exe %1 or just notepad++ and look for the key/value pairs you find and change them to the new location of your Notepad++ directory. Or search this forum and the FAQ’s list for this information. I searched mine and found it with just “notepad++”
  • Save as .md default

    markdown
    14
    0 Votes
    14 Posts
    14k Views
    MarkusBodenseeM
    @myfancytextgenerator said: One small caveat worth keeping in mind: this covers the default language of new documents, not the file-type list in the Save As dialogue — the langs.xml tweak described earlier in this thread is still the way to get a dedicated .md entry there. Sorry… but this is just not true. It is implemented even longer, since Aug 2024, than the latest update. See Issue #11096 and PR #15490
  • 0 Votes
    3 Posts
    517 Views
    M
    Hi @Karen3D — one more angle worth checking, specific to the Windows 11 update scenario: session.xml is only written when Notepad++ exits cleanly. Windows updates are notorious for restarting the machine and killing running apps before they can save, so the session file can end up out of date or empty even with “Remember current session for next launch” ticked. A couple of quick checks that fit an IT-managed work laptop: Close Notepad++ yourself before restarting or shutting down, and confirm in Task Manager that no notepad++.exe process is left hanging around. A leftover process can hold on to the old session. Open a couple of files, close Notepad++ normally, then check the timestamp on session.xml in %AppData%\Notepad++. If it has not been updated, the write itself is being blocked — roaming profiles or redirected folders on corporate machines are a classic cause. If your files live on network drives, make sure the drive mappings are unchanged after the update. Notepad++ quietly skips files it cannot find at start-up. Worth ruling these out before going any deeper.