• Folder as Workspace (Auto Expand)

    3
    0 Votes
    3 Posts
    3k Views
    Pat SinclairP

    Greetings Alan:
    I would prefer not to have a “tweak”. I would rather it be built in. Guess I was just wanting a feature add.

  • How can I open 2nd window of Notepad++ after restart of windows10

    6
    0 Votes
    6 Posts
    6k Views
    PeterJonesP

    @Syed-Abdul-Zuber ,

    Alan is right. The solution of @gurikbal-singh did not solve my problem.

    Understood. Did you try what @Ekopalypse suggested?

    If you want to use multiple npp instances with different files you need to store each of them as unique sessions.

    In case you are unsure how to do that: in each instance of Notepad++, once you have each set up the way you want, you can do a File > Save Session. When you re-open the multiple Notepad++ instances, in each instance you can go to File > Load Session and load the appropriate session for that instance.

    If you follow the advice in this post, you can actually set up the file extension .nxml to be a Notepad++ Session file, so you can just use Windows Explorer and double-click on the session file, and it will open your session. However, you’ll want to change step 9 to (Default) = "%ProgramFiles%\Notepad++\notepad++.exe" -multiInst -openSession "%1" %* (i.e., add the -multiInst option to the command listed in the other post), so that each .nxml session will open in a separate Notepad++ instance.

  • Find and Replace Iteration...

    16
    0 Votes
    16 Posts
    9k Views
    ganesan govindarajanG

    Thank you so much @guy038

    You Genius!! in this field…

    Thanks
    Ganesan. G

  • Regex in functionList.xml

    4
    0 Votes
    4 Posts
    3k Views
    MAPJe71M

    Some remarks:

    use “proper” double quotes i.e. ASCII \x22 only; rename funcNameExpr to nameExpr (funcNameExpr-node is only used when the function/functionName-node is part of a classRange-node). remove displayMode="$functionName", it isn’t used anyway
  • Cannot install plug-ins in new NPP 7.7.1 64-bit installation

    3
    0 Votes
    3 Posts
    3k Views
    Chris LoschenC

    Thanks @dinkumoil. I hadn’t tried setting NPP into admin mode. When I did, not only would it allow me to set my proxy data, it then allowed me to install all of my plug-ins too. Problem solved – thank you very much!

    Best regards,
    Chris Loschen

  • PHP Styling on Files with Non-PHP Extension

    3
    0 Votes
    3 Posts
    3k Views
    JoeBoxer35J

    Alan,

    Thank you, I didn’t realize it was that easy. I saw the language menu and looked in “P” but that only had Pascal, Perl, etc. I didn’t see PHP at the bottom of that list.

    Thank you for helping me out so quickly !!! Much appreciated.

    Joe

  • Double line break for folding close

    3
    0 Votes
    3 Posts
    737 Views
    boeghB

    Yes it is that code folding, that I would like to use for folding sections in Markdown documents. I have an example screenshot here, that shows This is headine 2 (please ignore the formatting etc.) being folded, while 1 and 3 are not. In this example I am using three dashes ( — ) to mark the close of the folding ((screenshot here)[https://imgur.com/a/NdRTawX]), but what I would like to do, is to use a double linebreak (((EOL))((EOL))) as the closing tag instead. But that doesn’t seem to work :(

  • 0 Votes
    2 Posts
    763 Views
    EkopalypseE

    @Eddie-Ashford-Jr.

    if there is a shortcut conflict, open shortcut mapper from the settings menu and resolve it.

  • Sad Person with an XML file and 500 numbers

    15
    0 Votes
    15 Posts
    2k Views
    Alan KilbornA

    It’s not uneducated nor is it pettiness; it’s simply reading what people take the time to write in responses. If you do that and it still doesn’t work, read it (and try it) again. Of course, sometimes the help is wrong as well, so after a couple of tries and fails it’s probably best to ask. But we’re all about solutions here, and it sounds like you have one, so there we go, another success story. :)

  • -1 Votes
    4 Posts
    704 Views
    PunkN13P

    My apologies… I often forget that my sense of humor is not everyone’s cup of tea. I have been searching for solutions endlessly which I’ve found (after submitting my original post) that I was wrong in thinking that Papyrus Plugin is a Notepad++ plugin. Unfortunately, learning that has not helped me further my quest for solutions. Since I know [now] that it’s not as well-known as I previously thought… I feel silly for not providing the detailed description of the problem. It also doesn’t help that there really is no description to give. I would download the plugin from github & install; but it just simply would not work. N++ wouldn’t even recognize it to show it in the Plugins Tab, but has no problem recognizing all other plugins. I’m not sure if I should delete this original post — since it’s clear to me now that I’ve posted in the wrong forums — or leave/edit it in case somebody else comes across these forums looking for the same answer.

  • Update R language Folding in code keywords

    4
    0 Votes
    4 Posts
    495 Views
    EkopalypseE

    @Allan-R

    not exactly as an export/import action but as copy/paste for keywords.
    The keywords are listed in the langs.xml.

  • Wrong parsing for C function

    5
    0 Votes
    5 Posts
    671 Views
    neacsumN

    Yes, it seems that way. One more thing: if I change the language to C++ the issue goes away. It is probably related to the horrendous regexps used for parsing C function definitions but I’m not smart enough to figure it out.

  • 0 Votes
    9 Posts
    2k Views
    EkopalypseE

    @Alan-Kilborn

    unfortunately I can only upvote once. You are right!!!

  • 0 Votes
    3 Posts
    4k Views
    Michael VincentM

    There is also the PreviewHTML plugin that may work. Not sure how well it renders; it’s based on the installed Internet Explorer versions.

  • Open .csv files don't work at first / change default selections

    6
    0 Votes
    6 Posts
    1k Views
    Alan KilbornA

    @Jan-Öhman said:

    that’s when I got an error when opening the file …

    It’s really doubtful that the filter settings had anything to do with the error you received.

    Is it possible to change which file types are displayed in Notepad ++?..not only *.txt files but also *.csv and *.skv files

    Probably not easy to get just those 3 types filtered.

  • How to detect lines lacking "..." at end?

    7
    0 Votes
    7 Posts
    2k Views
    guy038G

    Hi, @silent-resident, @peterjones, @alan-kilborn, @dinkumoil, and All,

    @peterjones :

    Peter, your search regex [^\.]\K(?=\R\R\d+$) ( which could be written [^.]\K(?=\R\R\d+$) ) does not work as expected ! Why ?

    Well, considering the first sub-title, in a Windows file, your regex first matches the zero-length gap, between letter t and the \r EOL character and it correctly adds the symbol. OK !

    Now, the regex engine location is between the two characters and \r. At this location, is there a single char, different from a dot, which can be followed with two line-breaks. The answer is YES : it’s just the \r EOL char, which is followed with \n ( so the first \R ) and the \r\n couple ( So, the second \R ). Thus, it adds a ... symbol between the \r and the \n of the first line-break

    This situation cannot occur, again, right after as, if it had chosen the \r char ( as [^.] ), then the remaining EOL characters were, only, the \n character, which cannot match the \R\R part of your regex ! So, the next match happens, wrongly, between the \r and \n EOL characters, at the end of the line on earth’s surface. and so on ... -((

    Luckily, 3 solutions are possible to get the right behaviour :

    The [^.\r\n]\K(?=\R\R\d+$) syntax to forces the character, before the EOL characters, to be different from EOL chars !

    The [^.]$\K(?=\R\R\d+$) syntax. Adding the $ anchor forces the [^.] character to be located right before an end of line ( so, obviously, not between the two EOL characters \r and \n). It’s the solution adopted by @dinkumoil !

    Finally, use the exact Windows EOL definition, with the [^.]\K(?=\r\n\r\n\d+$) syntax

    Cheers,

    guy038

  • Spell Check Not Working

    17
    0 Votes
    17 Posts
    11k Views
    Alan KilbornA

    I believe the poster is after a replace-on-misspelled word function.

    Think about Notepad++'s Replace button functionality, but where the Find what is the next sqiggly-underlined misspelled word. :)

  • GraphQL schema syntax highlighting

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Is there a way to close the window without confirming the save?

    5
    0 Votes
    5 Posts
    5k Views
    Munsen TidocoM

    Here you have the answer.
    It is very useful to close everything from time to time.

    https://notepad-plus-plus.org/community/topic/16562/close-all

  • Formating in Notepad++ after pasting text from a web page.

    6
    0 Votes
    6 Posts
    5k Views
    PeterJonesP

    @Alan-Kilborn said:

    I get multiple lines

    So do I.

    You have ignored two requests for version information about your Notepad++.

    Indeed.

    It might also come into play what browser that @Patrick-Maher is using… maybe his browser isn’t putting the newlines into the clipboard. I’m using Chrome Version 76.0.3809.100 (Official Build) (64-bit).

    As another test, what happens if it’s pasted into some other application, like MS notepad.exe? If you get a single line when you paste into Notepad++, but get multiple lines when you paste into notepad.exe, then it’s likely a bug on the Notepad++/Scintilla end; if you get single lines no matter where you paste it, it’s likely a bug in how the browser is populating the clipboard.