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

      One toolbar button won't stay at new location

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      5
      0 Votes
      5 Posts
      42 Views
      VTGroupGitHubV

      No it’s not. The problem is back. Something made it work for one restart, then it broke again. I’m still looking for a fix/workaround.

    • Brent RiggsB

      Notepad++ open in new instance because I use multiple desktops

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      10
      0 Votes
      10 Posts
      8k Views
      mkupperM

      @notdodgeball said in Notepad++ open in new instance because I use multiple desktops:

      This disregard of openSession I never fully understood, as to me it should behave much like you just described.

      I regularly use, or perhaps abuse, -openSession. A whie back I created a batch file, nplist.bat, that extracts file paths from a text file and generates a session.xml file. It then runs Notepad++.exe with -openSession. While I could have just run Notepad++.exe and passed the file names directly to it. I created nplist.bat because I wanted something that allowed me to open thousands of files at once. I did not think thousands of files would fit on the command line and was not comfortable with starting Notepad++.exe thousands of times and having those pass the file name on to the running copy of Notepad++.exe.

      Notepad++ must already have some sort of inter-process communication (IPC) that allows a newly loaded copy of Notepad++.exe to tell the main running instance of Notepad+exe to come to the foreground and to open one or more files.

      That means I should be able to create an run-npp.exe that implements the -instance logic I proposed earlier. The easiest way to define and separate instances of Notepad++ would be to use portable copies. I’d put them in

      c:\npp\apple\Notepad++.exe c:\npp\banana\Notepad++.exe c:\npp\strawberry\Notepad++.exe

      This allows each instance of Notepad++ to live in its own world. This assumes that whatever IPC Notepad++ uses is something that allows for multiple copies of the .exe to run at the same time and for an external app to talk to them. If, for example, Notepad++ is using a named pipe with a fixed name then only one copy can own the pipe.

      What want is the ability to tell an already running instance of Notepad++.exe to open a file. For example, I want to open fruit.txt in Notepad++ and want to use the banana instance of Notepad++.exe to view or work with this file.

    • Christian HoffmannC

      Opened files fully expanded

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      83 Views
      mpheathM

      @Christian-Hoffmann

      Tested v8.8.1 being quite a new and clean portable and reopens new 1 folded

      Set as Python language folded at if on line 1. Programmatically regarded as line 0.

      new 1:

      if a: b

      session.xml:

      <?xml version="1.0" encoding="UTF-8" ?> <NotepadPlus> <Session activeView="0"> <mainView activeIndex="0"> <File firstVisibleLine="0" xOffset="0" scrollWidth="39" ... snipped ...> <Fold line="0" /> </File> </mainView> <subView activeIndex="0" /> </Session> </NotepadPlus>

      See the xml tag Fold. Folding is saved and restored.

      More details might be needed to solve your issue, like version being used … as ? -> Debug info... shows.

    • Chuck HerrickC

      Format my JSON

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      9
      0 Votes
      9 Posts
      4k Views
      PeterJonesP

      @Estevao-Jordao ,

      Did you really need to come 4 years later to give a URL to a random website when the problem is solved with Notepad++ and the JSToolNpp plugin mentioned then (or the JsonTools plugin which also exists now).

      (your link was de-linkified, to avoid this forum becoming a honeypot for posting URLs to random sites unrelated to Notepad++)

    • Richárd StockingerR

      [New Plugin] NppOpenAI

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      45
      8 Votes
      45 Posts
      29k Views
      Richárd StockingerR

      Hi everyone,

      @andrea-tomassi’s PR was really helpful, and it was accepted of course, moreover this gave the project a great shake-up! Of course, the update has also been added to the nppPluginList repository and was recently accepted.

      If someone doesn’t want to wait, manual installation is available as usual with the v0.5 release (unzip the appropriate ZIP file to the plugins/NppOpenAI folder):
      https://github.com/Krazal/nppopenai/releases/tag/v0.5.0

      The last few months have been very stressful for me (there was a nationwide update in the Hungarian .HU domain name registry, which also affected our developments too), but now things are starting to calm down and I hope to have more time for the plugin. ✨

      Once again, thank you to those of you who are trying out the plugin, and I am very grateful for all the contributions!

    • PeterJonesP

      Announcement: NPPM_GETOPENFILENAMES and related are being deprecated in v8.8.2

      Watching Ignoring Scheduled Pinned until 6/30/25, 3:12 PM Locked Moved Notepad++ & Plugin Development
      8
      3 Votes
      8 Posts
      159 Views
      rdipardoR

      @PeterJones said in Announcement: NPPM_GETOPENFILENAMES and related are being deprecated in v8.8.2:

      Correct me if I’m wrong, but the “canonical C++ example” would be able to use TinyXML2 even if N++ itself is still using TinyXML, since the two are independent codebases. Right?

      Not much difference between them, except that version 2 is Unicode-aware. In fact HTML Tag is built with TinyXML2 in order to provide menu localization for pre-8.7 Notepad++ versions. It was even compatible with Windows XP, before I had to drop support for it in the 1.5.2 release.

    • Moutaz BakierM

      Notepad++ whitespace autocomplete define

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      21
      0 Votes
      21 Posts
      992 Views
      PeterJonesP

      @rinzwind5 said in Notepad++ whitespace autocomplete define:

      bgColor is hard-coded in each UDL and cannot be set to ‘inherit/default’ (as in use the NPP theme setting’s background).

      Nitpick: you said "Cannot be set … "; but the reality is that it would be better to say “can be set in exactly the same way as you do in the NPP theme setting’s background” – ie, by right clicking the color or toggling the checkbox for Transparent

      Here’s a screenshot of a UDL defined with keywords one two three in red-on-transparent (and that UDL’s “Default” styler set to black-on-transparent – not shown in screenshot), when originally set up in Default (stylers.xml):
      ef38e661-4a15-4182-94c0-b4ef82b6cddc-image.png

      And here, all I did was change the theme to Solarized - Light: the background changes with no change to the UDL:
      fe093247-e6bf-41d0-8ac6-2a345d36eaff-image.png

    • donhoD

      Truth is hidden within obscenity

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      3
      2 Votes
      3 Posts
      227 Views
      peter-fbP

      Here are some more (also NSFW) versions of this website:

      http://bettermotherfuckingwebsite.com/

      https://securemotherfuckingwebsite.com/

      https://perfectmotherfuckingwebsite.com/

      https://thebestmotherfucking.website/