• Find in Files not working

    37
    0 Votes
    37 Posts
    37k Views
    PeterJonesP

    @SuHaIl-MaJiD said in Find in Files not working:

    I navigated to the APPdata location (~\AppData\Roaming\Notepad++) however i do not see the config.xml file there
    Any suggestions to get this working?

    Your Debug Info (thanks for including that) shows that you have a normal installation, so config.xml and all your other config files should be there. Are you sure Windows isn’t hiding files from you? Or just hiding the extension, so maybe it is just listed as config instead of seeing config.xml? make sure you’ve exited Notepad++ completely, so it’s written the most-recent copy to disk. If you want, you could use Win+R to run cmd.exe /K cd "%AppData%\Notepad++" & dir – if you don’t see config.xml there, then please share the output of that run in your reply.

    If you do find your config.xml, then you can close Notepad++, edit it in MS notepad.exe (you cannot edit config.xml in Notepad++, because Notepad++ overwrites that file when you exit Notepad++, losing any changes you saved), and delete the whole <GUIConfig name="DockingManager"...> section, save and exit, then restart Notepad++, and Find in Files should work for you again. This procedure is found in our FAQ: I Cannot Find My Panel!

  • Replace bracket

    6
    0 Votes
    6 Posts
    454 Views
    olekO

    @PeterJones need be escape and bracket will be copy complicity.

    REPLACE \ (hss(ssss(ow()=Ay(),(5))))

    Thank you very much.

  • Problem opening PHP links with single quotes

    3
    1 Votes
    3 Posts
    456 Views
    PeterJonesP

    @rdipardo said in Problem opening PHP links with single quotes:

    You should open a GitHub issue.

    Well, @David-Baez, if you are still on an earlier version (especially one before v8.6.6), then first try upgrading Notepad++ and see if that fixes it. If you are already on v8.7, then I agree with @rdipardo that you should file a GitHub issue (this FAQ explains how, if you don’t already know)

  • Notes are getting deleted from Notepad++

    Locked
    2
    0 Votes
    2 Posts
    313 Views
    Terry RT

    @Duty-Lead

    This is a duplicate of this post.

    Please reply to OP on that post, not this.

    Terry

  • How to set correct lines

    12
    0 Votes
    12 Posts
    572 Views
    olekO

    @Mark-Olson Ok I understand .Thanks for your support me .Sorry for my English.

  • Open popup on same screen

    4
    0 Votes
    4 Posts
    242 Views
    Jörg HohwillerJ

    @PeterJones said in Open popup on same screen:

    he implemented that if you hit Ctrl+F a second time, it will move the find window from wherever it was to the center of Notepad++'s current monitor.

    Oh, awesome. Thank you for this great hint.
    That is perfectly solving my problem.
    I am fully happy with this behaviour and can see that other users have different expectations than I have.

  • Auto-capital sentences in .txt

    2
    0 Votes
    2 Posts
    151 Views
    guy038G

    Hello, @carsten88 and All,

    Surely, some guru guys on this forum, versed in Python, could create a script for this purpose ! Unfortunately, I’m not part of them -:(

    However, here is a regex search/replacement that you could run, once your text is completed :

    SEARCH ([.?!])\x20*(\w)

    REPLACE \1\x20\U\2

    Notes : This regex verifies and changes any text file as expected :

    It rewrites, first, the last character of each sentence

    Then, it normalizes any amount of space chars, even none, to one space only

    And, finally, it rewrites the first letter of the next sentence in uppercase

    If this letter is already written as uppercase, nothing is modified !

    Best Regards,

    guy038

  • Global HotKey PauseBreak not correct in npp 8.6... via PuntoSwitcher

    5
    0 Votes
    5 Posts
    539 Views
    S 1S

    @mkupper This problem not only with PauseBreak key. Home, End, Insert, etc. the same (f1-f12 working normal).

  • Add zeros to all blanks in row

    4
    0 Votes
    4 Posts
    259 Views
    Terry RT

    @Brian-Warmuth

    Well you may not have been aware of some of the power and functionality Notepad++ has at its disposal. Always good to ask a question like you did if your initial assessment/idea doesn’t pan out.

    The members here are happy to help where we can.

    Terry

  • Wacatac.B!ml plays peek-a-boo

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Add a word to a serial number.

    9
    0 Votes
    9 Posts
    536 Views
    gerdb42G

    All that barcode readers do is to emulate keystrokes. And that is how NPP sees the input: Just keystrokes. NPP has no notion of whether the input is coming from a barcode reader or a regular keyboard. So I think Terry’s suggestion is your best bet.

  • Search with two strings in line

    6
    0 Votes
    6 Posts
    21k Views
    Taiwo topeT

    @Peter-Reichmuth please, exactly which one of the solutions work *perfectly

  • Search results unchanged after a change.

    10
    0 Votes
    10 Posts
    364 Views
    gstaviG

    @Alan-Kilborn said in Search results unchanged after a change.:

    I think (can’t check right now) that when Visual Studio’s editor does a replace-in-files, it populates its find-output window with all of the replacements made – this sounds similar to what OP here is describing?

    Reply

    Don’t use Visual Studio much, but as I said Visual Studio Code search & replace is extremely advanced and dynamic.
    When you type a search string it is updating the search results in real-time, highlighting the search string.
    When you type a replace string it dynamically overstrike the original “search” string in the results, highlighted in RED and present after it the “replace” string in green. All of this before actually commiting to the search and replace.

    Extremely cool. Impressive work of engineering. However, the benefit over Notepad++ primitive search and replace is limited.
    Admittedly, search and replace is error prone so the ability to see the results BEFORE helps boosting your confidence. However, that is not what was asked by @Alan-Wynne

    So my claims are:

    Doing anything similar to VSCode is a complete rewrite. Doing simple post search has questionable value. Doing it automatically could annoy lots of users.

    An undo feature for search and replace in files would be nice.

  • 1 Votes
    3 Posts
    160 Views
    Alan KilbornA

    Lots of NUL characters…probably the hex dump is going to be the best you can get.

  • Local active Variables

    6
    0 Votes
    6 Posts
    345 Views
    PeterJonesP

    @Alan-Wynne said in Local active Variables:

    it does require npp to be running with admin priviladges though…

    I use NppExec daily to do similar tasks (in fact, many of the posts that mention gcc and NppExec in the same post in this Forum are my equivalent of the script you just posted), but I have never had to have Admin privileges to save or run an NppExec script.

    (Though, admittedly, you might need admin privileges to install the plugin – but once you’ve installed it, you can restart Notepad++ without privileges, and the plugin works.)

    But under normal usage, what you described should not require admin privileges. Possible exceptions I can think of include: 1) if the file you are compiling is protected, or (2) the directory it’s in is protected; or, (3) if it was because it wouldn’t let you save the NppExec script, then your %AppData%\Notepad++\Plugins\config\npes_saved.txt might have weird permissions.

  • Wrap symbol color

    3
    0 Votes
    3 Posts
    209 Views
    joecarJ

    @Alan-Kilborn Thanks!!

  • Can't save a xbrl file

    3
    0 Votes
    3 Posts
    179 Views
    Theo ST

    @PeterJones Ok, Thanks for your answer.

  • Missing ... menu in forum

    7
    0 Votes
    7 Posts
    232 Views
    CoisesC

    @PeterJones said in Missing ... menu in forum:

    @Coises ,

    Chat and the ⋮triple-dot menus are working for me again. How about for you?

    It looks normal from here. Thanks!

  • Slow start when put on Google Drive (stream mode)

    6
    0 Votes
    6 Posts
    255 Views
    Javier CasaresJ

    Seems like OneDrive works differently as it’s much faster. I will switch to it then.

  • Hibernation Wakeup: UNC File Removed

    9
    0 Votes
    9 Posts
    474 Views
    xomxX

    @Laurie-Stearn said in Hibernation Wakeup: UNC File Removed:

    triggers a clean boot out of the S4 state, which necessitates the relaunching of N++

    With this info, I already have an idea of ​​what might be going on. The clean boot means that all the N++ process data, previously saved by the hibernation process to the Windows file “C:\hiberfil.sys”, is thrown away. So no previously opened files/tabs buffers in N++ available, N++ will start from the scratch with opening its files according to its session.xml file. Unfortunately N++ is updating its session.xml file content only at its regular exit (I was once considering the session.xml update after every successful file opening, but that was rejected for good reasons), not continuously right when a file is opened. So then the N++, after its re-launch, does not have the actual info needed for the opening of all your previous N++ files…

    @Laurie-Stearn said in Hibernation Wakeup: UNC File Removed:

    Even in this scenario, all local files are still loaded with the relaunch

    It will depend on the previous state of your session.xml file. Simple test - if every time you finish work and are about to hibernate, you first exit the N++ and then re-launch it before the Windows hibernation itself - I bet that the session.xml will contain the complete information about your session files and there will not be your described issue…

    You can also use the N++ menu > File > Save Session… to always have a fresh backup for your session.

    @mkupper said in Hibernation Wakeup: UNC File Removed:

    nppLogNetworkDriveIssue.xml

    That logging trigger is intended for something else (detection of the last write timestamps for network files), it will not help us here.