• 0 Votes
    2 Posts
    274 Views
    PeterJonesP

    @Ryan-Massey ,

    Sorry for the long delay in reply.

    \appdata\roaming\notepad++\plugins\NppFTP.xml

    Was that a typo for

    ...\appdata\roaming\notepad++\plugins\config\NppFTP\NppFTP.xml

    or did you really expect the NppFTP.xml file to be at the top level of the plugins folder?

    But that said, I doubt that’s your real problem. I don’t know anything in the installer/upgrade process for the Notepad++ app itself that would wipe out your previous plugins config – I’ve never seen that happen.

    Unfortunately, if it has happened, there’s not much we can do to recover it. Recuva or other file-recovery software might help, but we’re not experts on such software here. (But if you only had a few, it’s probably easier just to rebuild the list inside NppFTP.)

  • files corrupted in recent update

    2
    0 Votes
    2 Posts
    188 Views
    PeterJonesP

    @Jennifer-Rumford ,

    Are these files that you saved frequently, or did you leave them in an unsaved state, and just trusted that Notepad++ (and Windows) would keep them from disappearing over the long run?

    The best way to avoid losing your data is to save frequently and to have your drive backed up regularly.

    To recover lost data:

    If you have Settings > Preferences > Backup > ☑ Enable session snapshot and periodic backup when the checkbox marked on, then the folder it shows* will hold the most recently saved versions of unsaved files. (*: most likely c:\users\username\AppData\Roaming\Notepad++\backup, or whatever %AppData%\Notepad++\backup 🛈 resolves to on your setup) If even those copies don’t have the missing data, then you might need to run Recuva or other file-recovery software, both on the “real” location of your file and on the backup folder mentioned above, to see if you can recover previous versions.
  • Tabs printing

    3
    0 Votes
    3 Posts
    364 Views
    PeterJonesP

    @Marty-Kay ,

    Do you mean you want the wide spacing caused by a tab 998c9948-6520-4e33-82bb-5127b934b70c-image.png to be collapsed to something narrower when printing? There’s no real way to do that, as far as I know.

    Or do you mean that you have View > Show Symbol > View White Space and TAB enabled, and when you print, you see the → placeholder f3a01f4f-4dbf-4e44-969e-2a6089bc2adb-image.png To disable that, the easiest way is to turn off View White Space and TAB before printing.

  • How to Delete Searches Instantly?

    2
    0 Votes
    2 Posts
    278 Views
    guy038G

    Hello, @meтe-ялчынкая and All,

    Very easy with regular expressions or bookmarks !

    A) With bookmarks :

    Open the Mark dialog ( Ctrl + M )

    SEARCH #

    Untick all the options

    Tick the Bookmark line option

    Tick the Wrap around option

    Click on the Mark All button

    Then, run the menu option Search > Bookmark > Remove Bookmarked Lines

    B) With regular expressions ( faster ! )

    Open the Replace dialog ( Ctrl + H )

    SEARCH (?-s)^.*#.*\R

    REPLACE Leave EMPTY

    Untick all the options

    Tick the Wrap around option

    Click on the Replace All button

    The search regex searches, from beginning of line ( ^ ) for any range of standard characters, even none ( .* ), followed with a # char, and again, with any range of standard characters, even none( .* ), till the EOL characters of current line ( \R )

    Best regards

    guy038

  • Closing files before opening the new one

    5
    0 Votes
    5 Posts
    2k Views
    PeterJonesP

    @Cyrille-Piatecki-0 said in Closing files before opening the new one:

    @PeterJones I have tried to follow your advice. But, in my last installation of notepad++, no “C:\Users\cyril\AppData\notepad++”
    has been created.

    %AppData% has a precise meaning, and the path you showed indicates that you need to read the FAQ on the subject

    The other possibility is that you have a portable version rather than an installed version, in which case, shortcuts.xml would go in the portable folder. I doubt that’s your setup, but if you’re unsure, post your ?-menu’sDebug Info.

    But I still think my original instructions apply, and that you just misinterpreted the windows variable

  • 0 Votes
    4 Posts
    34k Views
    deniz mısırlıD

    @PeterJones Thank you so much. You are right, I was that used to create notes with notepad++, I couldn’t realize that it has become my default note. I’m sorry for the inconvenience and thank you for your reply. Everything is fine.

  • To close may html windows before opening a new

    2
    0 Votes
    2 Posts
    169 Views
    PeterJonesP

    @Cyrille-Piatecki-0 ,

    You already asked that , and I already answered.

    https://community.notepad-plus-plus.org/topic/21043/closing-files-before-opening-the-new-one

    Reply to that thread if the answer wasn’t sufficient

  • Issue with Polish letters

    27
    0 Votes
    27 Posts
    6k Views
    ArkadiuszMichalskiA

    For polish he should use ISO 8859-2 (Eastern European), but nowadays I would rather recommend UTF-8.
    @nightznero To twoja twórczość?

  • Regex for end-of-file anchor

    11
    2 Votes
    11 Posts
    5k Views
    M Andre Z EckenrodeM

    @PeterJones and everyone else —

    Looks good, thanks!

  • On selection in the edit menu

    5
    0 Votes
    5 Posts
    458 Views
    Laurie StearnL

    Thanks for the heads up on the Edit Popup ContextMenu!
    My issue was the reverse of the OP’s in that the “Search on Internet” item was in the “On Selection” but not in the popup menu. The cause being the missing menu item in an older config file not over-written due to an other (resolved) issue.

  • How to Find a Line Number in Notepad++ (Search and Find shortcut)

    4
    0 Votes
    4 Posts
    22k Views
    Alan KilbornA

    @Ekopalypse said in How to Find a Line Number in Notepad++ (Search and Find shortcut):

    Do you mean the standard goto line dialog?
    Search->Go to

    @Vasile-Caraus said:

    Can I use a shortcut?

    Additional notes:

    pressing Ctrl+g will invoke it (there’s your shortcut!) double-clicking this area (the part highlighted in yellow) of the status bar will invoke it:

    6d3e4d75-4581-4d2e-ac18-4b51945652e5-image.png

  • Completion of HTML tags

    9
    0 Votes
    9 Posts
    446 Views
    Cyrille PiateckiC

    @PeterJones I take a long time to thank you for your help because I have a lot of problem with Jsxgraph … Nevertheless I have followed your advices and it seems to work correctly.

  • Notepad++ keeps messing up the colors of my user defined language

    2
    0 Votes
    2 Posts
    762 Views
  • Find character ranges across multiple lines

    8
    1 Votes
    8 Posts
    393 Views
    Kandice FelicianoK

    Thank you both. Thanks to the above 2 syntax I can rely on it to find any email address with a domain that I need. Since I very often use it to find emails on drive D or E. Previously this work took me quite a lot of time and trouble. Once again thank you 2

  • Find/Replace Help

    3
    0 Votes
    3 Posts
    319 Views
    Mark GrayM

    @PeterJones Thank you SOOO much!

  • "Recent" list in Win10 context menu does not show file without extension

    3
    0 Votes
    3 Posts
    968 Views
    Petra HandwergP

    Thank you @PeterJones for your quick reply and for confirming that it’s a Windows “feature”!
    I thought that I missed to change something in my Notepad++ configuration, that’s why I asked.

    As this is my “work” laptop (and the JumpList is working fine for np++ for “normal” files) I don’t want to install too many tools - only those I can justify that I need them for my work. ;)
    E.g. the plugins for xml and json - they are great!

    Thanks again!

  • "Replace" without "Find next"

    2
    0 Votes
    2 Posts
    179 Views
    Alan KilbornA

    @Tak-Li

    That is currently (where currently = up to and including 7.9.5) not possible.

    The workaround is to let it go “too far” and then press Ctrl+z and then Ctrl+Shift+z.
    This will “undo” the most recent replacement (the one you wanted to stop at) and then “redo” the replacement (and leave the caret at the location of the replacement).

  • A very slow typing experience...

    7
    0 Votes
    7 Posts
    3k Views
    guy038G

    Hello, @donniel-collera, @peterjones, @alan-kilborn and All,

    May be do this quick task, described in the post, below, just to verify if your keyboard parameters are OK ;-))

    https://community.notepad-plus-plus.org/post/29704

    Best Regards,

    guy038

  • Insert Carriage Return "CR" before "LF"

    3
    0 Votes
    3 Posts
    5k Views
    Alan KilbornA

    @Jose-Emilio-Osorio

    How to insert Carriage Return “CR” before “LF” at the end of each line ?

    They are probably already there and you need to do exactly nothing to insert them.

    If you are “unconfident” that Notepad++ is doing this for you, press the “Pilcrow” toolbar button…the one with this symbol on it:

    1096d341-751b-4d14-aa13-0890190fc3da-image.png

    In the Notepad++ toolbar, it is blue in color, not black.

    With that toolbar button in the depressed state, you will see the CR and LF in a Windows file, example:

    c1a3ed68-2955-43f0-98dd-669c5a52e220-image.png

  • 0 Votes
    10 Posts
    984 Views
    ludamo 0L

    Since experimenting further with the AutohotKey UDL I have found that this syntax “bleeding” can be limited / minimised / corrected by adding a space to the end of lines (I normally am a heavy user of tabs) especially those lines which seem to end a certain type of highlighting e.g. comments or lines with delimited strings in them.

    I also made another discovery, that a tab can be used as a delimiter in UDL. You can enter it by pressing Control+Tab between 2 spaces e.g. ((space tab space EOL)).