• Pretty Print (XML only - with line breaks) from DOS command line

    4
    0 Votes
    4 Posts
    7k Views
    Claudia FrankC

    @Nishant-Kansal

    I assume, when using nppexec and wget, that retrieved xml document is opened in npp.

    Add the following line to the nppexec call of wget

    npp_menucommand Plugins\XML Tools\Pretty print (XML only - with line breaks)

    this will call the pretty print of xml tools.

    Cheers
    Claudia

  • Lost text from saved file after win crash

    4
    0 Votes
    4 Posts
    4k Views
    Claudia FrankC

    @Mário-Orlický

    he is refering to the windows backup functionality but if you didn’t setup one you won’t be able to restore an older version.

    just wondering if the content can be revived somehow if the warning message “failed to load config.xml” has been displayed.

    If file content has been already replaced, I don’t see any chance.

    Cheers
    Claudia

  • Exception WM_CREATE

    4
    0 Votes
    4 Posts
    4k Views
    Claudia FrankC

    @David-Stephens

    still thinking that it might be related to the AVAST update.
    Could you try uninstall AVAST, reboot machine and restest?

    Cheers
    Claudia

  • Search multiple lines, and replace... with other multiple lines!

    Locked
    4
    0 Votes
    4 Posts
    4k Views
    Julien MarchantJ

    Ok! Actually Patrick (thank you Patrick), gave me a great idea.

    I put all the new strings that I was going to substitute at the top of the JSON file.

    Then I ran a search of the “title”: string, and bookmarked each instance.

    Then I ran a macro that:

    Highlighted the first line of the document
    Copied the line.
    Deleted the line. (So the second one would jump up, and the data gets deleted as well)
    Press F2 (to jump to the bookmark)
    Highlight the line
    Paste the line
    Pressed CTRL + F2 (to unmark the line)
    Pressed CTRL + Home (to go back to the top of the file)

    Rinse and repeat!

    Thank you again Patrick for giving me this idea!

  • Notepad++ is opening file with wrong encode

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    It looks like in v6.8.1 some terminology got changed.

    UTF-8 without BOM became UTF-8 UTF-8 became UTF-8-BOM

    So most likely your files have the exact same encoding, just the old vs. new Notepad++ are using a different terminology.

    For reference see this commit.

  • Where to report a bug? Track position changes for Find In Files

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    I think this is a great feature suggestion. When I first started using N++ I noticed this and have just sort of indifferently lived with it since.

    Here’s a hint though…usually when this situation occurs you are making edits nearby your found pattern. If you start at the bottom of the file (last hit) and make your edits, then double-click on an earlier (closer to top) hit, you will find that the positioning is accurate (because your edits have not altered the position data for the earlier match). Just an idea; it works a lot for my type of edits like this.

  • Change .ext on files to email

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    AvianographerA

    You can do this with Windows PowerShell.

    $files = Get-ChildItem | where {$_.Extension -eq ".ext"} foreach ($file in $files) { $filenew = $file.Name.Replace(".ext", ".eml") Rename-Item $file $filenew }

    Just change the extensions to match what you want. Try it in a test folder first so you don’t mess up all of your files if it doesn’t do exactly what you want.

  • The Blinky Bar

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    fade2grayF

    It seems you may have unwittingly pressed the Insert key and put the editor in overwrite mode rather that insert mode. Try pressing the Insert key again to see if that solves your problem.

  • Macro that copies selected lines from one file to another

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Minor Notepad++ 6.8.8 bug(?)

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 'Find' dialog - default configuration?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    I think this is another great feature request regarding the Find feature. And, sadly, no, I don’t believe the state can be discovered programmatically (for instance, using the Pythonscript plugin).

  • Prevent autocomplete from selecting its text

    3
    0 Votes
    3 Posts
    2k Views
    Alex TaddiaA

    Hi, sorry I took so long to reply. I forgot I posted this. :P

    My NP++ version is 6.8.8 and I’m on Windows 7. I ran it with -noPlugin and that fixed it. Thanks for the idea. Now to track down the miscreant plugin wrecking my stuff…

  • come si mettono i colori ad ogni tag in note pad++?

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to rename blocks of a program in notepad ++?

    Locked
    7
    0 Votes
    7 Posts
    5k Views
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • undo is acting buggy

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    Claudia FrankC

    Hello None-Ofyourbusiness,

    no this is just a quick overview which os, npp version and plugins are installed.
    Helps to try to reproduce what happens.

    Cheers
    Claudia

  • REGEX GROUP cuts off data

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Claudia FrankC

    Hello @spickles
    one thing might be that you did not escape the forward slash !?
    But the replace … you want to replace the part which is found with the part which is found … ???

    Cheers
    Claudia

  • How to cancel a pending plugin installation?

    Locked
    2
    0 Votes
    2 Posts
    6k Views
    dailD

    Go to %APPDATA%\Notepad++\plugins\config (or possibly the installation directory of Notepad++ depending how it was installed) and delete PluginManagerGpup.xml.

  • Pleas Help! I just lost months of hard works.

    5
    0 Votes
    5 Posts
    3k Views
    Claudia FrankC

    @Seyi-M,

    yes, this can be a problem as they have notepad++ included as app which can be cleaned and guess what,
    it cleans the session information but this means that only the LIST which file should be loaded has been
    deleted, not the files themself. They should be still somewhere on your disc.

    Cheers
    Claudia

  • How to run "Hello World" command in notepad++ from Python ?

    2
    0 Votes
    2 Posts
    12k Views
    Claudia FrankC

    Hello Trum-Bolt,

    One way to do it would be … described here.

    Cheers
    Claudia