• Autocompletion and plugin

    Help wanted · · · – – – · · ·
    6
    0 Votes
    6 Posts
    415 Views
    General CoderG

    @Ekopalypse thanks for the info. I was hoping to avoid having to create custom autocomplete but cant have everything :)

  • 0 Votes
    7 Posts
    7k Views
    Robert BaerR

    Title says Win7 – works on Windows 11 too

    A bit late, but this post was the key to getting things working on Windows 11 for me. I had stuck with the 32-bit version for years and had installed it on a non-default disk. When I upgraded to the 64-bit version everything related to the right click menu stopped working.

    Using regedit to insure that this key pointed at my 64-bit install got things right.
    [HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\open\command]

    double click on default to see the actual key if you haven’t used regedit before.

  • Revert to Windows 10 NotePad

    General Discussion
    3
    0 Votes
    3 Posts
    181 Views
    7 COME117

    @PeterJones
    Many thanks!
    Regards,
    RPrinceton

  • 0 Votes
    3 Posts
    234 Views
    Maciej ZetM

    @pbarney BIG thanks as this is was I looking for.
    Just for the record - just checked and 2 entries is also fine:

    Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1\Shell\Edit with Notepad++ from line 450\Command] @="\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%1\" -n450 %*" [HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1\Shell\Edit with Notepad++ from line 450] "Icon"="C:\\Program Files\\Notepad++\\notepad++.exe"

    and perfect icon appear :)

  • How to copy text file from Notepad++

    Locked General Discussion
    4
    0 Votes
    4 Posts
    194 Views
    PeterJonesP

    @Alexander-Anisimov ,

    Ah, okay, I understand. Notepad++ itself doesn’t have that feature. But as you apparently don’t remember from last October when you asked the same question, there are ways using a script for the the PythonScript plugin. It seemed more than you could understand at the time, but maybe it’s important enough to you to try again.

    If you have questions about the old discussion, you can continue the conversation there, to maintain context. Since this is a duplicate of your previous discussion, it is being locked – so you can reply there, not here.

  • Truth is hidden within obscenity

    Humour
    4
    2 Votes
    4 Posts
    862 Views
    XLN TechnologiesX

    Sadly, it’s missing the lang attribute so it’s just short of true perfection:
    16e31b41-90cb-4378-837f-0ef561d08d53-image.png

  • 1 Votes
    1 Posts
    235 Views
    No one has replied
  • 1 Votes
    3 Posts
    191 Views
    Thomas KnoefelT

    @NebulaPulseX
    MultiReplace covers the complexity you’re dealing with quite well. While it doesn’t support syntax checking, it handles regex, variables, and multiline edits. Bulk replacements work across all open files in Notepad++. Folder-based processing is on the roadmap.

  • 0 Votes
    10 Posts
    814 Views
    PeterJonesP

    For those who weren’t watching:

    ozone10 made a better fix for the tab-control: PR #16673 has been accepted ozone10 also fixed my “secondarily” report about the listbox scrollbar from above, which I reported in issue #16674, fixed in PR #16676 (accepted) progressbars also don’t go to darkmode, and ozone10 has proposed PR#16687, which hasn’t been accepted yet, but hopefully will be.

    So at least 2 of those 3 (and hopefully the third) will be in v8.8.2

    Meanwhile, CollectionInterface v1.1 has been released – the new version will be in PluginsAdmin for v8.8.2, or you can install it from the assets in the release at https://github.com/pryrt/NppPlugin-CollectionInterface/releases/tag/v1.1.0 :

    Adds DarkMode support (with N++ v8.5.4 or newer; in earlier versions, dialog will be LightMode still) [I do my own subclassing on the TabControl for v8.5.4-v8.8.1; it will use the builtin starting in v8.8.2] Allow selecting multiple files for bulk download (#6) Add label to progress bar so “100% [DONE]” is more clear (#9) Fix crash if firewall blocks download (#13) and make error handling better in other edge cases as well
  • NppExec v0.8.9 has been released!

    Notepad++ & Plugin Development
    1
    4 Votes
    1 Posts
    94 Views
    No one has replied
  • 1 Votes
    6 Posts
    550 Views
    PeterJonesP

    @deleelee said in The 'shortcuts.xml' file is NOT re-created if you delete it, on purpose or by mistake !:

    Perhaps I’m misunderstanding your meaning but, if the “exe” directory is the one containing notepad++.exe, the portable version does have shortcuts.xml there.

    You ignored the context of the discussion: the specific question @guy038 asked was,

    Is is normal that a default shortcuts.xml file is NOT created if absent in current folder ( for a portable version )

    Or, phrases a different way: “if you delete the shortcuts.xml and start Notepad++, why doesn’t it re-create it with default shortcuts”

    So, definitionally, if you’ve deleted the shortcuts.xml from the portable directory, there is no shortcuts.xml from which NPP can read the defaults, since NPP doesn’t have a .model for shortcuts.xml and it has no where else to look. (I was contrasting that to the normal installation, where if you delete the App data shortcuts.xml, NPP can recreate it using the shortcuts.xml in the exe directory)

  • 0 Votes
    17 Posts
    5k Views
    D

    Came here to say I got same issue when using remote session and the target laptop lid is closed. Notepad stops rending the opened files. This is on Windows 10 and notepad version is 8.8.1.

  • How to remove a language from a srt file?

    General Discussion
    3
    0 Votes
    3 Posts
    443 Views
    Md. Mobashir HasanM

    @rinku-singh it’s been long & i forgot for what exact reason I asked. Thanks, anyway.

  • 0 Votes
    3 Posts
    222 Views
    mpheathM

    @Bernard-Schleich-0

    I currently use

    https://github.com/Tatsu-syo/noMeiryoUI

    in Windows > 7 removed settings to adjust fonts in Notepad++ and other programs . In Preferences, General -> Reduce may need to be unchecked for OS settings to be used.

    Size of fonts changed should be modest as larger sizes may not fit in the area allocated in the GUI.

    Microsoft appears to want users to use Scaling instead of the legacy of WindowMetrics.

  • 3 Votes
    1 Posts
    385 Views
    No one has replied
  • 0 Votes
    4 Posts
    236 Views
    wonkawillyW

    After reading the answers, it seems that the proposal for improvement of this OP is not a real good Idea.

    Thank you all for the clarifying answers.

  • Question(s)

    General Discussion
    23
    0 Votes
    23 Posts
    5k Views
    CoisesC

    @mkupper said in Question(s):

    I verified that at least for my current setup that the zoom level seems to have no affect on the printed results.

    Same here. Perhaps I was unclear.

    If I leave the zoom at default and adjust the font size for Default Style to be large enough for me to read easily on my monitor, I would set a font size of 14 or 16 points with Liberation Mono. (14 is bit smaller than I like, 16 is too big, 15 isn’t an option.) Those are too large for printing, though.

    If I set Default Style to 12 points, printing is reasonable. If I then zoom in 3 steps, I’m just about where I want to be to read easily on the screen — without affecting printing.

    The question I was answering was, “Why not just change your default font size?” Because that does affect printing (and, though I hadn’t remembered until I tried just now, also isn’t as fine-grained as zoom).

  • NppMenuSearch version 0.9.7 available

    Notepad++ & Plugin Development
    13
    3 Votes
    13 Posts
    858 Views
    Vitalii DovganV

    Here is a funny scenario:

    type “menu” in the Search textbox; select Plugins -> NppMenuSearch -> Menu Search… press Enter.
    As the result, the Search textbox does not have a focus!

    Well, I know this is a strange use-case: call itself, but anyway :)

  • [New Plugin] MultiReplace

    Notepad++ & Plugin Development
    69
    3 Votes
    69 Posts
    31k Views
    wonkawillyW

    IMHO the features of this plugin should be implemented directly into N++, maybe adding a further tab page to the current Search and Replace dialog to include the features of this plugin and its future evolution.

  • Notetab++ novice questions

    Help wanted · · · – – – · · ·
    2
    0 Votes
    2 Posts
    184 Views
    PeterJonesP

    @mapsonx said in Notetab++ novice questions:

    Notetab++

    I think you mean “Notepad++”

    I’ll answer your last one, first, because it’s not related to the others:

    If I add content to a new file, I am not prompted to save/dismiss, but when i open notepad++, that content is still there?? Is there a filw created. I’ve never experienced that type that of behavior before.

    That’s Settings > Preferences > Backup > ☑ Enable session snapshot and periodic backup option being turned on: as described in the backup settings in the User Manual, in that mode, Notepad++ will periodically take a snapshot of any edited files, and even remember those unsaved changes the next time you restart Notepad++. I, personally, am not a fan, because it lulls people into foolish behavior (like never saving/naming a file). However, that has been Notepad++'s default behavior for years… and it’s been there long enough that Microsoft took a page from Notepad++'s book (because in the “app” version of MS notepad that gets shipped with Windows 11 – the version that also now has tabbed editing, not the old win10-and-earlier one-window-per-file – now also keeps your unsaved changes from run to run).

    If you don’t want to keep unsaved changes, and you want to be prompted before exiting Notepad++, you can turn off that option: congratulations for wanting to control your data. To better understand this feature, and other backup-related issues, I highly recommend reading the backup settings in the User Manual and this forum’s backup FAQ, just to get a better handle on what’s going on.

    Now to your first question:

    1 I have both portable versions, from here and portableapps.

    Downloading from the official website is great. Downloading the portableapps version is a bad idea, because they edit the binary without saying what they change (in violation of the open-source license, IMO); we cannot guarantee that the portableapps version behaves in any way, shape, or form like the official Notepad++ release. Use portableapps at your own risk (or better, don’t use it, ever).

    How do I update the version form this site and maintain tre current settings. I tried to keep the current .xml files bu that did not help.

    It helped, but you might not have kept all the right files. The official Online User Manual for Notepad++ has a section devoted to upgrading the portable edition: https://npp-user-manual.org/docs/upgrading/#upgrading-a-portable-edition

    Toolbar size and labels. I want the larger toolbar, and if possible, button labels., but aI like the fancier icons I don’t know why the toolbars look different.

    For builtin icons, the “large” icons only come in the new “Fluent UI” look, hence the names in the Settings > Preferences > Toolbar section (was a sub-section of the General tab, before v8.8.0) are “Fluent UI: large” and “Filled Fluent UI: large”. If you have one portable set to “standard icons (small)” and another to “Fluent UI: large”, of course your toolbars are going to look different.

    Also, this is strange. Upon opening this sites version after I trying to update it, both toolbars were now identical to portableapps, and it had the same content as the portableapps version.

    When you updated your portable copies, you presumably overwrote all your config files, including your choice of which toolbar icon set you were using, so they went back to the same. (Though I’m surprised they went back to the “Fluent UI: large”, which your screenshot appears to be showing, because

    Are they cloud connected? Yes, I know, doesn’t make sense.

    No. (Well, not unless you had set the Cloud settings in the preferences dialog, and set them both to the same cloud folder.)

    For builtin toolbar icons, your only choices are big/small and hollow/filled versions of the Fluent UI icons, or the old small-only standard icons. (That “standard icon” set has not, as far as I can remember, been published in a large-icon version. In Notepad++ 7.9.5 and earlier, before there were the “Fluent UI” icons, there were the ancient “small icons” and “big icons” and the “standard icons” (which were small, even then); I just double-checked v6.5 from 2013, the oldest copy I have downloaded right now, and the “standard” ones were only small, even then.)

    You can customize the icons, if you don’t like any of the four Fluent options or the “standard icon” set. The Toolbar Customization section of the User Manual explains how to do that, and even provides a link to a zipfile with a copy of the ancient “big icons”, which are now called the “legacy” icons. But that download doesn’t come with big versions of the “standard icons”, either… so if that’s what you wanted, you’d still be out-of-luck. It might be possible to use image editor software and grab the “standard icons” out of the Notepad++ source code, and scale them from 16x16 .ico files to 32x32 .ico files – but I don’t know of anyone who has done that and made them public.