• Notepad++ funciona en linux?

    General Discussion
    5
    0 Votes
    5 Posts
    740 Views
    EkopalypseE

    @ANDRES-MARIANO-MARTINEZ-PEÑA

    Yo sólo utilizo versiones portables, es decir, versiones que no necesitan ser instaladas, sino que simplemente se copian en un directorio.
    Para instalar un paquete de instalación sin entrada, hay que pasar el parámetro /S a setup.exe. https://npp-user-manual.org/docs/command-prompt/#installer-options.

    I only use portable versions, i.e. versions that do not need to be installed, but simply copied to a directory.
    To install an installation package without input, you have to pass the /S parameter to setup.exe. https://npp-user-manual.org/docs/command-prompt/#installer-options.

  • 0 Votes
    3 Posts
    330 Views
    João MacJ

    @PeterJones said in TranslateID (FolderName) in UserDefinedCommands (shortcuts.xml):

    If you look again at the reference you linked, the TranslateID attribute is defined for the contextMenu.xml; however, the <Command> tags in the shortcuts.xml do not have that attribute listed as being available.

    Thus, I do not believe what you are looking for is currently possible. Thus, I think you would have to follow the instructions in our FAQ to put in a feature request to ask the developer to add TranslateID to the shortcuts.xml <Command> tag.

    Hello, @PeterJones.

    I truly appreciate your quick response and such a clear explanation!

    Indeed, upon rereading the documentation I referenced, I realized I misunderstood the use of the TranslateID attribute. It applies to contextMenu.xml, not shortcuts.xml, as I had mistakenly assumed. That was an oversight on my part, and I appreciate you pointing it out so objectively.

    In my case, this was just curiosity based on that mistaken understanding. It’s not something essential for daily use of the application. I’m glad to have learned the actual scope of this functionality.

    Thanks again for your kindness and clarification.

  • 0 Votes
    3 Posts
    234 Views
    TM ST

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

  • 0 Votes
    11 Posts
    1k 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

  • 0 Votes
    4 Posts
    567 Views
    CoisesC

    There is an issue about this:

    Search function impracticality #10438

  • [bug] Space not inserted for tabs

    General Discussion
    4
    0 Votes
    4 Posts
    407 Views
    Terry RT

    @Coises

    As I read it, it seems that the OP wants their Preference to be updated if they use the Edit, Blank Operations, TAB to Space (or Space to TAB).

    Of course, I too could be confused. The lack of detail does make the OP open to interpretation.

    I’m with @PeterJones on this.

    One is a “Preference”, the other a “one-shot function”. This function should not be making changes to a Preference. And at the moment it isn’t, which I believe to be the correct decision.

    Terry

  • 0 Votes
    2 Posts
    268 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
    23 Posts
    6k Views
    fml2F

    @Alan-Kilborn Hehe, “for in much wisdom is much grief”.

  • Lock file

    Security
    7
  • Import AutoHotKey.XML into NotePad++

    General Discussion
    3
    0 Votes
    3 Posts
    443 Views
    PeterJonesP

    I see that a GitHub user @paulm31 is submitting a AutoHotKey_V2.udl.xml to the User Defined Languages Collection in PR #324 – I have to assume that’s related to this post, even if it’s not you, given the timing.

    That PR is merged, and CollectionInterface shows the AutoHotKey_V2.udl entry for me.

  • 0 Votes
    32 Posts
    19k 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?

  • 0 Votes
    8 Posts
    804 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.

  • 0 Votes
    3 Posts
    313 Views
    DISA InformatiqueD

    @Terry-R

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

  • Love the term “some random person”!

    Humour
    2
    3 Votes
    2 Posts
    410 Views
    ThosRTannerT

    From here https://xkcd.com/2347/ - I think the author understands our digital infrastructure only too well.

  • 0 Votes
    27 Posts
    9k Views
    Ildefonso ZanetteI

    @xomx said in Unable to see Data in the Notepad++:

    I’d like to ask the affected users here, for which switching the DirectWrite OFF helped - what OS, graphics card and version of its drivers are they using?

    E.g. post: Windows 10, Nvidia GeForce xyz, 2/24/2023 30.0.14.7430

    (you can find such info e.g. by WinKey+R, type there devmgmt.msc -> OK, and check the Display Adapters > doubleclick on an adapter > Driver tab)

    I have a NVidia RTX driver and also an odd one: "Parsec Virtual Display Adapter"Driver. I’m suspecting that the parsec display might be the guilty one…

  • Script To Fix ASCII->Hex Byte Limit

    Notepad++ & Plugin Development
    5
    0 Votes
    5 Posts
    686 Views
    Mark OlsonM

    It occurs to me that I could implement a feature in HugeFiles that would load a chunk of a file, run a plugin command on that chunk, append it to a new file, and repeat for each chunk.

    Such a feature would AFAICT eliminate the need for scripts like the one posted above.

    If this post gets at least 4 upvotes, I will consider implementing this feature. I expect it would be a lot of work but potentially useful.

  • -4 Votes
    3 Posts
    379 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
    928 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>
  • 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.

  • Advertising on the official download page?

    General Discussion
    7