• path for notepad++

    16
    0 Votes
    16 Posts
    16k Views
    Eric BlochE

    Right click on Icon and select “Properties” and then click on “Open File Location”. At that location can <shift><right click> and select “Copy as Path”

  • How to transfer wildcards from FIND to REPLACE

    3
    0 Votes
    3 Posts
    283 Views
    Neil SchipperN

    @danny-spence You should try to describe in a more precise and complete way all the types of strings you wanted altered. If you are happy doing a separate F&R operation for every date of interest, that’s what Peter’s solution provides. If you wish to alter every Feb date, you need something like Feb/\d+. If you wish to alter a restricted range of dates in Feb like say 8th to 23th, you need something a bit more complex. If you wish to alter every date in the format you’ve shown, you need something like (Jan|Feb|..etc..|Dec)/\d+. Try to eliminate the need for your readers to do guesswork.

  • Crash upon opening any file after a manual upgrade from 7.8.9.0

    6
    1 Votes
    6 Posts
    449 Views
    Mateos81M

    Good afternoon,

    Just a bit of news;

    I’ve submitted a pull request and it got merged in with a version bump, so it’s available to all through the Plugins Admin!
    https://github.com/Megabyteceer/npp-task-list/pull/13

  • Issue with autocompletion - comparing 7.3.3 and 8.3

    7
    0 Votes
    7 Posts
    2k Views
    Mateos81M

    Thank you everyone ^^

    The .xml file name has to match the UDL name, but inside it the language field is purely descriptive (see https://npp-user-manual.org/docs/auto-completion/#auto-completion-file-format)

    Next time I’ll try to be more verbose and explicit on my posts to be precise when it comes to reproduction steps

    Really appreciate all you’ve done over the past days!

  • Autocomplete error after version 8.3

    4
    0 Votes
    4 Posts
    489 Views
    Laura Ess 0L

    @michael-vincent
    Thank you, that worked! I did try searching the community posts but this is the first time I’ve used it and got a bit lost. Thanks again.

  • How to disable txt syntax automatic checking?

    6
    0 Votes
    6 Posts
    2k Views
    oa klkO

    @michael-vincent @alan-kilborn

    notepad++2.png

    I close the txt file and reopen it, now I cannot reproduce the issue.

    But before that, if I just close notepad++ and reopen notepad++(not close txt file and reopen txt file), I got the issue every time.

    In the bottom, it shows that it is a user defined language file, I don’t know why.

    Notepad++ v8.2.1 (32-bit)
    Build time : Jan 19 2022 - 18:38:49
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    OS Name : Windows 10 Enterprise (64-bit)
    OS Version : 2009
    OS Build : 19042.1466
    Current ANSI codepage : 1252
    Plugins : DarkTheme.dll mimeTools.dll NppConverter.dll NppExport.dll XMLTools.dll

  • Locate and insert new value

    4
    0 Votes
    4 Posts
    577 Views
    Alan KilbornA

    @guy038 said in Locate and insert new value:

    I"m surprised and don’t understand your regex replacement

    I don’t understand it now either.
    For some reason I thought OP wanted to insert the ssn tag and value!
    Oops.

  • ctrl+f #/count

    5
    0 Votes
    5 Posts
    2k Views
    stanl33kS

    @alan-kilborn said in ctrl+f #/count:

    You can hope, but it has a better chance if you make a real feature request out of it; see HERE for how to do that.
    Probably it doesn’t stand much of a chance, though, IMO.

    pls
    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11118

  • 0 Votes
    3 Posts
    752 Views
    nrh_10_2022N

    @peterjones said in Changing the closing tag on a XML file, so it matches the opening tag, with notepad++ -:

    FIND = (?s)wp:postmeta-ingredients.*?\K</wp:postmeta>
    REPLACE = </wp:postmeta-ingredients>
    SEARCH MODE = Regular Expression
    REPLACE ALL (because of \K, hitting REPLACE multiple times will not work)

    Ehh, wow, fast and correct answer, worked like a charm.
    Super impress of the quality here.

    Thank you so much Peter :)

  • Compare Plugin isn't working

    3
    0 Votes
    3 Posts
    5k Views
    Angelblue1852A

    @peterjones Thank you. It’s working now :)

  • Menu font size and coloring

    1
    0 Votes
    1 Posts
    299 Views
    No one has replied
  • Update crash : How do I manually remove Npad++

    4
    0 Votes
    4 Posts
    945 Views
    PeterJonesP

    @john-molyneux ,

    Gnu Octave is a completely different program than Notepad++, and has nothing to do with the Notepad++ project. It may have its own plugins directory, but that has nothing to do with Notepad++. If Octave bundles a Notepad++ copy with their distribution (which they are legally allowed to do, based on the LICENSE), then maybe there really is a Notepad++\Plugins directory there. But that would mildly surprise me (and some quick poking at Octave’s site doesn’t show me any obvious reference from Octave to Notepad++).

    Those .tmp files and rar folders likely have nothing to do with Notepad++.

    I think you’ve done a lot of mucking around, and you are in a strange situation. We are not generic tech support / Windows support, and if you are having problems at bootup, and if you don’t have Notepad++ left on your machine, then the problem is a Windows problem, not a Notepad++ problem. I don’t know how you got to where you are, but I don’t think we can help you out of the mess you’re in now.

    Sorry to not have better news for you. Good luck.

  • Multi to single selection after tab switch

    4
    1 Votes
    4 Posts
    412 Views
    M Andre Z EckenrodeM

    @peterjones said in Multi to single selection after tab switch:

    this points to it being an implementation-detail/feature/bug of Scintilla 4.46, not of Notepad++ itself.

    Sounds logical to me.

    @alan-kilborn said in Multi to single selection after tab switch:

    If that behavior really bothers you (I don’t get the feeling it does – all that much)

    Nah — not so far, anyway. This was probably the first time I’d ever switched tabs immediately after creating a multi-selection.

    I’m thinking this may warrant mentioning as a limitation in the docs, though.

  • Auto-quit with ">"

    3
    0 Votes
    3 Posts
    416 Views
    Michael VincentM

    @aliyah-lee said in Auto-quit with ">":

    Every time I try to type in a closing angle bracket “>” (meaning I have to press SHIFT + .) the program shuts down, making it impossible to use this program for XML,

    This is a known issue. It will be fixed in the next release. You can either downgrade now or replace current notepad++.exe with the artifact from the linked commit.

    Cheers.

  • Notepad crashes while coding in HTML

    3
    0 Votes
    3 Posts
    566 Views
    Michael VincentM

    @aditya-samaddar said in Notepad crashes while coding in HTML:

    While typing the code, whenever I try closing a HTML tag, it just crashes.
    Don’t know what more to say. Hope you can help

    This is a known issue. It will be fixed in the next release. You can either downgrade now or replace current notepad++.exe with the artifact from the linked commit.

    Cheers.

  • Plugin window font is very faint - 4k display res issue?

    3
    0 Votes
    3 Posts
    280 Views
    Mr-BrunesM

    @mr-brunes Hmm, the attached image displays clearly on mine but may be because it’s much larger than real size!

  • How to add external modules for python and autocompletition

    4
    0 Votes
    4 Posts
    1k Views
    mpheathM

    @usul

    Could generate the autocomplete file with gen_python_3_api.py. Requires Python 3 obviously.

    Download gen_python_3_api.py from this repository. Copy gen_python_3_api.py to an empty directory for the operation. Run this command from the directory containing gen_python_3_api.py:
    "%ProgramFiles%\LibreOffice\program\python.exe" "gen_python_3_api.py"

    Notice the command will run Python built into LibreOffice, not the Python that you may have installed separately. If you want autocomplete from the Python installed separately, then run the script with that Python instead.

    Multiple files will be created. The files that are not xml are for SciTE. The main file for the Notepad++ autocomplete is python3.xml.

    Recommend to read the docstring at the top of gen_python_3_api.py which has some instructions and other useful information. A couple of different ways to setup into Notepad++.

    You could replace the original autoCompletion\python.xml with the content of python3.xml which replaces Python 2 with Python 3 as default for autocomplete. Do backup the original file before doing this. The file userDefineLang_python3.xml has keywords within that you may need to update in the Settings -> Style Configurator menu.

    Or you could copy userDefineLang_python3.xml into the userDefineLangs folder and copy python3.xml into the autoCompletion folder. This will display in Notepad++ as a UDL in the menu Language -> python3. This is not going to be so intergrated as the previous option with builtin theming and the other features.

    The python3.xml file will be quite large at approximately 960KB, though here is an excerpt of a uno function entry:

    <KeyWord func="yes" name="uno.invoke"> <Overload descr="[function] Use this function to pass exactly typed Anys to the callee (using uno.Any)." retVal=""> <Param name="object"/> <Param name="methodname"/> <Param name="argTuple"/> </Overload> </KeyWord>

    Tested with LibreOffice 7.1.7.2 which has Python 3.8. I am the author of the gen_python_3_api.py script so I should be able to help here if any on-topic questions are asked about this script, otherwise suggest to discuss at the repository.

  • Replace multiple texts with other multiple texts

    4
    0 Votes
    4 Posts
    291 Views
    ric12gR

    @alan-kilborn Works perfect! Thanks a lot!

  • Where are the opened files data saved?

    6
    0 Votes
    6 Posts
    2k Views
    Pessimist KaiP

    @neil-schipper No, I think this is just what I needed. Thank you! :)

  • Notepad++ v8.3 crashing due to nppAutoIndentDetect.dll

    7
    0 Votes
    7 Posts
    2k Views
    PeterJonesP

    @clem-patafio ,

    @Michael-Vincent said,

    Resolved - https://github.com/Chocobo1/nppAutoDetectIndent/issues/5#issuecomment-1033939578

    This says that if you exit Notepad++ completely, go download the most recent nppAutoDetectIndent release 2.3, and put the new DLL overtop your old DLL, and restart Notepad++, it should fix your issue.

    (The author of the plugin has submitted the PR so that the updated nppAutoDetectIndent will be available in the next release of Notepad++ as well.)