• -4 Votes
    3 Posts
    334 Views
    PeterJonesP

    Downvoted because there was a spam link on the comma between the C: and D: near the end.

    This is most likely pure AI fabrication, or at least human-made junk to justify the spam link.

    However, on the off-chance that AI or human derived their spam wrapper from some real report they found somewhere, I am leaving this “report” here, in case someone can replicate the “findings”.

    update:

    Notepad++ v8.6.4 (32-bit)

    Plugins: Explorer 1.9.1, JSON Viewer 2.5

    N++ v8.6.4 was from Feb 2024, but Explorer 1.9.1 was from May 2020. I am dubious that a user would be updating Notepad++, but not the Explorer plugin, over that long of a timeframe.

    Also, as far as I can tell from the public releases, “JSON Viewer 2.5” will not be coming out for another few years (since it’s currently at 2.1.1, and was at 2.0.2 in 2022), so that’s a non-existent plugin version, and more evidence that this entire report is an hallucination.

  • 0 Votes
    4 Posts
    855 Views
    N

    @netoale-netoale This worked fairly well, thank you, but was picking up a few keywords i didn’t want [if, for, switch, …etc]. If you’re having a similar issue, i got Claude to improve it like so:

    <parser displayName="JavaScript" id ="javascript_function" commentExpr="(?s:/\*.*?\*/)|(?m-s://.*?$)" > <!-- <classRange>, ES6 "class" Syntax inspired of typescript : https://github.com/chai2010/notepadplus-typescript/blob/master/functionList.xml --> <classRange mainExpr="^\s*(export\s+)?(class|interface)\s+\w+\s*((extends|implements)\s+(\w|\s|,|\.|[^{])*)?\{" openSymbole = "\{" closeSymbole = "\}" displayMode="node"> <className> <nameExpr expr="(export\s+)?(class|interface)\s+\w+"/> <nameExpr expr="(class|interface)\s+\w+"/> <nameExpr expr="\s+\w+"/> <nameExpr expr="\w+"/> </className> <!-- Indent only support tab/2space/4space!!! --> <!-- tab/2space is best choice! --> <!-- regexp: ^(\t|[ ]{2,4}) --> <function mainExpr="(^(\t|[ ]{2,4})((static)\s+)+(?!(if|for|while|do|switch|try|catch|finally|return|break|continue|var|let|const|function|class|import|export|default|throw|delete|typeof|instanceof|in|new|this|super|true|false|null|undefined|async|await|yield|with|debugger|case|else|elseif|endif)\b)[A-Za-z_$][\w$]*\s*(\(|\=|:|\?))|(^(\t|[ ]{2,4})(?!(if|for|while|do|switch|try|catch|finally|return|break|continue|var|let|const|function|class|import|export|default|throw|delete|typeof|instanceof|in|new|this|super|true|false|null|undefined|async|await|yield|with|debugger|case|else|elseif|endif)\b)[A-Za-z_$][\w$]*\s*(\(|:|\=|\?))"> <functionName> <funcNameExpr expr="(^(\t|[ ]{2,4})((static)\s+)+(?!(if|for|while|do|switch|try|catch|finally|return|break|continue|var|let|const|function|class|import|export|default|throw|delete|typeof|instanceof|in|new|this|super|true|false|null|undefined|async|await|yield|with|debugger|case|else|elseif|endif)\b)[A-Za-z_$][\w$]*\s*(\(|\=|:|\?))|([A-Za-z_$][\w$]*\s*(\(|:|\=|\?))"/> <funcNameExpr expr="(\s+[A-Za-z_$][\w$]*\s*(\(|\=|:|\?))|([A-Za-z_$][\w$]*\s*(\(|:|\=|\?))"/> <funcNameExpr expr="(\s+[A-Za-z_$][\w$]*\s*(\(|\=|:|\?))|([A-Za-z_$][\w$]*)"/> <funcNameExpr expr="(\s+[A-Za-z_$][\w$]*)|([A-Za-z_$][\w$]*)"/> <funcNameExpr expr="[A-Za-z_$][\w$]*"/> </functionName> </function> </classRange> <!-- <classRange>, "prototype" syntax imported from :https://community.notepad-plus-plus.org/topic/8647/configure-function-list-to-show-javascript-class-functions-created-with-prototype --> <classRange mainExpr="^[\t ]*([_A-Za-z]?[\w_]*)(\.prototype)+[\s]+(=)+[\s]*\{" openSymbole = "\{" closeSymbole = "\}" displayMode="node" > <className> <nameExpr expr="[_A-Za-z]+[\w_]*"/> </className> <function mainExpr="^[\t ]*([_A-Za-z]?[\w_])+[\s]*+:+[\s]*+function+[\s]*\("> <functionName> <funcNameExpr expr="^[\t ]*([_A-Za-z]?[\w_]*)"/> </functionName> </function> </classRange> <!-- Original notepad++ functionlist --> <function mainExpr="((^|\s+|[;\}\.])([A-Za-z_$][\w$]*\.)*[A-Za-z_$][\w$]*\s*[=:]|^|[\s;\}]+)\s*function(\s+[A-Za-z_$][\w$]*)?\s*\([^\)\(]*\)[\n\s]*\{" > <functionName> <nameExpr expr="[A-Za-z_$][\w$]*\s*[=:]|[A-Za-z_$][\w$]*\s*\(" /> <nameExpr expr="[A-Za-z_$][\w$]*" /> </functionName> <className> <nameExpr expr="([A-Za-z_$][\w$]*\.)*[A-Za-z_$][\w$]*\." /> <nameExpr expr="([A-Za-z_$][\w$]*\.)*[A-Za-z_$][\w$]*" /> </className> </function> </parser>
  • Replace multiple, alternate lines in a comparison of two files

    16
    0 Votes
    16 Posts
    2k Views
    DrakyemD

    @mpheath

    Hello. Thank you very much for this script, it works wonders! There are some misplaced lines (e.g. line 23 in one file corresponding to line 24 in the other one), but nothing that I can’t fix for the script to work within the entire file as it should.

  • Running Python with Notepad++ on Windows

    6
    0 Votes
    6 Posts
    5k Views
    SQLPythonProS

    To use the anaconda prompt and have the window stay open, just put a “-i” after the path to your python installation like this:
    C:\Users\brown\anaconda3\python.exe -i “$(FULL_CURRENT_PATH)”

  • Plugin/Script to clean up text noise?

    7
    0 Votes
    7 Posts
    758 Views
    Lycan ThropeL

    @Neko_Kaioh said in Plugin/Script to clean up text noise?:

    Yeah, I used that one. Theres nothing on the file that I need to worry about, but it doesnt tell me anything I personally can use.

    "File Type: MSX Graph Saurus compressed image

    MIME Type: application/octet-stream;
    Suggested file extension(s): bin lha lzh exe class so dll img iso"

    So, if anyone reading this happens to know a program or two that I could try to view the file properly, I’d be very grateful.

    At best, you could use the Hex Editor plugin, however, from the information and this discussion so far, it is apparent that your abilities will be taxed, since you can’t tell when a file is binary or not, just by looking at it. If it’s like the file on the left that @PeterJones showed you, I noticed right away the first two letters in the file, PK, and to me that looks like a PKWare file, meaning it’s compressed at best, as matches your description of the file type that web site told you it was. That’s a compressed graphic file, meaning it’s encoded and at this point, I don’t see you having the skill set necessary to use a Hex Editor and be able to debug/decrypt a file.

    Your best bet it to use the file in an application that generated it, and you can do that on your own by using that ubiquitous tool, Google, and putting that file type in the search terms and follow all the links you can until you find a tool that you can use to open that file with so that it can be played, viewed or whatever it is that it is designed to do. As @Terry-R has suggested, we can’t help anymore than this.

  • Multi-Line Search & Replace Across Multiple Folders

    2
    0 Votes
    2 Posts
    243 Views
    Alan KilbornA

    @Gordon-Goodfellow said:

    ALT+SHIFT+F,

    The default for Find in Files is Ctrl+Shift+f, not Alt+Shift+f.

    So is there a way of doing this over multiple folders

    Well, if the files are all in one parent “tree”, just specify to top-level in the Directory box and checkmark the Include subfolders checkbox.

  • Associate log extension with Normal Text instead of errorlist

    4
    0 Votes
    4 Posts
    502 Views
    Alan KilbornA

    @Terry-R said:

    PeterJones had this post, where he suggests making the change in a different way.

    Hmm, that post is about adding, not removing.
    If you try to remove via the GUI, you’ll find that the Default ext.: edit box is disabled, meaning you can’t change it.
    I suggest following the @Ekopalypse advice above.

  • replace old notepad with notepad++

    2
    0 Votes
    2 Posts
    232 Views
    Terry RT

    @d-wright

    I presume you are wanting to do things like right-click on files and open with Notepad++ instead of Notepad.

    Details are in the online manual, referenced from the ? menu option, then Notepad++ online user manual.

    The actual section is here.

    Terry

  • EDITING FILES

    8
    0 Votes
    8 Posts
    868 Views
    PeterJonesP

    @Рома-Смирнов ,

    When I followed @mkupper’s suggestion of searching the internet for your filename, I was able to see that the name wallet.json is often used for the storing secrets or backups for things like banking apps or for backing up your blockchain wallets – and that the latter often have encryption mechanisms built into their apps for encoding/decoding (because you really don’t want your blockchain secret key to be visible to anyone with a text editor), so it wouldn’t surprise me if the former kind of app did something similar. You should read the documentation for whatever app/blockchain you are using, to see how to read/decrypt those files. But in general, it’s doubtful that the intention is for them to ever be human-readable. (And, IMO, they should not be abusing the JSON file extension by claiming their files are JSON if they are, in fact, encrypted and not plain-text JSON; but this parenthetical is just my opinion.)

    And if you are trying to get us to help you decrypt someone else’s online wallet, please understand: doing so, or us helping you do so, is highly illegal in all jurisdictions I have ever heard of, and immoral no matter what jurisdiction you are in. If instructions were ever posted here on how to help someone break into an encrypted wallet, they would be deleted/purged immediately, and the person posting those instructions would be banned permanently from this Forum.

  • Copyng of non breaking spaces to notepad++ from Open Office not working

    2
    1 Votes
    2 Posts
    240 Views
    L

    @Arthur-Hodgett Notepad++ does not have a default setting that automatically converts NBSP to normal spaces on paste. If this behavior started suddenly, consider if any plugins or external clipboard managers might be interfering?
    You likely have not changed a Notepad++ setting. The issue is probably due to clipboard handling or how OpenOffice copies NBSP to the clipboard. ? As in my screenshot example try dragging the highlighted NBSP over to Notepad++ and see if it works.
    nbsp.gif

  • Selection of Appropriate NetPad++ and Plug-In Installation

    4
    0 Votes
    4 Posts
    437 Views
    PeterJonesP

    @Ron-Zarnick said in Selection of Appropriate NetPad++ and Plug-In Installation:

    I downloaded and installed the current version as you suggested. … However, I have not found a method to access either one as nothing appears on my desktop for Notepad++.

    If you ran the Notepad++ installer after you downloaded it, then it should be installed. I thought it would put an icon on your Desktop (but it’s been a while since the last time I installed it on a new computer, so maybe it doesn’t do that, or maybe you were able to tell it to not do that). But even if it’s not on your Desktop, it should be available in your Windows Start Menu. [*] You can run it from there. Or right-click on a file and choose Edit with Notepad++. Once you run it, you can pin it to your task bar.

    If it’s not anywhere in your Start Menu, then I don’t think you actually ran the installer after downloading it. Go to your browser’s Downloads directory, and run the installer from there.

    [*: In Windows 11, it might show up on the main part of the Start Menu, since it’s a new/recently-installed file. If not, click on All in the Start Menu, then scroll down to Notepad++ in the N section. You can Right Click and Pin to Start to get the Notepad++ icon to stay in the main Start Menu area.]

    I also downloaded the offline user manual. … I am guessing the offline manual can be accessed only through Notepad++

    Nope. The offline user manual is a zipfile (nppUserManual.zip) containing HTML. You unzip it into whatever directory you want, then open the index.html with your favorite browser. It is not integrated with Notepad++ in any way. In Notepad++, the ? menu has a Notepad++ Online User Manual link which goes to the online webpage, but since it has no clue where you unzipped the offline user manual (or even if you have downloaded and unzipped it), and since Notepad++ has no integrated HTML renderer, it doesn’t integrate with it. (You could, of course, use Notepad++ to look at the HTML source of the offline user manual, if you were so inclined, but it wouldn’t be like looking at a webpage in your browser.)

  • No text on selected line

    18
    0 Votes
    18 Posts
    5k Views
    E

    I had the same issue but didn’t investigate the involvement of plugins. The issue appeared after changing the Dark Mode to “Follow Windows”.

    After switching the preference back and forth and restarted Notepad++, the issue was fixed.
    Steps: Settings > Preferences > Dark Mode > Light mode / Dark mode / Follow Windows > Restart Notepad++

  • How to save code folding status in the new version

    4
    0 Votes
    4 Posts
    517 Views
    xomxX

    There seems to be such a code-folding regression in N++ v8.7.8, for more info and possible future fix watch the issue #16597.

  • Fix corrupted txt file (NULL)

    116
    2 Votes
    116 Posts
    171k Views
    Mark OlsonM

    @Alexander-Vorobyov

    It will be easier for others on the forum to help you if you share debug info (?->Debug Info from the Notepad++ main menu).

    I seem to recall that the specific problem of Notepad++ overwriting files with a lot of NUL characters was fixed a long time ago, but I’m not super familiar with this topic.

  • How to save folding status in Notepad++

    Locked
    2
    0 Votes
    2 Posts
    229 Views
    PeterJonesP

    Closed as duplicate of this post – replies will be there.

  • Help with a... distant replacement?

    5
    1 Votes
    5 Posts
    520 Views
    HeyImAName HeyImALastNameH

    @Alan-Kilborn said in Help with a... distant replacement?:

    @HeyImAName-HeyImALastName

    Wow, that is really non-trivial.
    But I’d say to try starting with this regular expression replacement:

    Find: (?-s)^(\t*"(.+?)": "\$\[{2}.+?\]{2}).+?,
    Replace: ${1}$[["${2}"]]",

    Wow, that looks like absolute gibberish to me, I can’t decipher it in the slightest. But I tried it and it worked perfectly! Thanks for your help, and everyone else who replied.

  • Notepad window artifacts, no show document

    5
    0 Votes
    5 Posts
    464 Views
    Tom StephensT

    @Terry-R

    Thank-you Terry, I turned of the option for DrictWrite in the rendering, and now i can see my documents.

    Such a strange option to give me a problem after so may years of using notepad.

    Have a great day!

  • Notepad++ open in new instance because I use multiple desktops

    11
    0 Votes
    11 Posts
    9k Views
    notdodgeballN

    @PeterJones said:

    I concur. Has anyone ever asked for (specifically) not touching sessions.xml when -openSession/File > Load Session… is active?

    No, not really, its a shame.

  • Documentation on upgrading Portable npp

    5
    1 Votes
    5 Posts
    549 Views
    PeterJonesP

    @hemanti0503 said in Documentation on upgrading Portable npp:

    Unpack fresh download to new folder
    Adjust config files in old npp folder

    Correct.

    Now, why should I copy the old npp.exe to the new folder (replacing the new exe)?

    You shouldn’t. That was a mistake in the documentation.

    Also what about all my plugins?

    What do you mean, what about the plugins? Since you are copying the new version into the original directory, your plugins are all still there. New versions of plugins plugins don’t come with the portable version, true, so there’s nothing to copy from; but they also don’t automatically come with the installed version, either, so that’s behaving no different. After doing your upgrade of Notepad++, run the Plugins Admin and upgrade any plugins it tells you need updates.

    Maybe it’s a typo in the doc, and it should read copy … from the new to the old

    Yes

    Did nothing else change in the new version other than the exe (and that nppPluginList.dll)?

    Config files were explained; executable and DLL were explained (though with an accidental order swap); what else do you think there might be that could change?

  • How can i use this Note pad to fix special characters??

    2
    0 Votes
    2 Posts
    240 Views
    Terry RT

    @Mark-Jessel
    Your question lacks any substance with which to help you.

    Please read our FAQ post here.

    You will need to supply far more information before anyone can really help you.

    Terry