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

      Search++: A work in progress

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      215
      7 Votes
      215 Posts
      81k Views
      guy038G
      Hi, @coises, First of all, sorry for the typo. I did mean : As an example, I chose to show all lines containing the the property string, with this exact case, in the ICU.txt file ! You’re perfectly right about the bug. It occurs only when the Always hide all lines and remove Show style from text before Show command option, in the Settings dialog is unchecked After checking this option in the Setting dialog, I could easily verify, with the ICU.txt file, that the 13 green markers were there, along with the 13 lines containing the the property string I also noted that, right after you just show these 13 lines, clicking in the margin right below the line 1183 just displays the remaining lines of the ICU.txt file ! I think that behavior is normal because if you then click on the marker of the 1183 line, it then also displays all lines between lines 1164 and 1183. Moreover, if after showing these 13 lines, in the ICU.txt file, you switch to an other tab, then switch back to the ICU.txt file, this time, it also displays a triangular green marker in the last line 2132 of the file ! Finally, as you said, I could verify that the markers : Were not restored at all after a click on the Reset button which follows a click on the Expand button Were not completly restored after a click on the Reset button which follows a click on the Expand before or Expand after button Were correctly preserved if you immediately click on the Reset button However, the Show only lines with shown text in the Tools dialog seem to work properly, even after switching tabs : lines to show and markers seem preserved ! Best Regards, guy038
    • donhoD

      Notepad++ release 8.9.8.1

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      27
      4 Votes
      27 Posts
      7k Views
      CoisesC
      @Xuân-Thơ-HOÀNG said: @Coises Notepad++ v8.9.8.1 appears to misdetect a valid UTF-8 file without BOM as OEM 855. The file contains valid UTF-8 multibyte characters and can be decoded successfully as UTF-8. When “Autodetect character encoding” is disabled, closing and reopening Notepad++ correctly identifies the file as UTF-8. Re-enabling autodetection causes the same file to be detected as OEM 855 again. For example, string UTF8 Ok but incorrect auto-detection: 🧠 🧠 🧠 🧠 🧠 🧠 🧠 🧠 🧠 🧠 Just my personal opinion, not any sort of “official Notepad++ position”: Autodetect character encoding is an accident waiting to happen. There is no way to consistently and accurately detect character encoding on Windows, because Microsoft, in their infinite wisdom, did not choose to store the character encoding of a file in any sort of metadata. If you really have many files with different legacy character encodings, you will have to intervene manually to get correct results. There is no way around it. Autodetect character encoding might or might not reduce the number of cases where you must manually select the correct encoding, but sometimes it will be wrong. You can use the Encoding | Character sets menu to select the correct encoding before you modify the document in any way. More common is to have just two potentially ambiguous cases: so-called “ANSI,” meaning the system default code page, and UTF-8 with no byte order mark. Outside of contrived examples and files that were supposed to be UTF-8 but contain invalid byte sequences, it is easy to tell those two apart with a very high rate of accuracy. (However, Notepad++ has a bug that can cause UTF-8 files to be mis-detected as ANSI.) That works better if you do not check Autodetect character encoding.
    • S

      dark theme preference on main website doesn't work as expected.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      17
      2 Votes
      17 Posts
      749 Views
      PeterJonesP
      @Lycan-Thrope said: Did you make the change permanent No. I made an Issue, so Don can fix it. I don’t have write access to the main website. Update: Oh, I see, after I went through the approvals, that @myfancytextgenerator already guessed that mine was just an issue.
    • Vitalii DovganV

      Improving Find in Files performance

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      14
      1 Votes
      14 Posts
      1k Views
      Thomas KnoefelT
      Thanks a lot @guy038 for running the whole thing again, this time it didn’t finish in seconds ;-) Nice to see the results panel still usable with almost 10 million hits, even the jump to line 690 in that DLL at the very end. Interesting that walking the whole drive for those 130 PDFs takes almost the entire run, 5m45 of 5m48 for MultiReplace, and it’s the same picture with the other tools. The 4 “not decodable” are most likely UTF-16 files with an odd number of bytes. N++ simply drops the last byte there, the next MultiReplace build will do the same in Find in Files (Replace leaves them alone, writing them back would lose that byte). Speed is next on my list.
    • N

      Silent update is way too loud and intrusive

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      2
      0 Votes
      8 Posts
      276 Views
      PeterJonesP
      @Nephilimi said: I’m actually curious now, is the general population not using this on their servers? There are only a handful of people who have come to the Community Forum from the “server” perspective – and most of those were coming to say, “why don’t you use installation-toolkit-xyz to make IT’s life easier”, and never really went into detail into how they were deploying to that point. And though it might not meet all the needs, the newer MSI installer (new to v8.8.8 in Nov 2025) seems to have quieted those types of inquiries down. So in the Community, while we get great insight into how individual/personal users use Notepad++, we don’t have much insight into the server-deployed side of things. (In our minds – or, at least in my mind – the “general population” are individual users, not server-based users. I have no clue how the numbers actually pan out between the two user-bases; we just get a individual-user-bias in the Forum.) But my guess is that the server-admins had auto-update turned off when they’d install it: either through pushing a custom config.xml to each user’s %AppData% folder, or through using a doLocalConf or -settingsDir to point to a more central config location (or, once the feature was enabled, bundling their own config.xml in the installation directory, which then gets used as the template for new %AppData%-based config.xml), or through deleting gup.exe in the old days or now using disableNppAutoUpdate.xml in the install directory
    • Troglo37T

      Is There A Way To Retrieve My Settings

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      7
      0 Votes
      7 Posts
      548 Views
      PeterJonesP
      @Troglo37 , It’s much too late now, but for “open all tabs”, Notepad++ has the session.xml.inCaseOfCorruption.bak, which should be one version of your session file out of date (for example, my session file is dated yesterday at 7:13pm, and my corruption-backup is from 2:37pm that same day). So, in the future, if you open Notepad++, and it doesn’t have all your old session files open, before doing anything (before closing Notepad++ or trying to save or load anything), make a copy of session.xml.inCaseOfCorruption.bak to tryme.session.xml so it won’t be overwritten, exit Notepad++, rename session.xml to bad-session.xml, copy tryme.session.xml to session.xml, and start Notepad++: that should take your in-case-of-corruption session as your active session … so if the previous time you exited and started was good, you should be back to that session. That won’t fix your corrupted stylers (colors). Unless you had a recent change in one off your Style Configurator settings, I am surprised Notepad++ was trying to write to your stylers.xml, because it only tries to write it if there was a change. But maybe the reboot process confused some bit in memory making Notepad++ think it needed to.
    • J

      remove the find in files feature

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      -2 Votes
      6 Posts
      551 Views
      J
      @PeterJones i just wont bother using notepad++ again, ill go find a better alternative
    • Guido ThelenG

      SQL Formatter Plugin SQLinForm has now Visual NAvigator for complex SQL

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      2
      5 Votes
      5 Posts
      281 Views
      Lycan ThropeL
      @Guido-Thelen said: 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. That’s good to know, that it handles the different variants, and although I don’t get to do a lot of difficult/complex SQL, there are many in the dBASE community who do, as they use dBASE as the frontend interface and ADO to connect with the different SQL backends to replace the aging BDE. I’m sure any of our developers who use the dBASE UDL we made can probably use this as well. I clued them into using CSV Lint and Csv Query plugins for working with manipulating text data before importing it, so this tool will also come in handy. I saw some of their complicated SQL when doing the UDL so I could properly implement color coding, keyword and AutoCompletion features and used their sample SQL statements to test against for color coding and keyword collisions. You’re right, the problem with Workbench is you need a live connection to the data, so this will be a great non-connect SQL diagnostic tool for them. Thanks for doing it and hopefully I’ll be able to play with it sometime soon, but right now my plate is full elsewhere with RL issues.
    • Troglo37T

      How Do I Get Rid of the Line in the Margin When I Type Something?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      316 Views
      Troglo37T
      @mpheath Okay, I’ll check it out. Thanks.
    • T

      Confirmation or disable the Find All in All Opened Documents

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      588 Views
      T
      Feature request created: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/18429 Put the several possibilities given my lack of knowing how the backend works and the feedback I’d gotten on this thread of possible feasibilities. I do stuff on both a Work computer using IT’s selected version of Notepad++ as well as home use, so even if I could get AutoIt working on my personal computer, I probably can’t get it running on my Work computer (permissions) I’ll try to train myself to alt+d
    • S

      What are your favorite Notepad++ features for everyday coding?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      137 Views
      PeterJonesP
      @T.I-Digital-Solutions said: I mainly use Notepad++ for working with HTML, checking page source, and making quick edits during SEO tasks, so I was curious about features that could make those jobs easier. With those specifics, then I’d say good plugins to try would be HTML Tag, Preview HTML, and XMLTools. UDL is not useful for HTML, because the HTML lexer that’s built into Notepad++ is better than anything that the simple User Defined Language system can handle. But if you also deal with the server configuration files (like .htaccess files), then the UDL Collection has a UDL available for Htaccess, for example.
    • RWieber79R

      NotePad++ crashes using compare plus immediately after clicking compare

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      7
      0 Votes
      7 Posts
      1k Views
      P
      All, Please try and use ComparePlus v3 - it is the latest released version. If you experience any problem with it you could report it directly here or you could write here in the Notepad++ community forum for help and advise from fellow users. I also visit the forum from time to time to check the “news” for our favorite editor :) Good luck and thanks
    • Michael FuerstM

      Bold text

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      0 Votes
      6 Posts
      2k Views
      M
      Hi everyone, I owe the community an apology. My reply in this thread linked to my own website — that was self-promotional and inappropriate for this forum. The question deserved a straight answer without any link attached. I’m sorry, and it won’t happen again. Thank you to the moderators for keeping this place clean.
    • Michael MankiewiczM

      Vertical tabs with horizontal text?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      14
      1
      0 Votes
      14 Posts
      11k Views
      PeterJonesP
      It looks like @LucaSorvillo took me up on the recommendation: Created new Issue #18496 , so there’s an “open issue” to PR against Created PR#18497 to implement it as a sub-option of the Tab Bar > Behavior > Vertical option
    • Dean-CorsoD

      How to normalize fancy Unicode text back to regular text?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      31
      0 Votes
      31 Posts
      15k Views
      PeterJonesP
      The answer, as far as Notepad++ is concerned, is “use the PythonScript solutions already presented, or similar, and/or the plugins mentioned.” People can use keywords found here to do their own web searches, if they want more background information. So I’m not sure there’s more that needs to be said, here. Looking at the history of this topic on the moderator/admin side of things, this topic (and similar ones, some of which have already been locked) is a “honeypot” for users trying to do links to their “fancy text generator” websites, and we don’t want this forum to be just a link farm to external sites. As such, and because the original conversation had completed 3 years ago, I am locking this topic. Please note: my removal of links above was not to claim that everyone who put in such a link was “spamming” the forum; many of those links helped the original discussion prove a point, and were useful at the time. But what has happened is that bots/spammers keep seeing links to such sites, and trying to spam us with more links. We don’t want to become a link farm, so I have redacted the links, and users who are still curious can perform their own web searches to look for “fancy text generators” to generate the text or “unicode normalization” or “normalize unicode” to undo the fancy text, or use the new Unicode Normalize plugin, discussed here.
    • deleeleeD

      Strange behaviour with find all in current document results

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      1
      0 Votes
      4 Posts
      579 Views
      deleeleeD
      @Alan-Kilborn said: @deleelee 9 is single digit and 12/14/22 are each two digits. Thank you, that’s exactly what it was.
    • P

      Search and Replace for CNC Help Needed

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      1 Votes
      4 Posts
      283 Views
      PeterJonesP
      @Paul-Adamczyk said: Still much to learn. Useful References: Notepad++ Online User Manual: Searching/Regex FAQ: Where to find other regular expressions (regex) documentation
    • D

      Cannot Update Plugins

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      455 Views
      PeterJonesP
      @steeve-wick , That’s almost a direct quote of what I said a month ago. Were you trying to add new information?
    • Patrick DanileviciP

      Save as .md default

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · markdown
      14
      0 Votes
      14 Posts
      13k 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
    • K

      Last Opened Files are not There when Reopening after Windows 11 Update

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      272 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.