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

      To all the monetizing companies...

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      10
      25 Votes
      10 Posts
      45k Views
      Clod TwothousandC

      @donho I created an account just to upvote, but I didn’t have the reputation. There is no information on how to gain reputation (that I could find). I was probably not going to do whatever was required anyway. It would have been nice to allow new users to allow to upvote useful posts, without jumping hoops.

    • Lord KinnL

      No text on selected line

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      17
      0 Votes
      17 Posts
      3k Views
      K

      @mtref Thanks that resolved my issue! :)

    • Deniss JohanssenD

      We are with Ukraine

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      2
      0 Votes
      2 Posts
      364 Views
      Najeeb HajjiN

      @Deniss-Johanssen well said.
      Gaza has higher priority

    • Najeeb HajjiN

      Download Says we are with Ukrine

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      1
      -1 Votes
      1 Posts
      68 Views
      No one has replied
    • Alan KilbornA

      PythonScript detect saved/unsaved file state at startup

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

      After long delay, I made an official Notepad++ issue out of this:

      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16514

      In the issue, I switched to using NppExec to reproduce, rather than PythonScript, lest it be interpreted as a PS bug and not a N++ bug.

    • Mark OlsonM

      JsonTools v5.5. is live!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development json jsonviewer plugins
      15
      7 Votes
      15 Posts
      7k Views
      Mark OlsonM

      JsonTools v8.4, which adds translation to several more languages and a few minor bugfixes, is live.

      It has been tested and appears to work well for versions of Notepad++ ranging from 7.3.3 to 8.8.1, both 32-bit and 64-bit.

    • donhoD

      Notepad++ v8.8.1 Release Candidate will be out in less 2 days

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      1
      2 Votes
      1 Posts
      345 Views
      No one has replied
    • Terry RT

      Spotted in a drive-by on the web

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      2
      5 Votes
      2 Posts
      632 Views
      M

      @Terry-R
      Year 99999 Shouldn’t be a problem… Around 2025 years ago we manage to alter all code references to “Year = Year -1” to “Year = Year + 1” without much difficulty.

    • guy038G

      FAQ: List of Notepad++ key combinations, available for shortcuts

      Watching Ignoring Scheduled Pinned Locked Moved FAQ faq shortcut key shortcut mapper shortcut
      10
      2 Votes
      10 Posts
      10k Views
      PeterJonesP
      Update

      As of Notepad++ v8.7.6 in January 2025, the Shortcut Mapper should now list the keys based on the keyboard layout that was active when you started Notepad++. You should no longer need this FAQ, unless you are choosing to use an older version of Notepad++.

    • Adil SattarA

      Kotlin Language

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      2k Views
      Ako SajaiaA

      plzz add koltin guys , i love notepad ++ everything i’m writing in it , pluzz doit :3

    • Finn LF

      Inserting date/time

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

      Hi guys, just wanted to thank you all for this post!

      I love shortcuts and just today learned of a way to do it in NP++ thanks to @Alan-Kilborn :)

    • Timur KelmanT

      Missing lexers from Lexilla?

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

      Update from the far future: SAS was officially enabled in Notepad++ in v8.7.8, so you no longer need to use a script to enable SAS highlighting.

      I wanted to add the Stata lexer at the same time I did SAS, but without a GitHub issue requesting it, I couldn’t justify it. If someone can create a GitHub Issue requesting Notepad++ enable the Stata lexer, I could add it to my TODO list, since I now have experience enabling those missing/hidden lexers in Notepad++. You can use https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16148 as an example of an issue requesting a language be enabled – but I would ask that you include keyword lists: The Stata lexer has 2 keyword lists – one for normal keywords, one for data types – so if the Issue/request could include those two lists of keywords, it would make it much easier for someone who knows nothing about Stata to do the addition (since I wouldn’t have to go googling to try to figure out keywords and try to determine which should be called “normal keywords” and which as “types”). If you do create an Issue, please also paste a link here, because I don’t see all new Issues in the repo.

    • Charles BuegeC

      Adding a shortcut to a language....

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      1 Votes
      4 Posts
      2k Views
      Riyas Aboobaker Abdul RahmanR

      @PeterJones Thanks!!

    • willb2022W

      Disabling clicking beyond end of line

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      2k Views
      Jim SageJ

      Thanks for straightening this out, it was driving me crazy!

    • ThosRTannerT

      [New plugin] Linter++ - Linter plugin with message navigation.

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      2 Votes
      1 Posts
      57 Views
      No one has replied
    • Juan Fco Rubio DiazJ

      Notepad++ Using two or more desktops

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      183 Views
      PeterJonesP

      There was just a spammer who actually posted reasonable advice for a workaround:
      “A workaround is to run multiple instances using the -multiInst option. Create a shortcut with notepad++.exe -multiInst to open files in the current desktop.”

      (the original post had a random word converted into a link to some spammy website that had nothing to do with the question or Notepad++, hence the original poster – now banned for spamming – is not going to get credit for the solution.)

      It doesn’t solve the underlying problem, but -multiInst does seem a reasonable workaround for someone who finds themselves in a multi-desktop environment. But I don’t know that it would solve Explorer > Double-Click or Explorer > Open With Notepad++ – I don’t know whether, if there’s an open Notepad++ in the current desktop, whether that instance will get preference over another Desktop’s instance, or whether the OpenWithNotepad++ will just always go to the first instance, regardless of one being open on the active desktop.

      it might be something to experiment with, until such time as a solution is implemented.

    • Manu elM

      [ToolBar] Fugue Icons for Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      9
      5 Votes
      9 Posts
      4k Views
      D

      @Manu-el These icons look good, but they’re too small. Any chance of 32x32 icons instead?

    • PeterJonesP

      FAQ: How do I use Notepad++ to Compile my Source Code (or Convert My Text)?

      Watching Ignoring Scheduled Pinned Locked Moved FAQ faq automation
      2
      4 Votes
      2 Posts
      13k Views
      PeterJonesP
      Pork To Sausage

      The pork2Sausage.ini, accessible through Plugins > Pork to Sausage > Edit user commands, has a number of parameters for use in the the INI definitions, plus two special variables.

      Parameters:

      progPath: [Mandatory] The full path of the program to launch This is the full path, including the name of the .exe progCmd: [Mandatory] The whole command to call the program This is the whole command; because the program path is given in the first Parameter, this one can use just the name of the command rather than the full path workDir: [Mandatory] The path of working directory This is needed for setting the “working directory” for the program – for example, if it needs to be able to find specific libraries relative to some “current directory” progInput: [Optional] The full path name of the program input file. Pork to sausage plugin will write the selected text in a new created file with the given full path file name. This is helpful if you don’t want to try to input the “selected text” (see variables, below) on the command line (or example, if the selected text is too long, or the external program doesn’t accept text input on the command line) progOutput: [Optional] The full path name of the program output file. Pork to sausage plugin will replace selected text by the content of indicated file, which is supposed to be the output file of the program. If this parameter is absent, then Pork to sausage plugin will use the stdout of program to replace the selected text. This is useful if the external program writes its output to a file, instead of STDOUT. replaceSelection: [Optional] If its value is false, then the selected text will be untouched. Set this to false if you don’t want the active selection in Notepad++ to be overwritten.

      Variables

      $(SELECTION): Your text selection. The text will be encoded as UTF16-LE. Your external command must be able to handle the text in that encoding. $(TIMESTAMP): the Timestamp which will be generated by Pork to Sausage at the start of the call. This varible used for naming the file created by Pork to sausage plugin (progInput) to ensure the unicity (uniqueness) of the created file.

      Discussion

      There are two primary input methods to your application.

      You can send the selected text as an argument on the command line:progCmd=external.exe -inText "$(SELECTION)" ... You can have Pork to Sausage create a temporary file containing the selection:progInput=%TEMP%\Pork2Sausage.$(TIMESTAMP).input progCmd=external.exe -inputFile "%TEMP\Port2Sausage.$(TIMESTAMP).input"

      Example

      The default pork2sausage.ini gives a couple of examples of using just the command-line for the input text and the STDOUT of the command as the output text.

      But to give an example which requires the selected-text be sent to a temporary file (progInput) and the output of the command to another file (progOutput), here is a version of the same action as used by the NppExec example from earlier:

      [gpg-decrypt selection to self] progPath=c:\usr\local\apps\gnupg\bin\gpg.exe progCmd=gpg --output "C:\Users\XYZ\AppData\Local\Temp\p2s.$(TIMESTAMP).output" --decrypt "C:\Users\XYZ\AppData\Local\Temp\p2s.$(TIMESTAMP).asc" progInput=C:\Users\XYZ\AppData\Local\Temp\p2s.$(TIMESTAMP).asc progOutput=C:\Users\XYZ\AppData\Local\Temp\p2s.$(TIMESTAMP).output workDir=C:\Users\XYZ\AppData\Local\Temp

      The selected text will be written to the progInput file. Then progCmd will be run, which decrypts from the same file as progInput, and puts the result in the same file as progOutput. Then the plugin replaces the selected text with the contents of the progOutput file.

    • Alfonso MuñozA

      Notepad++ blank all the time, even with existing files

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      148 Views
      Alfonso MuñozA

      @PeterJones Thanks a lot for your reply. It was that setting. I have the latest Npp version and it is a checkbox for me. I disabled the DirectWrite, restarted and characters are again visible.
      I don’t recall changing that setting in the past, and I don’t think I have installed any extension recently, so I don’t know how this could have happened.
      It could be that the setting was like that already but something in windows changed. I don’t know. But once again many thanks!

    • Mike AlbersM

      Advanced replace including right trim

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      8
      0 Votes
      8 Posts
      120 Views
      PeterJonesP

      @Mike-Albers deleted the first post, and started a new conversation Topic here.

      In the future, please do not delete posts that have replies. And if you want to clarify, provide more details, etc, you can just do that in a reply, so that the conversation keeps the original context.

      To preserve the history of this discussion, the first post has been un-deleted. But since the conversation has moved forward in the new Topic, this old version has been locked.