• Updated, now can not set as default app

    Locked
    8
    0 Votes
    8 Posts
    2k Views
    Meta ChuhM

    @Ed-Patterson

    (the 20 minute delay is killer, but understandable)

    i just gave you 2 upvotes. your posting delay will be removed completely after a certain amount of upvotes.

    double clicking on a .txt file still opens MS Notepad.

    maybe you can do it manually:

    if you are on windows 10:
    right click on any .txt file > open with > other apps > more apps > scroll down and click on other apps on your pc > browse to C:\Program Files (x86)\Notepad++ and select notepad++.exe
    (this .txt file will now be opened in notepad++ once)
    now notepad++ is registered as an app to choose in the open with dialog.
    now you can close notepad++.

    then right click on the same text file again > choose open with > other apps > select notepad++ and check “always use this app to open .txt files”
    from now on all .txt files should open in notepad++ as the default app

    note: the windows 10 open with menu dialogs have changed a bit through time, depending on your windows updates, so the texts or some in-between-steps, like “other apps” after open with, do not exist, but present you with the apps list right away.

  • How to use runMenuCommand() in python script?

    Locked
    11
    0 Votes
    11 Posts
    3k Views
    Eko palypseE

    @Alan-Kilborn

    I assume as long as you are the only one who maintains and executes the scripts it is ok
    but as soon as further people are involved it might get a little bit tricky and, personally,
    I find it hard to read and is there really a benefit of, let’s say XYZ_myfunction contrary to XYZ.myfunction?
    Guess, is a matter of taste.

    Eko

  • add comment to text files

    20
    0 Votes
    20 Posts
    32k Views
    notepad347N

    thank you all for all the help, but I must say, notepad++ can be a pain, compare to sublime text I also use, you see, different tool for different tasks. But this community here is great, thanks.

  • Notepad ++ Deleted File recovery

    Locked
    2
    0 Votes
    2 Posts
    801 Views
    Eko palypseE

    @Naval-Kishor-Shukla

    I assume you are talking about “unsaved” files. If this is the case then closing the file has triggered deleting the backup file,
    in such a case you could try using recovery software like undelete, recuva etc… and pointing to the backup path for deep search.

    Eko

  • Can I specify a hotkey for each of my pythonscripts?

    5
    0 Votes
    5 Posts
    1k Views
    古旮

    Thanks for your help! Really appreciate it!

  • changing all the same words in a selection to something else

    Locked
    3
    0 Votes
    3 Posts
    646 Views
    tiger sunshineT

    @Scott-Sumner
    That’s awesome.

    Thank you!

  • Auto-Indent not working

    6
    0 Votes
    6 Posts
    3k Views
    Omar CantoniO

    I’ve found with v7.6 (32 bit) it does not work having loaded the “DoxyIt” plugin.

  • Collapsing Current Level and Collapse by Level don't work

    12
    0 Votes
    12 Posts
    4k Views
    Max CormanM

    For anyone who is interested the issue with the folding has been fixed. You will find the instructions on how to fix the issue on your own or use the provided binaries here.

  • 0 Votes
    4 Posts
    1k Views
    Eko palypseE

    @Meta-Chuh

    that is better than my suggestion as it allows to have full session functionality aka unsaved files for both accounts.
    Good one :-)

    Eko

  • Find and Replace using regular expression

    Locked
    5
    1 Votes
    5 Posts
    2k Views
    Scott SumnerS

    Imgur

  • Prevent going to new line on text copy

    Locked
    14
    0 Votes
    14 Posts
    4k Views
    dbusrD

    @cipher-1024 said:

    You could just hold the ALT key down…

    This works great. If there was an option to simulate holding the alt key that would be nice but this method will save me so much frustration. I’m glad to see I’m not the only one it affects. My thanks to everyone that replied.

  • 0 Votes
    4 Posts
    4k Views
    Andy ArismendiA

    This was happening to me and I uninstalled and cleared out every notepad++ folder I could find afterward and it kept happening.

    Turns out it was the Notepad++ shortcut in my Windows 10 taskbar. I deleted it and created a new one by re-pinning it from the start menu after re-installing. My guess is the original one didn’t have quotes around the working directory.

  • Unable to save file in notepad++ in windows 10.

    Locked
    3
    0 Votes
    3 Posts
    1k Views
    Scott SumnerS

    “File cannot be saved and it may be protected . Open in administrator mode”

    I occasionally see this message, seems fairly random but maybe there is an underlying reason? Dismissing the popup box and attempting to save again usually proceeds with no more problem. So, I dunno…

  • Regex: search the nearest words at a maximum distance of 6 words

    12
    0 Votes
    12 Posts
    9k Views
    BipulkumarsinghB

    But i want to asked if i need to check they are not near in range { 6,12 }.

  • A new Plugin Manager bug

    Locked
    2
  • 0 Votes
    15 Posts
    14k Views
    Cody WrightC

    I just fixed this on my PC. Here is what I did:

    Browse to the location of Notepad++. Copy the directory. Mine was

    “C:\Program Files\Notepad++\notepad++.exe”

    Run CMD as administrator. Create a new file type to associate with file extensions. This command for me was…

    ftype nppfile=“C:\Program Files\Notepad++\notepad++.exe” %1

    Associate your file extension with the new file type. The command was…

    assoc .nfo=nppfile

    Now when I double-click on .nfo files it opens them in notepad++. Hope it works for you!

  • extract only two columns

    Locked
    2
    0 Votes
    2 Posts
    787 Views
    Scott SumnerS

    @kellyyer

    So the comma character is a more-common delimiter than yours, but if you replace every comma in the following with your special delimiter, this should work or at least get you started:

    Invoke Replace (press ctrl+h).
    Find what zone: (?-s)^(?:.+?,){18}(.+?,.+?),.+ <–again replace every comma here!
    Replace with zone: \1
    Search mode: Regular expression
    Action: Press the Replace All button

    I encourage you to read about regular expressions, some ways to get started here. Try the above expression in some of the interactive regex sites to see how it works. Perhaps you will end up with a new technique in your data manipulation arsenal.

  • Notepad++ 7.6

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    PeterJonesP

    NPP 7.6 changed the way that plugins are handled. This post gives a quick summary, using XMLTools as the example. This one goes into more detail for helping someone through the process. This is the official post announcing the change, and here is a discussion of the changes to the plugin directory structure. There are quite a few other posts spread throughout the forum, if you spend a few minutes looking for them.

    I think the first is most likely to give you the quick information you want.

    Until the Plugin arrangement stabilizes, I am staying with my working 7.5.8 instead of upgrading to the 7.6 (or beyond), so I haven’t tried any of the recommendations. However, those links will give you a starting point.

  • Automate/Schedule a Macro

    15
    0 Votes
    15 Posts
    5k Views
    dinkumoilD

    @Scott-Sumner

    Hmm, the plugin itself does nearly nothing when it is loaded, it only adds its menu entries to the Notepad++ UI. Only when you click on the Spy! menu entry it examines the main menu and the toolbar of Notepad++ and fills its trees. All these data gets thrown away when you close the dialog.

    But it is a Delphi application and as such it incorporates the needed parts of the VCL (Visual Component Library), the abstraction layer of Delphi for the Win32 API. In this context it loads a noticeable amount of Windows DLL files. Maybe this causes the increased load time.

    I have installed about to 45 plugins, thus my Notepad++ needs some time to start up anyway and I was not aware of an increased load time after adding the new plugin.

  • User Defined Language coloring whole line

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Eko palypseE

    @Raghad-Qu

    The current pythonscript plugin has even an example which looks like is what you are looking for.

    Eko