• Notepad++ release 8.9.3

    Pinned Announcements
    4
    6 Votes
    4 Posts
    2k Views
    xomxX

    @donho

    v8.9.3 (Scintilla) EOL regression: #17920

  • 0 Votes
    13 Posts
    754 Views
    guy038G

    Hi, @jak and All,

    Refer to this post :

    https://community.notepad-plus-plus.org/post/105114

    BR

    guy038

  • All the off-topic go here

    Pinned Boycott Notepad++
    5
    3 Votes
    5 Posts
    6k Views
    guy038G

    Hi, @jak, @peterjones, @pnedev, @cennoxX, @phil-pascal and All,

    I’ve just downloaded the free portable version of Compare2lists.exe, from https://vovsoft.com/software/compare-two-lists/

    And I must admit, @jak, that is very easy to get, either :

    The intersection of two lists

    The records wich are in List #1 ONLY

    The records wich are in List #2 ONLY

    The union of two lists ( as I checked the Calculate union of lists in Settings )

    The buttons to remove the duplicate records in List #1 and/or List #2 before clicking on the Compare button, are also useful !

    Best Regards

    guy038

  • Search++: A work in progress

    Notepad++ & Plugin Development
    28
    4 Votes
    28 Posts
    942 Views
    guy038G

    Hello, @coises and All,

    Many thanks for your reactivity and for the Search++-04 release ! I do appreciate that you always keep the Help file up to date with the latest version and it’s a pleasure to consult it !

    Bravo for the Keyboard navigation section, within the Help file and for the Focus section in the Settings dialog with their default values !

    Regarding updating the Find dialog when selecting something new in a document :

    In your last post, I did not notice that you spoke about the Ctrl + I shortcut. So, presently, in order to update the Find region of Search++ with current selection of current document, we have two possibilites, when Search++ is on focus :

    Use the Ctrl + I or the combination Ctrl + A + Ctrl + I

    or

    Use the Ctrl + Shift + N shortcut to close Search++ ( Search++ shortcut )

    Re-use the Ctrl + Shift + N shortcut to open again Search++ ( User shortcut )

    BTW, @coises, the Help file did not mention at all that Ctrl + I shortcut !

    Best Regards,

    guy038

  • 0 Votes
    5 Posts
    196 Views
    PeterJonesP

    @Claudia-Svenson said in How to set "UTF-8 WITH BOM" as default Encoding even for old but changed textfiles?:

    This would be a great convenient enhancement feature.

    Natively, there is no such feature (and it’s not likely to happen, IMO).

    Using a plugin, it’s doable. For now, it requires using a not-yet-released version of the EditorConfig plugin, but they are supposedly eventually going to release a new version with all the features/fixes from the last 6 years.

    EditorConfig plugin should be able to handle the charset attribute. But the version available in Plugins Admin is still 6 years old, and does not include that attribute. They merged the PR that implemented charset in 2023, but have not done a release since v0.4.0.0 in 2019. (In October 2025, they put in an Issue to encourage themselves to do a release, but there’s still apparently a showstopper preventing them from moving forward.)

    I just forked their repo, and did a build based on their most recent codebase; I call that “0.4.0.1”, so that there’s something to distinguish it from the official version. For a couple of months from 2026-Mar-30, GitHub should have some artifacts of my v0.4.0.1 build.

    Exit Notepad++ Go to https://github.com/pryrt/npp-editorconfig-plugin/actions/runs/23767310769#artifacts and download the right artifact for your machine (most likely the one ending in --x64). Unzip, and copy the DLL to c:\Program Files\Notepad++\Plugins\NppEditorConfig\NppEditorConfig.dll create .editorconfig file at the top of your document structure (like c:\users\username\.editorconfig), populate it with:root = true [*.bat] charset = utf-8 [*.py] charset = utf-8 [*.txt] charset = utf-8-bom [*.ps1] charset = utf-8-bom The next time you save a file with one of those extensions (as long as it’s in the same folder as the .editorconfig file, or a subdirectory of that folder), it will use the charset indicated when you save the file in Notepad++

    (GitHub will remove those artifacts sometime in the next few months. If EditorConfig hasn’t done an official release since then, and the files are gone, feel free to ping me here, and I can trigger a new build to GitHub)

  • Toolbar button names

    Help wanted · · · – – – · · ·
    5
    0 Votes
    5 Posts
    126 Views
    PeterJonesP

    @mapsonx said in Toolbar button names:

    Settings > Preferences > Backup > ☑ Enable session snapshot and periodic backup

    That setting kinda represents the journey of discovery for me, who, is certainly a novice, and has been reminded regularly of my level of ignorance when it comes to an impressive tool like Notepad++. Obviously, the way manifested itself didn’t make sense to me, never seeing that effect before elsewhere.

    That setting has nothing to do with toolbar buttons. If you just brought this up as an example of things that you didn’t understand but are learning the utility of, fine.

    If you think that this affected your toolbar buttons in any way, shape, or form, you will need to explain what you think changed, and prove to yourself that it does change it by doing screenshots before and after toggling that option (and paste them here if you think it does prove your point).

    since some other text editors do have such a feature.

    What text editors do you think have this feature that you want? What setting in that other text editor do you change to get things to go from “normal” to “what you want”? If you give us that, (including “before” and “after” screenshots) we might be able to figure out what feature it is you really want, and be able to better answer you as to whether or not it can be done in Notepad++.

    (I mentioned screenshots a couple of times. If you use Alt+PrintScreen or the modern Win11 Snipping Tool equivalent, you can just paste the image directly into your reply here, making it simply a matter of Ctrl+V to embed the image. But screenshots showing what it is you want would be really helpful for us to understand you.)

  • Pascal multi line string highlight

    General Discussion
    5
    0 Votes
    5 Posts
    899 Views
    PeterJonesP

    Update: @Ertan-Küçükoglu didn’t post the link here, but had made https://github.com/ScintillaOrg/lexilla/issues/321 to request this feature from Lexilla. Lexilla just merged a PR to add SCE_PAS_MULTILINESTRING styleID=15. Since Lexilla v5.4.8 was just released last week, it’s likely going to be a few weeks to a couple months before v5.4.9 is released to include that feature. But once it is, and once Notepad++ imports the updated Lexilla, then that new style can be added to the Pascal/Delphi definitions in stylers/themes. So hopefully, this will be added to Notepad++ within the next few months.

    (Keep an eye on Notepad++'s Issue #16807 to see when it gets added to the codebase; whatever release happens after that Issue is closed will be the first Notepad++ release to incude the multi-line string highlighting.)

  • Notetab++ novice questions

    Locked Help wanted · · · – – – · · ·
    4
    0 Votes
    4 Posts
    825 Views
    PeterJonesP

    Any future replies need to go to this 2026 topic where @mapsonx asked essentially the same question

    This Topic is locked.

  • 0 Votes
    3 Posts
    77 Views
    PeterJonesP

    @mapsonx ,

    This Topic is closed/locked as a duplicate of your original.

    If you have more questions about the answers you received, reply in the original discussion, not here; and ask specific questions about the answer you were given, don’t just re-iterate what you’ve already said.

    Update: this is also the same question you asked in June 2025. Apparently, you don’t actually read the replies to questions you already asked. If it’s because you don’t realize you’ve gotten replies, I recommend going to your forum settings (click your avatar/icon in the upper-right in the forum, click settings, then change “When a new reply is posted in a topic you are watching” and/or “When someone mentions you” from None or Notification Only to Notification & Email, so that the forum will email you when you get a reply)

  • Archive of Notepad++ versions

    General Discussion
    2
    0 Votes
    2 Posts
    111 Views
  • 0 Votes
    1 Posts
    77 Views
    No one has replied
  • 0 Votes
    16 Posts
    436 Views
    N

    Hello,

    I wanted to show you the purpose of this function.

    Background:

    Highlight a term in the browser Search for it in files using Everything via a button (Content) Right-click the found file to open it in Notepad++ and jump to the searched term.

    See the video off it on Imgur

    I’ve actually been using the editor since I started using computers privately (2008), but I’ve never really explored its inner workings and capabilities. It was never necessary so far—it has everything needed for everyday use.

    I also wanted to sincerely thank you again for the prompt help—it was definitely a positive experience.

    Best regards,
    Björn

  • Make notrepad++ default

    Help wanted · · · – – – · · ·
    2
    0 Votes
    2 Posts
    157 Views
    PeterJonesP

    @mapsonx said in Make notrepad++ default:

    I read the info here Shell Extension, and here Replacing Notepad with Notepad++ in Windows 10, but I’m a bit anxious about it.

    User Manual > Other Resources > Notepad Replacement gives a fuller explanation than some random gist

    I’ve been using the portableapps version.

    shudder

    I’ve had a few issues lately with some other portableapps wiping out profiles.

    Considering that they modify the binaries without publishing the codebase changes, in violations of the open source license of the software they “distribute”, you’re lucky if losing a profile is all that happens.

    I don’t want that happening with Notepad++, so I want to switch to the regular potable version I just downloaded from here Download Notepad++ v8.9.3.

    Good idea.

    That said, I need to make Notepad++ the system default.

    It seems a mixed bag: wanting it as system default, associated with lots of file types, and using the Shell Extension, but not wanting to “install” it. It might help us give you better advice if you explain what parts of the “install” that you are opposed to. Is it just storing the settings in %AppData% that you don’t like? Or is there something else? The installer can install into any directory, not just Program Files; the installer can choose to not use %AppData% (as long as it’s not installed in Program Files); the installer automatically registers the Shell Extension for you.

    That’s when learned it is not simply a matter of doing it in Settings > Preferences > FIle Associations.
    So, it seems my only alternative is “Choose default apps by file type”??

    You can start with the Settings > Preferences > File Associations. But that uses the ancient method of file association, and modern Windows 11 actively fights against those old-style associations.

    Open With is Windows’ preferred method, because they want to make sure it’s the user, not an over-aggressive installer, that is choosing the default app (and that’s something I applaud them for).

    If you’ve done at least one Open With, then your registry should have an HKEY_CURRENT_USER\Software\Classes\Applications\notepad++.exe “key”. On that key, if you right-click and do a new key as a subkey on it, to create SupportedTypes as HKEY_CURRENT_USER\Software\Classes\Applications\notepad++.exe\SupportedTypes. Inside that, you can do new string values, where the left side is .ext (for whatever extension) and the right side is empty. Windows uses this as the way to hear an app say, “I want to handle this type”, and it helps Windows prioritize the app in the Open With and other things.
    For the individual file-type extensions, Windows stores them in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.XXX\UserChoice (for example, .txt for the .XXX location), in the ProgId=“Applications\notepad++.exe” value. So, if you created a registry file like

    Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice] "ProgId"="Applications\\notepad++.exe" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.123\UserChoice] "ProgId"="Applications\\notepad++.exe" [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.456\UserChoice] "ProgId"="Applications\\notepad++.exe"

    and ran that file, it would try to set the chosen application for each of those extensions (.txt, .123, and .456) to use Notepad++. (You would, of course, have to edit that file to have all the extensions that you wanted to choose, and to not use the .123 and .456 dummy extensions). But, again, I think Windows OS notices when someone tries to do that, and it might require you to confirm the choice the first time you double-click on such a file.

    caveat: playing with the registry, through regedit or running .reg files you find on the internet, can bork your system. these are examples that I believe are safe, but you are responsible for your own system.

    I extracted NppShell.dll, but I suppose in this scenario I won’t be using it.

    I guess I’m confused. I thought, by your first sentence, that you wanted to use it. Do you want an Edit with Notepad++ entry in the right-click context menu for every file type, whether or not it’s associated with Notepad++? If so, then register NppShell.dll. If not, then I’m not sure why you brought it up at all.

    Personally, I find that the right-click version is the easiest way for opening files that don’t default to Notepad++ (for example, editing a .bat, since you don’t want to double-click on a batch file to edit it, since that should be reserved for running it). So whether you choose to use the installer, or manually register it in the portable version, I would definitely recommend using the Shell Extension.

    I also need some advice transferring all settings from portableapps.

    copy the config.xml and similar XML files . The User Manual > Upgrading > Upgrading a portable edition talks about the critical and less-critical files for getting settings ported over from one portable to another.

  • 1 Votes
    5 Posts
    175 Views
    CoisesC

    @W-Pong said in Columns++, I'd like to *retain* commas when converting to elastic tabs/spaces:

    Is there a way to retain the commas?

    I made a new release of Columns++ with an option to do that — an additional checkbox in the Conversion settings dialog: Keep separator character when converting to tabbed.

    The new release is Columns++ version 1.3.2.

    I have not marked the release stable, but I believe that there is very little chance this change will have any unanticipated negative effects. It should be safe to install.

  • 0 Votes
    3 Posts
    212 Views
    T

    @PeterJones

    Thanks for your reply. I will give your solution a try as a Macro learning experience. Maybe I’ll find other uses for it.

    But, I just came up with a different solution:

    I like Notepad++ so far, so I used the preferences to set Notepad++ as the default for a small number of file types I use occasionally. I renamed the extension of the file I use as my daily journal/log from .txt to my initials .th. I used the file properties to open that file with Windows Notepad.

    It’s working well for me. I can use my journal/log with Windows Notepad, and everything else uses Notepad++.

  • Dark Mode style for UDL

    Help wanted · · · – – – · · ·
    7
    0 Votes
    7 Posts
    411 Views
    Lycan ThropeL

    @dfs ,
    We could go a step further and lament that it would be nice if the entire graphical environment of NP++ could be contained in one dialog setting, and then when we switched between Light or Dark, the environment would change all the UI references:

    Settings->Preferences...->Dark Mode,
    Settings->Style Configurator...->Style:, and the
    Settings->Style Configurator...->Select theme:

    …could be coordinated to make just switching between Dark Mode and Light Mode change them all, accordingly. As it is, I’m glad to have just found out that the Dark and Light language files can automatically change by setting that one switch in the dark mode file @PeterJones mentioned, and that automatically chooses the correct code coloring file for the environment (Dark/Light) chosen.

  • About single and duplicate lines...

    General Discussion
    1
    1 Votes
    1 Posts
    206 Views
    No one has replied
  • Smart Highlighting - Multiline Support

    General Discussion
    10
    0 Votes
    10 Posts
    2k Views
    Phil pascalP

    @PeterJones Thank you. I just found this forum after searching about the multiple line issue. I’ve been using Notepad++ for years, fantastic program. First text editor I’d found that did search and replace on end of line charaters since good old Wordstar.

  • 0 Votes
    4 Posts
    202 Views
    Phil pascalP

    @Dervars14 Just checked and unfortunately the undo, ^Z, does not work. This used to be a more common occurance in the old days, Prior to Windows 7 and back in the DOS days, there was no checking to see if wanted to keep a file, it just got overwritten even if a totally different file, but just had the same name. The way we used to get around this is with a recovery program. The good thing is for a long time, whenever you save a file, it actually saves it to a different area of the dirve, precisely for this kind of incedent.

    First important thing is don’t do any work on that drive, if the data is still there, it is not protected, the more you use the computer, the more likelihood those clusters of the drive will get overwritten.

    I don’t think Windows has any internal programs, other than the Recycle bin, which is no use here, as overwritten files aren’t placed there. There is a free program called Recuva, from Piriform, the same people that do CCleaner. If possible, try and download this on another computer to a USB drive, as I said, the more work you do on the drive, the chance of losing the data.

    The other good thing with using another machine, is you quickly play around with recuva, it is very basic program, the results are in table form, so easy to rearrange. You can save any detected files to the USB drive as well. If you get the file back, then just replace the current one. And this is the way to all learn to do backups more regularly, which reminds me.