• enter special characters on us 65% keyboard without numpad

    4
    0 Votes
    4 Posts
    558 Views
    Mark OlsonM

    If you know the hex code for a symbol, I prefer to use the HTMLTag plugin to automatically convert XML character encodings into their corresponding characters (e.g., 
 will automaticaly convert to the LF character after you hit SPACE).

  • Notepad++ blank all the time, even with existing files

    6
    0 Votes
    6 Posts
    2k Views
    gerdb42G

    @Berend-Engelbrecht
    Would you mind sharing your graphics adapter information (Brand/model/Driver Version etc.) in this thread? If we can collect as many infos as possible about Graphic adapters affected by the DirectWrite problem, it might show a pattern allowing clues about the cause.

  • UDL - Is there a numeric wildcard character within keywords

    2
    0 Votes
    2 Posts
    283 Views
    EkopalypseE

    @Steve-Lawther

    I think that the EnhanceAnyLexer plugin and a corresponding regex, e.g. Item\d+\w+ would be easiest here.

  • UDL- Recognize Any 32 Characters Surrounded by Commas

    3
    0 Votes
    3 Posts
    357 Views
    TM ST

    @PeterJones Thank for the fast response! I will give that a try.

  • 0 Votes
    11 Posts
    2k Views
    Claudia SvensonC

    @Coises

    Thank you for your suggestion.
    This seems to be the only way of solving the problem.

    Sad to say that a feature-rich editor like NP++ has no separate option for that.

    To achieve this, the user has to fiddle around unintuitively outside of NP++. Not very elegant

    Thanks anyway

  • Right Click Context Menu 'Edit with NotePad++' does nothing.

    2
    0 Votes
    2 Posts
    486 Views
    PeterJonesP

    @Brian-Edgeley ,

    Surely someone has mentioned this before?

    If it didn’t work for anyone, then yes, obviously, someone would have mentioned it before. The fact that no one has mentioned it (or very few) indicates that, in reality, it works for the vast majority of people who use it.

    I use it on a daily basis, and have for years, and it’s always worked for me, both on my old Win10 setups I used to use and my new Win11 machine.

    If you want help debugging why it’s not working for you, please go into your ?-menu and choose Debug Info, then copy that information and paste it here – that will give us specific version-info about your N++, as well as other useful information that helps us understand your setup. Once we know a little more about your setup, we might be able to start giving insight or hazarding guesses.

    The biggest and most obvious culprit – so frequent that it actually has a paragraph in the Online User Manual – is that if you’re running Notepad++ “as Admin” (it would have “Administrator” in the title bar, and the Debug Info would tell us if you were, even if you didn’t know), then the shell extension’s Edit with Notepad++ action might not be able to open the file into Notepad++.

    Beyond that, I would probably suggest trying to un-register the shell extension then re-register it (both those steps are here in the User Manual)… but before I could give specifics to help you through that process, I would need to know what version you were using and where your Notepad++ was installed (again, through the Debug Info)

    So, other than “check to make sure Notepad++ is not in Administrator mode”, I cannot give any solid advice until you share your Debug Info.

  • 0 Votes
    32 Posts
    21k Views
    PeterJonesP

    @Hashir-Maher ,

    I didn’t understand it two years ago when @sky-247 suggested it, and I still don’t understand it now that you reply saying it was a good idea: how does changing font size or zoom level change whether the “jump to next/prev bookmark” takes you to the middle or the top of the screen?

    I mean, I can understand that when zoomed fully in, that there are so few lines that the “middle” and the “top” are close to each other.
    2280b82f-16c2-477a-85f2-c24580232355-image.png

    But when you zoom back to normal, it’s still a few lines from the top, rather being at the top, like was requested. And I don’t see how you can make “jumping to bookmarks feel a lot smoother” using zooming in.

    And if you zoom out, it’s the exact opposite of what the original poster requested in 2020, in that the middle, where it jumps to, is even farther from being at the top of the screen. I mean, if it’s a short enough file, then all the bookmarks will be “near” the top, but it will be unreadable:
    13efed98-64fb-412b-bd31-abc1a3fc8074-image.png
    , and when you return to normal zoom, the window might not be anywhere near the bookmark you just jumped to, so it makes the zoom-out version even more useless than the zoom-in version.

    Can you explain why you think that @sky-247’s suggestion is at all helpful for the original question of how to show the jumped line at the top of the screen?

  • Some functions not shown in function list

    8
    0 Votes
    8 Posts
    1k Views
    PeterJonesP

    @Alan-Kilborn said in Some functions not shown in function list:

    There’s also a sample macro called “Trim Trailing Whitespace and Save” or something close to that, that conveniently does the action every time you save (well, every time you run the macro, which, if assigned to your favorite save-keycombo, e.g. Ctrl+s, will do it).

    I used Ctrl+S remapped to Macros > Trim Trailing and Save for years before starting to use editorconfig – and actually I still use that mapping, because I don’t have a .editorconfig file at the root directory of all my drives, so there are still times when the editorconfig plugin doesn’t know to trim trailing for me. Since I almost exclusively use the keystroke vs the toolbar or menu command for my Save, I (almost) always get the trailing removed when I save.

  • PHP language not in language list

    Moved
    3
    0 Votes
    3 Posts
    467 Views
    DISA InformatiqueD

    @Terry-R

    Thank you…
    it was disable… Why? i don’t know but it’s ok now…
    ;-)

  • 0 Votes
    4 Posts
    1k 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
    3k 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
    6k 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
    1k 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
    437 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
    1k 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
    399 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
    1k 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
    398 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
    667 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
    6k 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++