• Using Notepad++ zip package

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Navee Sunny SharmaN

    Hi @kawinga

    Thank you for the reply.

    I just wanted confirmation before I tried it, I didn’t want to get into trouble whilst doing so.

    Kind regards,

    Nav.

  • How make NPP opens .json as JS, not JSON?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    kawingaK

    Hi totalamd,

    check out %programfiles(x86)%\Notepad++\langs.model.xml.

    You will find a Section Language name=“json”.

    Kind regards,

    Robert

  • 1 Votes
    3 Posts
    3k Views
    gerdb42G

    CTRL-ALT-SHIFT-Rand CTRL-ALT-SHIFT-C are defined by the XML Tools plugin to do XML(!) commenting and uncommenting.

    Unfortunately CTRL-ALT-SHIFT-R is also bound to the run command “Launch in Chrome” which takes precedence over the plugin-command.

    Also unfortunately NPP does not detect and warn about multiple shortcut assignments. So you need to check your shortcut settings and adjust them to your liking.

  • How to change default font settings on pane preview

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    No clue what you are referring to. Try showing a screenshot.

  • How to keep my images from moving from one place to another

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Scott SumnerS

    Don’t expect an answer here because this is not Notepad++ related.

  • Saved doc. header setting?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    There is no option for that.

  • Notepad++ text manipulation very slow in RDP (remote desktop) session

    Locked
    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • How to get Notepad++ to automatically indent one tab when hitting enter.

    6
    0 Votes
    6 Posts
    13k Views
    Jim DaileyJ

    @Pete-Norris I see. I’m pretty certain the lexer for the language (PHP in your case) controls the auto-indent behavior. I don’t think there is any way at run-time to modify its behavior. I assume you’d have to edit the lexer to make it behave differently and then build a custom NPP.

    I am not aware of any, but there may be a plug-in for NPP you could find that handles indentation in some other way.

    Sorry I have no better ideas.

  • Search function help!

    3
    0 Votes
    3 Posts
    2k Views
    Patricia HuffP

    What worked for me to restore results window, was find the Notepad++ directory under AppData and delete it!

  • backup issue - backup is deleted when file is saved

    Locked
    4
    1 Votes
    4 Posts
    2k Views
    dailD

    You probably had the verbose option checked.

  • How can I save a txt. file as a Lyric file (lrc)?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    Nicolas-N

    “File > Save as”

    Then type "myfile.lr"c in the file name field.

    Then click “Save”.

  • Switching files in multi-instance mode does not keep the cursor position

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • New person needs help

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Notepad++ core: Function list not working properly

    4
    0 Votes
    4 Posts
    3k Views
    Ion MarqvardsenI

    Thanks Jim, TagsView is cool. It does not have the problems with name restrictions.

    but it has some “features” in C, that is the only file type I have tested:

    If you have an interrupt function like
    void ISR_function_name(void) __interrupt(INTERRUPT_NUMBER)
    {
    }
    it is listed as “__interrupt”

    It gets confusing if you have more than one interrupt function.

    Also you have to hit the update button each time you have add or changed the name of a function.

    But overall a great improvement.

    Thanks,

  • Help with semi-complicated regex / Notepad++ regex issue

    9
    1 Votes
    9 Posts
    29k Views
    guy038G

    Hi DaveyD and All,

    Ah, Yes ! I can apply the Dail’s \K syntax to my previous regex. So, finally, here are my two solutions :

    Find what : (?<!\|)\t(.+)(\R[|\t-]+) which works with, either, the Replace All or the Replace button

    OR

    Find what : [^|]\t\K(.+)(\R[|\t-]+), which ONLY works with the Replace All button

    For these two search regexes, the replacement regex is :

    Replace with : $2$1$2

    I don’t think that we can shorten them, anymore !

    Notes :

    When your search regex contains a \K form, the step by step replacement never works !! That’s the normal behaviour !

    There are two cases, where the \K feature is mandatory and can NOT be replaced with lookbehinds :

    When the regex, inside the lookbehind, could match non-fixed length strings, as, for instance, the regex (?<=\d+)abc

    When the regex, inside the lookbehind contains alternatives, of different length, as, for instance, the regex (?<=(12|345|6789))abc

    So, in order to get valid regular expressions, you must change them, respectively, into the two, below, which include, both, the \K syntax :

    \d+\Kabc

    (12|345|6789)\Kabc

    On the contrary, for instance, the two regexes (?<=\d{3})abc and ((?<=(00|99))abc are quite valid ones. Indeed, inside the lookbehind, the former refers to a three-digits number, only and, in the later, each alternative refers to a same two-digits number :-)

    You may test these 4 regexes against this short example text, below :

    00abc 12abc 345abc 6789abc 99abc

    Cheers,

    guy038

  • Plugin problems: can't enable/disable plugins

    4
    0 Votes
    4 Posts
    9k Views
    Jon JJ

    And I think I found a bug with the Customize Toolbar plugin. When that plugin is enabled, I start having the same error again, with the checkboxes disappearing from the other plugin settings (like in my first post above). But when I disable the plugin, then the checkboxes start working again.

  • When save a new HTML it doesent link to internet

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Notepad++ 6.9.2 dont start after Upgrade to WIN 10

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • letters instead of numbers

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Remapping hotkey for incremental search

    Locked
    4