Categories

  • Announcements regarding our community
    279 Topics
    5k Posts
  • Frequently Asked Questions and Guides (about Notepad++ and this Forum)

    36 Topics
    61 Posts
    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++.

  • Notepad++ discussions that don’t fit in other Categories

    4k Topics
    22k Posts
    João MacJ

    I’m using Notepad++ 8.8.1 (Portuguese GUI).

    In the file [notepad++ path]\localization\english.xml, there’s a section called “MiscStrings”, which has the following IDs:

    <common-ok value="OK"/> <common-cancel value="Cancel"/> <summary value="Summary"/>

    I’d like to test the TranslateID attribute for submenus (FolderName) in the file [notepad++ path]\shortcuts.xml, section “UserDefinedCommands”:

    <UserDefinedCommands> <Command name="Open CMD" FolderName="Terminal" TranslateID="common-ok" Ctrl="no" Alt="no" Shift="no" Key="0">cmd /k</Command> <Command name="CMD in current path" FolderName="Terminal" TranslateID="common-ok" Ctrl="no" Alt="no" Shift="no" Key="0">cmd /k cd /d "$(CURRENT_DIRECTORY)"</Command> <Command name="File info" FolderName="X1" TranslateID="summary" Ctrl="no" Alt="no" Shift="no" Key="0">cmd /k echo "Arquivo: $(FILE_NAME)" &amp;&amp; pause</Command> <Command name="Full path" FolderName="X1" TranslateID="summary" Ctrl="no" Alt="no" Shift="no" Key="0">cmd /k echo "Caminho: $(FULL_CURRENT_PATH)" &amp;&amp; pause</Command> <Command name="Open folder" FolderName="" TranslateID="common-cancel" Ctrl="no" Alt="no" Shift="no" Key="0">cmd /k cd /d "$(CURRENT_DIRECTORY)" &amp;&amp; dir</Command> <Command name="Show files" FolderName="" TranslateID="common-cancel" Ctrl="no" Alt="no" Shift="no" Key="0">cmd /k dir "$(CURRENT_DIRECTORY)\*.*" /b</Command> </UserDefinedCommands>

    After restarting Notepad++, the submenus still appear with the names “Terminal” and “X1” instead of the expected translations “OK” and “Summary”. What should I correct?

    Reference: https://npp-user-manual.org/docs/config-files/

    FolderName attribute: Used for grouping items into sub-menus in the context menu.

    TranslateID attribute: Used for auto-translating your sub-menu names. If the attribute’s value matches one of the nodes in the <MiscStrings> section of english.xml or similar translation files, the menu will use your active translation’s value for the displayed FolderName.

  • 10k Topics
    53k Posts
    PeterJonesP

    @Brian-Edgeley ,

    Surely someone has mentioned this before?

    If it didn’t work for anyone, then yes, obviously, someone would have mentioned it before. The fact that no one has mentioned it (or very few) indicates that, in reality, it works for the vast majority of people who use it.

    I use it on a daily basis, and have for years, and it’s always worked for me, both on my old Win10 setups I used to use and my new Win11 machine.

    If you want help debugging why it’s not working for you, please go into your ?-menu and choose Debug Info, then copy that information and paste it here – that will give us specific version-info about your N++, as well as other useful information that helps us understand your setup. Once we know a little more about your setup, we might be able to start giving insight or hazarding guesses.

    The biggest and most obvious culprit – so frequent that it actually has a paragraph in the Online User Manual – is that if you’re running Notepad++ “as Admin” (it would have “Administrator” in the title bar, and the Debug Info would tell us if you were, even if you didn’t know), then the shell extension’s Edit with Notepad++ action might not be able to open the file into Notepad++.

    Beyond that, I would probably suggest trying to un-register the shell extension then re-register it (both those steps are here in the User Manual)… but before I could give specifics to help you through that process, I would need to know what version you were using and where your Notepad++ was installed (again, through the Debug Info)

    So, other than “check to make sure Notepad++ is not in Administrator mode”, I cannot give any solid advice until you share your Debug Info.

  • Technical discussion of building or contributing to Notepad++ or Plugin codebases

    1k Topics
    9k Posts
    Mark OlsonM

    @Jonathan-Johansen

    Hi, I’m the maintainer of NppCSharpPluginPack. Glad to hear you’re interested in creating a new variant with WPF, and I hope you’re able to make something you’re happy with.

    I don’t know anything about WPF, but I do know that forms (especially docking forms) in a Notepad++ plugin have to do a bunch of annoying fiddly things to ensure that they work correctly. I recommend reading carefully through NppFormHelper.cs and FormBase.cs, because they contain a few methods that you need to create WPF versions of to ensure your forms work correctly.

    More specifically, I’m guessing that your keyboard input problem is due to not registering your form with NPPM_MODELESSDIALOG.

  • Security shouldn't be the privilege of rich people
    51 Topics
    216 Posts
    donhoD

    @Coises
    Thank you!
    These 2 websites (8 links) have been blocked.

  • All the issues (publications/questions) about binary translation
    72 Topics
    462 Posts
    Alan KilbornA

    @PeterJones

    Ah…

  • Say fuck to Notepad++ here, and only here
    88 Topics
    507 Posts
    Klein KlayK

    95399cd5-c897-4efe-8260-dd45d7397047-image.png

  • No support request and bug report here, only unconditional praise and worship

    1 Topics
    3 Posts
    T

    @martaisty I agree, this is a pretty awesome idea! I actually forgot there was a war going on.

    I’m a new user of Notepad++ and I already love it very much, both the politics and the software itself.

    It’s nice to see Don Ho has provided several ways I can help stop this damn war.

    As he suggested, I wanted to donate to one of the reliable organizations “Dronators” which is to help Ukraine assemble an army of drones but that project is already over and it’s no longer possible to donate.

    Anyways, I don’t think they will need my $50 as the project has collected $1,443,157,017! Impressive, but the war didn’t stop, what a bummer!

    In the end I chose to donate to the National Bank of Ukraine which is reliable as it is the national bank of Ukraine. Don Ho says this is to “help people suffering” and funding the military always leads wars to stop, eventually.

  • Blog posts from individual members
    58 Topics
    217 Posts
    OliverO

    As a developer, I often use Notepad++ when I’m traveling or working remotely. Recently, I took a cruise vacation, and it inspired me to jot down thoughts — not just code, but also motivational cruise quotes that help me stay creative.

    Here are a few cruise quotes that spark joy and clarity — just like clean code:

    “You can’t control the wind, but you can adjust the sails.”

    “Cruise life: where work ends and waves begin.”

    “Let your dreams set sail.”

    If you’re a developer who enjoys travel, you might enjoy reading my full list of inspiring cruise quotes here.

    Bonus tip: I used Notepad++ during my trip to take notes, edit scripts offline, and even write some travel logs!

    Let me know — do you code while cruising?


    moderator deleted external link

  • Computer/Programming Jokes are welcome here

    53 Topics
    170 Posts
    ThosRTannerT

    From here https://xkcd.com/2347/ - I think the author understands our digital infrastructure only too well.