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
    • Thomas ZitoT

      Open a new Notepad++ Window/Session and run Find All in All Opened Documents from command line

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      11
      0 Votes
      11 Posts
      98 Views
      Alan KilbornA

      @PeterJones said:

      The script he was linking to is now in the second post in this topic.

      OK.

      I think the use of “script” for that (OP’s usage, not Peter’s) is a bit confusing.
      It’s just a command-line invoking Notepad++, albeit a rather complex one.
      I understand that it could be called a “shell script”, of course.

    • Neil SchipperN

      "Join Lines" with trailing whitespace anomaly, older npp versions

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      9
      2 Votes
      9 Posts
      175 Views
      Alan KilbornA

      @Neil-Schipper said in "Join Lines" with trailing whitespace anomaly, older npp versions:

      I couldn’t see a way to edit the commit msg

      Well, the owner of it would be the only one with the power to edit it.

      or even leave a comment

      Not everything is commentable.

      so I invite a keener to fix it as the task is beyond my weight class

      No one would really want to expend the tedious effort required to fix it (make the links go to the right place). It’s an unfortunate copy/paste result. Perhaps in the future more attention will be paid to it and Notepad++ could be used to replace # with “base url to Scintilla bug list site”.

    • Vitalii DovganV

      Ask Scintilla about the text scope such as enclosing brackets or quotes?

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      8
      0 Votes
      8 Posts
      252 Views
      Vitalii DovganV

      @Coises

      SCI_BRACEMATCH is pretty useful as well, when dealing with (), [], {} and <>.

      As for “” and ‘’ (as well as other possible situations when SCI_BRACEMATCH returns -1), the internal functions findLeftBracket and findRightBracket in XBrackets Lite do pretty good job there.

      The exported functions GoToMatchingBracket and SelToMatchingBracket already work, though may need some tuning. The source code is here:
      https://github.com/d0vgan/npp-XBracketsLite/commits/feature/GoToNearestBr/

    • Thomas ZitoT

      Legacy Print dialog freeze (Windows)

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      140 Views
      Alan KilbornA

      @PeterJones said in Legacy Print dialog freeze (Windows):

      In Emacs (and possibly other unixy apps), control key combos are indicated with…

      Nice to know, I guess, but I could’ve lived without that knowledge. :-)

      As Notepad++ is a Windows (only) app, let’s try to stick to its (and Windows’) notations when discussing it: Ctrl+X Current Microsoft notation

    • donhoD

      Notepad++ v8.8.2 Release

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      15
      4 Votes
      15 Posts
      7k Views
      PeterJonesP

      @Craig-Harbison said in Notepad++ v8.8.2 Release:

      I have both 8.8.2 and 8.8.3 versions.
      they both work fine on my Win10 laptop but neither will read or let me edit my json files on my new Win11 laptop.

      Really sucks.

      I can read and edit JSON just fine with both those versions. I doubt it’s a regression, but we can help you investigate what’s going wrong for you if you start a new Topic to discuss it. If it does end up finding a problem with Notepad++, we can then direct you to the right location to inform the developer.

      If you really want help figuring out your problem, please go to the Help Wanted category, click New Topic, and write a detailed post: list your exact steps for how you are trying to read or edit JSON (ie, how you are opening the files, where the files are located, whether on your local drive, a USB drive, a network drive, etc) and what messages or circumstances indicate to you that the JSON file is not being read or edited? Please also go to your ? menu on the right of the Notepad++ menu bar, and click Debug Info, and Copy debug info to clipboard, and paste that in your new topic.

    • Vitalii DovganV

      XBrackets Lite v1.4.0 has been released!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      2 Votes
      5 Posts
      115 Views
      Michael VincentM

      @Vitalii-Dovgan said in XBrackets Lite v1.4.0 has been released!:

      The uniqueness of XBrackets is in its external simplicity and internal complexity.

      Thank you. I get 3) from the SurroundSelection plugin. Notepad++ has “Go To Matching Brace” in Search menu, but I think it only includes { [ ( ) ] }, not quotes.

      Cheers.

    • Thomas ZitoT

      Prefix custom title option or hide filename entirely so Alt+Tab shows just the custom title

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      0 Votes
      4 Posts
      51 Views
      Alan KilbornA

      @Alan-Kilborn said:

      I think it should be an absolute requirement that the title bar always starts with Notepad++ -

      Hmm, this is what I get for posting when I don’t have Notepad++ right in front of me (i.e., I get it wrong). :-(

      Now that I have it in front of me, the Notepad++ title bar shows pathname - Notepad++ or filename - Notepad++.

      My point was mainly about Notepad++ remaining somewhere in the titlebar, because this bit of consistency aids in other programs in locating the N++ main window, via the FindWindow Win32 API call. I do this a fair amount, and thus I’m projecting that I’m not alone and that others do this as well.

      Here’s a bad example; some PythonScript code:

      notepad.hwnd = user32.FindWindowW(u'Notepad++', None)

      (It’s “bad” because it isn’t necessary any longer, because newer versions of PythonScript have the notepad.hwnd variable predetermined for you – but for a long time this was not the case)

      But, if Notepad++ weren’t in the title bar text, it would not be as “easy” to locate the window, for those that need to.

      Note that the OP made no suggestion to drop Notepad++ from the title bar text; I was just thinking if the original idea was extended (as tends to happen), I’m sure someone would come up with that idea. And @Coises did call the text redundant, so that could be construed as a first step at “removal” – in quotes because of course all of these suggestions would be for optional things.

    • Murray Sobol 1M

      Does Notepad++ support Language Server Protocol (LSP)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      9
      0 Votes
      9 Posts
      1k Views
      EkopalypseE

      @notdodgeball

      thanks - I’ve changed it accordingly.

    • Kees AlderliestenK

      Closing np++ closes program behind it.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      88 Views
      xomxX

      @Kees-Alderliesten

      @Alan-Kilborn is right, e.g. #15639 or #15557.

      Notepad++ needs to be a Per-Monitor (V2) app.

      You can try this workaround:
      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14337#issuecomment-1835791674

    • Black WorkgroupB

      Digital certificate for open source projects

      Watching Ignoring Scheduled Pinned Locked Moved Security
      3
      0 Votes
      3 Posts
      90 Views
      xomxX

      @PeterJones said in Digital certificate for open source projects:

      be able to trace that signature to a Certificate Authority in the windows certificate manager store

      IMO - not an option for N++.
      Even the GitHub does not recognize the sign, so I doubt the MS will, moreover the needed x509 cert is a short-lived one (expires immediately?):

      https://docs.sigstore.dev/about/faq/#i-signed-my-commit-with-gitsign-but-it-shows-up-as-unverified-in-my-github-repository-page-why

      The Sigstore CA root is not a part of GitHub’s trust root. Gitsign’s ephemeral keys are only valid for a short time, so using standard x509 verification would consider the certificate invalid after expiration. Verification needs to include validation via the transparency log to verify that the certificate was valid at the time it was used.
    • PeterJonesP

      Config Files Need Updating, Too

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion pythonscript config-files stylers.xml langs.xml syntax highlight
      45
      9 Votes
      45 Posts
      11k Views
      PeterJonesP

      @Lycan-Thrope said in Config Files Need Updating, Too:

      more likely you’re just overworked and missed

      Typo fixed

    • Valery OrlovV

      Applying Proper Case only for the first words of many paragraphs — is it possible?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      1 Votes
      3 Posts
      126 Views
      Valery OrlovV

      @guy038, Thanks to you, I not only solved my problem, but also became better acquainted with the possibilities of Notepad++.
      Best regards

    • Christopher BasakC

      Font size and toolbar too small in Linux

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      127 Views
      ThosRTannerT

      possible AI spam?

    • Erin PhillipsE

      Close on last tab exit missing in settings

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      29 Views
      PeterJonesP

      @Erin-Phillips ,

      In v8.8, the tab bar settings were moved to their own page of preferences, no longer in General.

      2f342be0-f3f6-4e55-9141-23e28da560bd-image.png

      See the v8.8 release notes or the user manual.

      Occasionally, preferences are moved to a different or separate page of the dialog, because new options require more room than exist on the original page – for example, recent additional tab bar settings made it impossible to fit them all with the “general” settings, so they were moved to their own page, so that there’s room for them again.

      The User Manual tries to note all of those moves, so if you have a preference that you cannot find, just search for the preference text (like last tab or exit on close), and it will tell you where it moved to, and where it used to be. (After a few years, the “(changed in vX.Y.Z)” is removed, to avoid too much clutter; but we try to make it easy to find.)

    • podlipom51 podlipom51P

      File empty after opening it as Adminitrator

      Watching Ignoring Scheduled Pinned Locked Moved Security
      2
      0 Votes
      2 Posts
      47 Views
      PeterJonesP

      @podlipom51-podlipom51 said in File empty after opening it as Adminitrator:

      I was unable to save file. Suggested to open as Administrator after accepting my file is empty. It is very important file for me what to do?

      Where were you trying to save the file? To somewhere in c:\program files\ or c:\windows or similarly protected area? Or were you trying to save to a normal writeable directory on your machine’s local drive? Or a mounted network drive? Because it only suggests Administrator if it gets a “permission denied” error when you try to write the file.

      after accepting my file is empty. It is very important file for me what to do?

      Bummer. Unfortunately, if you already restarted Notepad++, and it didn’t have the Settings > Preferences > Backup set to take “session snapshots and periodic backups”, your unsaved changes were never written to disk anywhere. As soon as Notepad++ exited, those bits were removed from active memory, and were lost. Since the files were likely never written to disk, I doubt that an external file-recovery utility like Recuva would work for you, but you might try directing such at the `c:\users<username>\AppData\Roaming\Notepad++\backup

      See our FAQ on backups for more details about how the Notepad++ backup settings work, how the AutoSave plugin can help improve things, and best-practice suggestions for avoiding data loss in the future.

      Also, I think one of the frequent contributors is actively working on a solution to have Notepad++ be able to get UAC permission for a file-save without needing to restart the application – such a feature would definitely help in your case. Unfortunately, I’ve spent the last few minutes trying to find the Issue or PR where that was being discussed, and haven’t found it yet.

    • zeta orionisZ

      update notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      12
      0 Votes
      12 Posts
      25k Views
      PeterJonesP

      @lιƒєlιηє-__,

      Just press the question mark (?) button in Notepad++, located near the Windows key,

      The Windows key is a physical thing on the keyboard, the ? menu is a graphical element you can click in the Notepad++ menu bar. How a menu-entry can be “near” a key on your keyboard is completely and totally beyond comprehension.

      If you’re going to bother posting to a topic that had been answered and left dormant years ago, the least you could do is not bring in false information.

      (And the advice to “press the question mark (?) button … and click’Update Notepad++'” had already been given in various forms three years ago. So that added nothing new.)

    • F

      Add New Line Automatically After Pasting

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · paste newline auto
      2
      0 Votes
      2 Posts
      43 Views
      PeterJonesP

      @Fern99 ,

      A few years back, I shared a macro here that pasted the clipboard and then adds a newline sequence. I think this is what you want.

    • Michael Goessmann MatosM

      Notepad++ replacing '!='

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      6
      1 Votes
      6 Posts
      468 Views
      PeterJonesP

      @Michael-Goessmann-Matos said,

      @PeterJones

      Actually, I configured Notepad++ to update as soon as an update is available so I wonder how this could have happend.

      As I said above,

      or you previously had an older version that got upgraded without changing your setting (if you originally had DirectWrite off, and upgraded to a version that had it on by default, it would not generally overwrite your previously-saved setting).

    • donhoD

      Notepad++ v8.8.3 Release: self-signed certificate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      24
      1 Votes
      24 Posts
      3k Views
      Lycan ThropeL

      @donho , worked without a hitch or a hiccup. No problems with the update on my Standard Install version.

    • donhoD

      Notepad++ v8.8.3 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      38
      6 Votes
      38 Posts
      3k Views
      Ben HB

      @datatraveller1
      Awesome. You are the best!