Categories

  • Announcements regarding our community

    333 Topics
    5k Posts
    A
    @Danny-Duplechian From my cursory reading of the change logs, there is a lot of new security-related functionality, specifically related to NTLM authentication. I’m NOT an expert, but npp is now checking with you before accessing non-local paths, in an attempt to determine what should (not) be trusted. These non-local paths may appear in your .npp-session file, among others. If these reads are done on untrusted servers, your “NTLMv2 hash” may (will?) be sent and possibly used against you. If you recognize the server, click Load or Always load.
  • Frequently Asked Questions and Guides (about Notepad++ and this Forum)

    38 Topics
    64 Posts
    PeterJonesP
    Corrupted Session Starting in Notepad++ v8.6.5, it will store session.xml.inCaseOfCorruption.bak next to session.xml, and will automatically use that if session.xml is corrupted. However, if you ever find that you open Notepad++ (especially after an update or a system crash) and find that the files opened weren’t in the same state as when you let them, you can try this procedure: Exit Notepad++ Windows Explorer, go to %AppData%\Notepad++ (or in your appropriate config-file location if you aren’t using AppData for config) Rename session.xml to session.xml--keep Copy session.xml.inCaseOfCorruption.bak to session.xml Run Notepad++ → If it’s now showing the right copy of your files, great! If not, exit Notepad++, delete session.xml, and rename session.xml--keep back to session.xml .
  • Notepad++ discussions that don’t fit in other Categories

    4k Topics
    22k Posts
    PeterJonesP
    I simply don’t have the mental space to go through all these documents and give them names and save them and do all the things. I will get there eventually. Then you will likely lose data. But I also observe that my friends are in the same boat, whenever we need scratch space to write something down, we double click on an empty place on the tab bar, a new tab appears, then data is written and pasted and so on… And then click Ctrl+S and save to a meaningful location, while it’s still fresh in your mind. It’s really easy to add that to your mental workflow. I have many old notepad++\backup folder strewn all over the place Crazy. Those are temporary backup folders, and if you’re keeping them as long-term storage, you are asking to lose data. It is a huge burden to handle and search these. When I need to search my stuff I use Voidtools Everything Why not first, copy all except the active (2026-08-19) backup directory, copy them to a known folder in one location – if you need to, make it a hierarchy, like c:\some\path\old-npp-unsaved\, and then have 2022-08 and 2022-12 and 2026-03 and 2024-01 as subdirectories, if you want/need to keep them separate; or, since every file has the datestamp in it already, just put all the contents of each of those in the same c:\some\path\old-npp-unsaved\ … Then, when you need to search your old backup archives, they are in one easy location. And you can just use Notepad++'s built-in Search > Find in Files, with Directory = c:\some\path\old-npp-unsaved\ and ☑ In all subfolders, then just enter your search term in the FIND WHAT box. But getting back at the current matter, I would like to see more of my tabs, on more than one row but not see all of them at once, which blots out all the reader space. So put in a feature request, as described in our feature request FAQ. I was just warning that it might be harder than you think, or there might not be anyone wanting to do it. But since @thomas-knoefel seems to have an idea for an implementation, then there’s likely to be a PR sometime soonish after you put in the feature request, and then it can quickly get reviewed by the developer. It might even make it into v8.9.9 (it’s too late for v8.9.8, since that’s in Release Candidate), but that means it might actually make it soon. https://superuser.com/questions/153109/is-there-a-way-to-manage-tabs-efficiently-in-notepad [image: 1787241672999-4cb4cf53-2459-4854-bdea-040b96b9ef5d-image.jpeg] I tried finding this in my installation but could not figure it out. Seems that it is buried somewhere in the menus, which would make making a habit of using it difficult. The SU answer was originally from 2010 2013, and then edited in 2015, so the description is confusing, especially in 2026. The Session Manager that they mentioned is not “built in”, it is a plugin. Notepad++ has simplistic native sessions, but nothing to the capability of the Session Manager that they were talking about. To install it, the “Plugin Manager” that was described in 2015 hasn’t been compatible with Notepad++ since v7.6 in 2019. Looking at questions and answers from a decade ago aren’t necessarily going to work in modern Notepad++. Instead, that old plugin manager tool was replaced with the builtin Plugins Admin instead in 2019. And the Session Manager plugin that the ancient SU answer referenced does still exist: you can install it using Plugins > Plugins Admin One thing I really which is to also have the ability to have multiple notepad++ window, like multiple firefox windows. That feature has existed for more than a decade (as I said here, just yesterday – why are people just now discovering the multi-instance capabilities, when it’s essentially always been a part of Notepad++). As was said in yesterday’s conversation, you can drag a tab out into empty space, and it will create a new instance; or, not mentioned yesterday, you can use the right-click context menu on a tab then Move Document, or equivalently use View > Move/Clone Current Document…, to then pick Move to New Instance, and it will open a new Notepad++ window. Or at least have floating notepad++ window with just one tab. This would make my life easier organizationally ! Saving files would make your life easier. The thing I find is that if I have something to write, and it’s urgent, I can’t give it a title, a filename or save it, I have a hard time explaining why those extremely easy things are so hard for me, but I simply cannot. You can, actually. It might take a little retraining, but even an old dog can learn new tricks. The ability to “just write” is probably one of the thing I love the most about notepad++ and I wish it were even easier to “sprawl” even more but that it would help me with staying organized without me having to start organizing it. Hopefully, your AI will be able to help you… though I am doubtful of it. Still, I highly recommend setting up true backup, version control, and a saving system going forward, otherwise you will lose data, and there’s nothing that Notepad++ can do to save you from your current risky behavior. Good luck.
  • 10k Topics
    55k Posts
    PeterJonesP
    @guy038 said: However, Peter, I suppose that @neculai-i.-fantanaru could create a Python script which If the line reversing is actually what the user wanted. But that user already specifically rejected PythonScript, as they already had a script that did the weird digit reorder that the eventual regex did (rather than reordering the numbers, like the title and original description indicated). So, as far as I can tell: the user wanted a regex (no reason given, but I guess it’s so it could be find-in-files rather than plugin), and apparently wanted a digit duplication/reorder, rather than the reverse sort that was claimed in the title and original description.
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    CoisesC
    @guy038 said: Now, I did a test, searching in all files of my D: USB key, with : The native N++ Find in Files dialog The Search++ Search in Files dialog The MultiReplace Find All in Files command To be sure to process fair tests, I unplung my USB key, re-start my laptop completely, replug my USB key and starts a new N++ session, before running these three Find in Files operations, in turn ! I searched for the Fi string, with the Match case and the Regular expression options checked. I got : 27,112 matches in 833 files of 1,761 searched for the N++ Search Results panel, in 1m 37s 27,112 matches in 833 files of 1,761 files for the Search++ Search++ Results, in 2m 21s 27,087 hits in 835 file(s) for the MultiReplace Search results panel, in 1m 36s I have been struggling with how to optimize the multithreading of my search for over a month now. Among other things, I’ve found that most everything I thought I was measuring wasn’t what I was actually measuring. One surprise I only recently discovered was that even if I eject and unplug a thumb drive and then plug it in again. there is still a “first time today” cost in the time it takes to read it. Windows is persisting something and it is able to identify the same drive, even though it’s been unplugged. I don’t know the exact time, but Windows on my machine keeps it for more than an hour and less than 24 hours. Running a particular test the first time I plugged in a particular USB drive I have, it took 8 minutes and 26 seconds. After ejecting the drive, unplugging it, waiting a moment, plugging it back in and running the exact same test, it took 20 seconds. This drive appears to take whatever it is that Windows does once a day (?) exceptionally hard. Most drives don’t show anything so obvious. This is the only drive I have tested so far that uses FAT, so that could have something to do with it. I haven’t yet tested whether rebooting is enough to reset the “once a day” penalty, or if it persists in something that isn’t lost in a reboot. It may have something to do with antivirus, though I haven’t yet proven any such thing. So I’m wondering, if you happen to remember, whether you tested in the order you listed, or whether you happened to test Search++ first? In any case, after weeks of running in circles, I think I will soon give up the fight to optimize performance and see what else needs work.
  • Security shouldn’t be the privilege of rich people

    74 Topics
    370 Posts
    Lycan ThropeL
    @donho Reported to both sites per your request to help keep the community safe.
  • All the issues (publications/questions) about binary translation

    76 Topics
    480 Posts
    U
    @xomx Thank you very much for the work you have done, which will lead to improvements in Notepad++ in the future. I am very grateful to you.
  • Say fuck to Notepad++ here, and only here

    95 Topics
    563 Posts
    P
    “400k severly wounded ukrainian soldiers”, sorry.
  • No support request and bug report here, only unconditional praise and worship

    3 Topics
    8 Posts
    K
    I’m used to ISPF editing, using column based information. (SPFLite is a dumbed down version) I can do most of what I need in there, but N++ fills in holes in ISPF edit. For example, N++ can add, change or delete information across several lines. RegEx is available on ISPF edit, but I’m too busy to learn it. N++ does this much easier.
  • Share personal tips and cool uses for Notepad++, and similar

    63 Topics
    243 Posts
    David Brigden52D
    Seems they decided that it they couldn’t be the heroes, rhat they would be the villains.
  • Computer/Programming Jokes are welcome here

    59 Topics
    190 Posts
    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]