Categories

  • Announcements regarding our community

    337 Topics
    5k Posts
    donhoD
    As title.
  • 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
    23k Posts
    PeterJonesP
    Settings, preferences, auto updater; I would need to change that across 100+ servers… Use powershell (or whatever other IT tools you have access to) to edit config.xml on all those servers with one simple script to change <GuiConfig name="noUpdate" .* autoUpdateMode="[01]">.*</GuiConfg> to <GuiConfig name="noUpdate" .* autoUpdateMode="2">no</GuiConfg> We have already made the decision that asking is important enough to be the default, can we go the next step and just do it in the background and not interrupt work flow getting it done? That’s the idea behind the silent-at-exit, which mostly doesn’t interfere at all. There also exists the MSI installer now, which allows IT departments to better control the install process – I don’t pretend to understand its benefits or how to use it to the full effectiveness, but I’ve been told it makes corporate environments easier or more convenient. One of its options is NOUPDATER=1, which allows you to completely turn off auto-updater on the installed Notepad++, which then means that the corporate scripts are in charge of running the MSI from the central location on your schedule, rather than allowing each of the 100+ servers to decide it’s time for them to update on their own schedule, breaking users’ workflows. Edit; what is being discussed here is the “tyranny of the default”. The vast majority of users are going to leave it default so for that audience is it better to have a workflow with some interruptions or a workflow that doesn’t interrupt them and leads them to a hopefully more secure installation? And the majority of single-user environments can click Yes (silent) once every couple of months. And if they set it to on-exit rather than on-startup, it shouldn’t even need to ask them to close Notepad++. One extra click every month or two doesn’t seem too onerous to me. YMMV. “hijacking the open tab of the thing you were working on” and “just not on the active tab for that View” sounds like the same thing with different words to me. Sorry, since you were using your own terminology, rather than Notepad++'s terminology, I thought you were describing a situation that didn’t exist, and was correcting that. If you’re using different terminology, that’s fine, but don’t be surprised when people misinterpret you. I disagree that the change.log tab being put in front of your active tab once every few months is a horrible thing, but each person has their own frustration points. As you presumably saw when you created your account and read the “Read this before posting”, this is a Community of Notepad++ Users, so if you want something to change in the product, rather than just talking about it with other users, you would have to follow our easily-findable links to the GitHub issue tracker, and put in requests (after verifying that those requests don’t already exist, opened or closed).
  • 10k Topics
    55k Posts
    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.
  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    Guido ThelenG
    @PeterJones, thanks! It was indeed a fair amount of work. To your question: database IDEs like DataGrip, DBeaver, SSMS or MySQL Workbench do offer visual help, but mostly in a different direction. They show execution plans (how the database runs a query) or let you build queries visually, and they usually need a live database connection. My motivation came from my own work in data warehouse projects. It’s not unusual there to inherit SQL statements spanning several pages, undocumented and unformatted. My first step was always to format them, which already helps a lot to understand what’s going on. The Navigator is the next step: a visual map of the structure, especially for those “monster SQL statements”, right inside the editor, with no database connection needed. “Premier SQL development tool” is a bit much :-) but for reading and understanding large SQL in Notepad++ it should help a lot. @Lycan-Thrope, good description, that’s exactly the idea: understanding and documenting an existing statement rather than generating one. And no, it isn’t limited to Standard SQL. The Navigator visualizes the result of the formatter, so it works with every dialect the formatter supports (30+, including MySQL, PostgreSQL, Oracle, SQL Server, DB2, Snowflake and more). For now it shows SQL statements and DDL. If you run into a statement it doesn’t break down correctly, I’d be glad to get a sample.
  • Security shouldn’t be the privilege of rich people

    74 Topics
    371 Posts
    xomxX
    @donho There seems to be another one: notepad-plus-plus . app I reported this too. GH issue: NPP brand impersonation website serving malware #18398
  • 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

    98 Topics
    568 Posts
    Michel ChasseyM
    Re: You’ve a lot of reasons to hate Notepad++
  • No support request and bug report here, only unconditional praise and worship

    3 Topics
    9 Posts
    F
    @Maddox-Armstrong said: @FreeMeow I goon to Notepad++ :P 666还有蜥蜴人
  • 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]