• Please Read This Before Posting

    Pinned Locked
    1
    7 Votes
    1 Posts
    5k Views
    No one has replied
  • v8.7 Search Results Missing

    Pinned
    14
    0 Votes
    14 Posts
    634 Views
    xomxX

    This v8.6.9-v8.7.2 issue has been fixed (GitHub commit).
    The fix will be included in the next Notepad++ version (probably v8.7.3).

    @PeterJones
    I would leave this topic pinned for a while longer until the fix reaches most N++ users.

  • HELP: Having trouble with Macros in v8.5.3 or later

    Pinned
    28
    2 Votes
    28 Posts
    5k Views
    Mike NewmanM

    Moderator Note: The contents of this post were moved to a separate topic, Macro works normally, but fails when shortcut is Ctrl+Shift+C, because it’s actually separate from the >=v8.5.3 issue for this Topic.

  • How do I create a custom fold in PowerShell

    7
    0 Votes
    7 Posts
    65 Views
    David A. StewartD

    @mpheath Thanks, that is what I have been doing so far, but it’s a band-aid, I do appreciate taking the time to respond. I have not dug into the Notepad++ options too much, except where I use them to write scripts.

  • Link to Edit with Notepad++ status/fix please

    2
    0 Votes
    2 Posts
    29 Views
    PeterJonesP

    @Stanseas ,

    You didn’t say which OS, or which precise version of Notepad++ you are using, both of which may be relevant; based on your screenshot, I’m guessing Win11. If it’s an older Notepad++ and Win11, then some older versions had some difficulties with the context menu for a while. (?-menu’s Debug Info would answer both.)

    I am also wondering whether it’s the Edit with Notepad++ entry from the Shell Extension, as described in the User Manual, or whether it’s added as a registry entry.

    If it’s the Shell Extension, maybe you could try to un-register then re-register the extension, as described further down in the User Manual link above. Or maybe un-register, then re-install Notepad++ (making sure to [install v8.7.1], which is the last confirmed-stable version). You can also reg query HKLM\SOFTWARE\Classes /s /f NppShell.dll: mine shows the following results:

    HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B298D29A-A6ED-11DE-BA8C-A68E55D89593}\InProcServer32 (Default) REG_SZ C:\Program Files\Notepad++\contextMenu\NppShell.dll HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PackagedCom\Package\NotepadPlusPlus_1.0.0.0_neutral__7njy0v32s6xk6\Class\{E6950302-61F0-4FEB-97DB-855E30D4A991} DllPath REG_SZ NppShell.dll End of search: 2 match(es) found.

    If it’s an old-fashioned registry entry (less likely if you’re in Win11), you can run regedit.exe and search for notepad++.exe, looking for an entry named Edit with Notepad++ (it may be &Edit with Notepad++ or Edit with &Notepad++, which is why I suggested searching for the executable name, which won’t change) – there might be an entry pointing to an old location (maybe the Program Files (x86)\ when your active one is really in Program Files\)

  • Open file to most recent edit

    2
    0 Votes
    2 Posts
    33 Views
    PeterJonesP

    @afk-afk ,

    The closest command line option is -n# to take you to a specific line. If you pick a number that’s more than the number of lines (like -n999999), then it will scroll to the end.

  • How to style URL?

    4
    0 Votes
    4 Posts
    76 Views
    I

    @IstvanZachar Issued a feature request for styling URL-s here.

  • Notepad++ resets file permission bits for WSL files on save

    16
    1 Votes
    16 Posts
    588 Views
    xomxX

    @Liming-Tieu said in Notepad++ resets file permission bits for WSL files on save:

    I’m getting the same problem with the 64bit version of NPP version 8.5.7

    If you can, please 1st upgrade to the latest upcoming v8.7.5 (in the current v8.7.4 is a critical regression, it will be replaced by v8.7.5 soon). Why - there are many fixes which are related to this area, specifically - the next version from the yours (v8.5.8) fixed the overwriting of some NTFS metadata (“Fix saving files losing Alternate Data Stream issue. (Fix #1498, #8451, #8013)”).

    (here you will find a convenient overview of all the changes in N++ versions: https://github.com/notepad-plus-plus/notepad-plus-plus/wiki/Changes )

    Then please report back here, if your problem persists.

  • plugin admin not appearing

    5
    0 Votes
    5 Posts
    85 Views
    Dog five meD

    @PeterJones @Terry-R
    i opened notepad++ to do some coding for my website and tyo get the rest of the debug info and suddenly my notepad++ decided to work properly and have all the missing things appear i haven’t done anything. so sorry for wasting everybody’s time

  • [8.7.1] File doesn't open expected file in list

    10
    0 Votes
    10 Posts
    93 Views
    xomxX

    @Alan-Kilborn said in [8.7.1] File doesn't open expected file in list:

    In this case, even though files are being closed, they aren’t saved in the “recent files” list. There must be something in the code that prevents this from happening during closure via shutdown.

    https://github.com/notepad-plus-plus/notepad-plus-plus/blob/de1a04038b45df4e25f81f8bef1008b5a978106d/PowerEditor/src/NppBigSwitch.cpp#L2694

  • File does not exist.

    11
    0 Votes
    11 Posts
    181 Views
    Mark OlsonM

    BTW my HugeFiles plugin is more feature-rich and actively maintained than BigFiles.

  • How to remove this symbols from txt file

    10
    0 Votes
    10 Posts
    175 Views
    dr ramaanandD

    @mohammad-Al-Maaitah if your first and last symbol is symbol.PNGyou can type \x16.*?\x16 in the Find field, tick the regular expression mode, leave the Replace field empty and click Replace in files (to remove it from multiple files). That will help you get rid of all of those (and anything else in between). There are no spaces anywhere in the middle, so I am explaining the same to you

  • [Python] Edit > Block Comment doesn't use triple double-quotes

    7
    0 Votes
    7 Posts
    76 Views
    PeterJonesP

    @Shohreh said in [Python] Edit > Block Comment doesn't use triple double-quotes:

    Too bad because I like it better to comment a block.

    If you want, you can use the docstring for pseudo-comments – many python programmers do – but you just have to understand that the Python interpreter treats them differently than a # comment, so you have to maintain valid string syntax in any block of text that you put between """ markers; if you are willing to accept that limitation, then feel free to use docstrings for comments – and feel free to update the langs.xml to allow you to use the block-comment feature in Notepad++ to do that wrapping.

  • Can't find and replace text within multiple quotations

    6
    0 Votes
    6 Posts
    74 Views
    PeterJonesP

    Moderator restored the original post.

    Deleting a post after there have been replies is highly discouraged. There is nothing sensitive in the original post, so the post has been restored to maintain the history of this conversation:

    Don’t be embarrassed about having figured out the real problem: in internet help forums, there’s a whole category called “rubber duck debugging”, wherein just explaining the problem to someone else (ie, making your post) is enough to nudge your mind in the right direction, even without a reply – it’s nothing to be ashamed of. And thanks for letting us know you figured out your problem (so many times, people just go away after figuring it out, and never tell us whether we helped or whether we just acted as the rubber duck).

  • figuring how to create multiple pages on html for website

    2
    0 Votes
    2 Posts
    36 Views
    Terry RT

    @Pj-Doyle
    Your question seems to be related to html code and websites. Possibly you are using Notepad++ to generate this code, but as the issue isn’t really a Notepad++ issue you need to go to a HTML forum to get the answer.

    Can I refer you to this FAQ post here.

    Terry

  • 1 Votes
    5 Posts
    58 Views
    Alessandro PaceA

    @PeterJones Thank you so much these all worked perfectly!!

  • Add number in each line

    8
    0 Votes
    8 Posts
    352 Views
    Alan KilbornA

    @dr-ramaanand said in Add number in each line:

    please explain how to use the above RegEx

    I think the “explain” part was already done.
    But it isn’t a “RegEx”; it’s a syntax peculiar to the MutliReplace plugin.

  • Is there anyway to modify "Function List" font style and size?

    4
    1 Votes
    4 Posts
    39 Views
    PeterJonesP

    @Alberto-Casanova said in Is there anyway to modify "Function List" font style and size?:

    Maybe a mod or a plugin?

    I don’t think there is a way for a plugin to influence the font in a Notepad++-built-in panel.

    I’m not a plugin author, so I’m not sure; but as I’ve documented the plugin-communication messages, there isn’t a message which affects the font in that panel. However, there might be a clever programming trick that I’m not aware of to hack something like that. Someone with more plugin experience than I have would have to chime in.

  • Pinning of files on Notepad ++

    6
    1 Votes
    6 Posts
    81 Views
    Alan KilbornA

    @Sandeep-S

    …and I have recommended that issue be CLOSED, mainly because this idea was not taken up:

    supply some concrete ideas for change

    The suggestion made in the issue was for a way to disable the feature, not “pinning in a different way”.

  • I want ctrl-shift-tab and ctrl-tab activate tabs like browser

    2
    0 Votes
    2 Posts
    39 Views
    PeterJonesP

    @moyprofile said in I want ctrl-shift-tab and ctrl-tab activate tabs like browser:

    I want ctrl-shift-tab and ctrl-tab activate tabs like browser: ctrl-shift-tab should activate the tab left to the active, ctrl-tab should activate the tab right to the active.

    They do, plus by default it gives you two pieces of extra functionality as well:

    it also pops up a “Document Switcher”, so that you’ve got more feedback on where it’s going and what it’s doing, and it also gives “MRU” (most recently used) behavior, so that Ctrl+Tab, do something, then Ctrl+Tab again will take you back to the first tab, rather than blindly switching to some “next” tab

    Both of those extras are user-configurable in the Settings > Preferences > MISC > Document Switcher (Ctrl+TAB) section of the settings.

    the ☑ Enable checkbox will turn on and off the switcher; with the checkbox unchecked, it will go to the simple behavior you described; if checkmarked, it will allow the Doc Switcher to make your life easier. the ☑ Enable MRU behavior will make the Document Switcher cycle through in order of most-recent to least-recent, instead of going purely left-to-right. So if you want the Document Switcher, but want it to only allow left/right rather than remembering last-accessed-order, turn off this checkmark.

    This is all in the Online User Manual, as you can see from the links I provided.