• How to access the build-in PlugIn-Manager?

    Locked
    3
    0 Votes
    3 Posts
    905 Views
    Pere DrinovacP

    @Eko-palypse

    Thank you very much.

    As I understood from the links given by you the Plugin-Admin is not bundled to the portable version.

    This information should be added somehow to the download page.

  • XML some... Highlight

    16
    0 Votes
    16 Posts
    5k Views
    오바마

    I’m sorry to say like this
    But, it is true
    All of sudden it works
    I Really do not know why
    So
    Some time later
    It will go crazy again maybe
    Until that time I will be happy

    Thanks Guys.

  • Is Notepad++ always checking for file existence?

    Locked
    4
    0 Votes
    4 Posts
    1k Views
    Frank OrellanaF

    I actually confirmed it, I created a bug report on github, and here is the gif to show it:

    Alt text

    here’s the link to the bug report:
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5146

  • NppExec can't call python script through shortcut?

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    古旮

    @Eko-palypse
    Thank you for the reply. I tested again and still found the code works for me.
    But there is one thing I forgot to mention in my original post.
    When I call the NppExec script through shortcut(as opposed to mouse click), the command npp_menucommand "Plugins\Python Script\Scripts\someScript" still runs, but it doesn’t invoke the python script. Instead, it opens that *.py file in notepad++.
    Only if I call the same NppExec script by mouse clicking on its menu item, or through NppExec console, will that line of NppExec command invoke the specified python script, as expected.
    So, from my point of view, that must be a bug of NppExec. To be more specific, the npp_menucommand command’s bug.

    Here’s my versions below, in case anyone with the same versions as mine can reproduce the same peoblem:
    My Npp version: Notepad++ v7.5.8
    My NppExec version: ver. 0.6 RC2 Unicode for Notepad++
    My python script version: 1.0.8.0

    NppExec 0.6 RC2 seems to be the newest version, so maybe I will upgrate my python script to 1.3 , to see if that’ll fix the problem, or still have the problem.

    And thank you again for the info and solution you provided. I’ll look into that later.

  • Updated, now can not set as default app

    Locked
    8
    0 Votes
    8 Posts
    1k 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
    29k 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
    739 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
    618 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
    3k 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
    13k 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!