Community
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • FraF

      How to batch Beautify/Prettify/Unminify all HTML files in a folder? - XML Tools Plugin - Pretty Print - Apply to all open documents - Find In Files

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      4
      0 Votes
      4 Posts
      361 Views
      FraF

      @PeterJones Thanks for the input.

      Surprisingly, just dragging and dropping all the files at once onto Notepad++ opens all the files in about 5 seconds for 1000 files.

      Then the XML Tools takes about 10 seconds to prettify all opened files.

      Then just go to File > Close All so to not have to close each file manually.

      Will do it that way.

      Would be great to update the XML tools plugin if someone’s able and it is not to much work.

      Or just adding the Pretty Print feature directly to the Find In Files feature as extra function for the next Notepad++ update.

    • Ken McQuestonK

      Search string to replace sheet protection multiple .xml files.

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      129 Views
      Ken McQuestonK

      @PeterJones

      That worked! Thanks for your help!

      Ken

    • 7 COME117

      Revert to Windows 10 NotePad

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      181 Views
      7 COME117

      @PeterJones
      Many thanks!
      Regards,
      RPrinceton

    • Maciej ZetM

      Suggestion about Right Click Context Menu

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      0 Votes
      3 Posts
      234 Views
      Maciej ZetM

      @pbarney BIG thanks as this is was I looking for.
      Just for the record - just checked and 2 entries is also fine:

      Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1\Shell\Edit with Notepad++ from line 450\Command] @="\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%1\" -n450 %*" [HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1\Shell\Edit with Notepad++ from line 450] "Icon"="C:\\Program Files\\Notepad++\\notepad++.exe"

      and perfect icon appear :)

    • NebulaPulseXN

      Using Notepad++ for Script Review in Large-Scale Automation

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      1 Votes
      3 Posts
      191 Views
      Thomas KnoefelT

      @NebulaPulseX
      MultiReplace covers the complexity you’re dealing with quite well. While it doesn’t support syntax checking, it handles regex, variables, and multiline edits. Bulk replacements work across all open files in Notepad++. Folder-based processing is on the roadmap.

    • guy038G

      The 'shortcuts.xml' file is NOT re-created if you delete it, on purpose or by mistake !

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      6
      1 Votes
      6 Posts
      550 Views
      PeterJonesP

      @deleelee said in The 'shortcuts.xml' file is NOT re-created if you delete it, on purpose or by mistake !:

      Perhaps I’m misunderstanding your meaning but, if the “exe” directory is the one containing notepad++.exe, the portable version does have shortcuts.xml there.

      You ignored the context of the discussion: the specific question @guy038 asked was,

      Is is normal that a default shortcuts.xml file is NOT created if absent in current folder ( for a portable version )

      Or, phrases a different way: “if you delete the shortcuts.xml and start Notepad++, why doesn’t it re-create it with default shortcuts”

      So, definitionally, if you’ve deleted the shortcuts.xml from the portable directory, there is no shortcuts.xml from which NPP can read the defaults, since NPP doesn’t have a .model for shortcuts.xml and it has no where else to look. (I was contrasting that to the normal installation, where if you delete the App data shortcuts.xml, NPP can recreate it using the shortcuts.xml in the exe directory)

    • Bernard Schleich 0B

      How to set "zoom" level of menu, toolbar and footbar ?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      222 Views
      mpheathM

      @Bernard-Schleich-0

      I currently use

      https://github.com/Tatsu-syo/noMeiryoUI

      in Windows > 7 removed settings to adjust fonts in Notepad++ and other programs . In Preferences, General -> Reduce may need to be unchecked for OS settings to be used.

      Size of fonts changed should be modest as larger sizes may not fit in the area allocated in the GUI.

      Microsoft appears to want users to use Scaling instead of the legacy of WindowMetrics.

    • JE RamirezJ

      Note++ file location

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      208 Views
      JE RamirezJ

      @PeterJones, thanks. Of course, it’s Notepad++, a little too fast with the typing and posting of the question.

      Thanks for the paths.

    • S

      System Requirements

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · windows
      3
      1 Votes
      3 Posts
      184 Views
      S

      @PeterJones
      Ok thanks for your help. Probably will just use the last known supported version. Nice to know though that there may be a way to use a newer version.

    • João MacJ

      TranslateID (FolderName) in UserDefinedCommands (shortcuts.xml)

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      302 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.

    • TM ST

      UDL- Recognize Any 32 Characters Surrounded by Commas

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      228 Views
      TM ST

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

    • Robert SnowR

      Import AutoHotKey.XML into NotePad++

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      349 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.

    • DISA InformatiqueD

      PHP language not in language list

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      286 Views
      DISA InformatiqueD

      @Terry-R

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

    • L

      Script To Fix ASCII->Hex Byte Limit

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      660 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.

    • Brian DickensB

      Notepad v8.8.2 32-bit installer: virus or malware detected

      Watching Ignoring Scheduled Pinned Locked Moved Security
      2
      0 Votes
      2 Posts
      111 Views
      xomxX

      @Brian-Dickens

      https://community.notepad-plus-plus.org/post/102220

      As I said, without the N++ digital signature, stupid AVs go nuts.

      The number of false positives from AVs is so high because in the past, many attackers probably have also used the free, open source NSIS for their purposes.

    • 王阿喵王

      notepad++,政治言论独裁的软件而已

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      2
      -1 Votes
      2 Posts
      71 Views
      Jonathan JohansenJ

      @王阿喵 I’m a new member of the forums. I’m sorry that statement upsets you. It’s a benefit of being a person where you won’t be censored, that you can say what you want. The bananas metaphor may just lead to a worse relationship, right? Open source projects can be copied though, and if you can get a few people to agree, you can start a competing open source product, right? May the peace of Christ be with you, friend.

    • Maxim RodinM

      How do I prevent the line numeration from being shown when exporting a text file into PDF format"

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      146 Views
      PeterJonesP

      @Maxim-Rodin ,

      Settings > Preferences > Print, uncheck Print Line Number

    • Nachum ShmilovitzN

      notepad++ freeze on large SQL file with stored procedures running on Server 2022, no issue on Server 2019

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      166 Views
      Mark OlsonM

      @Nachum-Shmilovitz
      Do you have any plugins installed? A plugin might be responsible.

      It’s also possible that the SQL lexer is causing this slow performance. You can disable this lexer (removing all syntax highlighting) by selecting Language -> None (Normal Text) from the Notepad++ main menu.

    • Ling LingL

      How to Remove "Edit with Notepad++" from the Right-Click Context Menu

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      252 Views
      PeterJonesP

      @Ling-Ling ,

      When you install Notepad++, it installs the right-click context-menu entry using a “Shell Extension”. The User Manual has an entire page on the Shell Extension, including a secion on how to unregister the Shell Extension so that the “Edit with Notepad++” entry goes away

    • Aria JamesA

      Efficient Way to Format and Debug Arduino Code in Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      273 Views
      PeterJonesP

      @Aria-James,

      Recommended plugins for C/C++ syntax highlighting, auto-indentation, or even code suggestions for Arduino.

      Syntax highlighting occurs without plugins in Notepad++. You can set Settings > Style Configurator > Language: C++ to have user ext.: = ino so that Arduino sketches automatically get associated with C++ language.

      Further, you can set the USER KEYWORDS # > user-defined-keywords per my post here to add the Arduino-specific keywords to the syntax highlighter.

      Notepad++ does some auto-indentation natively: see Settings > Preferences > Indentation > Indent Settings = cpp to control tabs-vs-spaces on a per-language basis, and the Auto-indent = basic vs advanced which applies globally throughout Notepad++ (described in more detail here in the User Manual). But it’s not super-fancy, and is only “as you add new lines”, so it won’t clean previous code. @Michael-Vincent shares an example script for the NppExec plugin that is able to run an external “pretty print” utility for multiple languages depending on file extension in this post: his script does it for C, HTML, Perl, and Python, but once you understand what you shared, you could definitely call one for a different language (like C++: I am betting that most c pretty-printers are really c++ pretty-printers, too).

      Code suggestions – there is some auto-completion, but it won’t go as far as code suggestions (and it’s definitely not going to be a copilot AI or anything like that).

      Is there a way to integrate serial monitor output or debugging processes within Notepad++ or via external tools? Is there a recommended workflow that allows me to combine Notepad++ with the Arduino IDE or PlatformIO for compiling and uploading, while primarily coding in Notepad++?

      I’ve never tried anything like that, so maybe someone else will be able to give more advice on that end.