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
    • Tanya DhinaT

      When I opened my Notepad++ I lost all my previous tabs. Couldn't find those. Can someone help me recover those. Those tabs are very important. Thanks

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · bugs
      2
      0 Votes
      2 Posts
      75 Views
      xomxX

      @Tanya-Dhina

      check Scenario: My (unsaved) files are missing! in FAQ:
      https://community.notepad-plus-plus.org/topic/21782/faq-periodic-backup-vs-autosave-plugin

    • john murphyJ

      Some files no longer load. Many files are missing in the document list.

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

      @john-murphy ,

      I had delayed responding, because I’m not sure I understand exactly what’s going on for you. I was hoping someone else understood your post better, so they could provide help. But since it’s been a few days with no response, I will chime in saying, “I am confused”.

      I try to load a file I use often and it opens a workspace

      How do you load the file? Windows Explore double-click? Windows Explorer right-click and picking Edit with Notepad++? Notepad++'s File Open or toolbar equivalent? Double clicking on the filename in the View > Folder as Workspace’s panel? Double clicking on the filename in the View > Project Panels > Project Panel N? Something else I haven’t thought of?

      I cannot think of any way to get any of those actions to launch the project/workspace panel or folder-as-workspace panel. (Those last two had to manually open the panel first, before double clicking, and double clicking would still open the file.)

      About the only thing I can think that would change Notepad++ to automatically open a “workspace” instead of a file would be if you had set Settings > Preferences > MISC’s Workspace file ext: to an extension that happened to match your file’s extension (in this case, I think you want Portguese general.txt, and it would really surprise me if you’d set that extension setting to txt); but if you did that, and the content of your file was the right XML to match a workspace definition, then Notepad++ would open that workspace instead of opening a file. But that doesn’t quite sound like your symptoms, and it would be really confusing to me.

      I think you need to explain more step-by-step what you are doing – maybe even with screenshots at various points along the way, so we know exactly how you got to where you are.

    • ronsipherdR

      NPP context menu implementation

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      1 Votes
      2 Posts
      94 Views
      CoisesC

      It’s open source. Look here:

      https://github.com/notepad-plus-plus/nppShell

    • Bas de ReuverB

      [New Plugin] CSV Lint

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      83
      6 Votes
      83 Posts
      98k Views
      A

      I had sent a comment before this one which is not yet visible to me.

      Just wanted to let you know it seems solved. Other plugins struggled as well so I completely uninstalled npp and started from scratch. Now it works for me as a normal user.

    • Joël PLANCHATJ

      Mc afee détecte également un virus sur la version 8.8.2 64 bits.

      Watching Ignoring Scheduled Pinned Locked Moved Security
      2
      0 Votes
      2 Posts
      72 Views
      PeterJonesP

      @Joël-PLANCHAT ,

      False Positive caused because there is no certificate:

      KNOWN ISSUE: https://community.notepad-plus-plus.org/topic/26978/known-issue-the-digital-certificate-is-not-available-in-version-8-8-2

    • Martin L. BuchananM

      Unexpected text display change for >=

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      5
      2 Votes
      5 Posts
      439 Views
      PeterJonesP

      @BrBill said in Unexpected text display change for >=:

      @Alan-Kilborn I want to turn this off too. It also displays != as ≠. Does anyone know?

      You didn’t need to post a second time with the same question 15 minutes after your first post here.

      Besides, one answer in the post you were replying to – turning off DirectWrite, which is now setting it to GDI (most compatible) as of a few versions ago – would have worked for you if you’d tried it.

      Or, as I explain here, pick a font that doesn’t have the ligature feature.

      Either works.

    • 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
      2k 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
      193 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
      194 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
      190 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
      390 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
      330 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.

    • Ahu LeeA

      Double Ctrl+F won't bring the find dialog to the front of the primary window.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      17
      0 Votes
      17 Posts
      6k Views
      PeterJonesP

      @Marshall-Brooks said in Double Ctrl+F won't bring the find dialog to the front of the primary window.:

      Also - somewhere along the way (8.81 or prior), Alan’s suggestion was implemented:

      v8.3.3 in March 2022, so a few months after Alan’s 2021 post. See https://github.com/notepad-plus-plus/notepad-plus-plus/wiki/Changes#833

    • Ertan KüçükogluE

      Pascal multi line string highlight

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

      @Ertan-Küçükoglu said in Pascal multi line string highlight:

      It would be nice to have it visualized as string in Notepad++

      Notepad++ uses a library called “Lexilla” to handle deciding what characters in a document to syntax highlight. When I use their testbed “SciTE” editor, it is showing that it’s treating the line ending with ''' as an “unterminated string”. But it apparently doesn’t know that Delphi recently added multi-line strings with the triple-quote syntax.

      The Lexilla project has ome reported issues about Pascal and Delphi – you can look through those, and see if any mention the multi-line strings. If not, you might want to request that they add it. Once they add it, and Notepad++ updates its Lexilla library, then Notepad++ could add that new styleID to the Style Configurator options for Pascal. But until they add the support, there’s nothing Notepad++ can do about the official lexing of the language.

      However, as a workaround, there is a plugin called “EnhanceAnyLexer”, which allows you to add regex-based foreground colors. Doing multi-line stuff with a regex is risky if there’s a mismatched triple-quote somewhere, but once you install EnhanceAnyLexer, open your Delphi/Pascal file, use Plugins > EnhanceAnyLexer > Enhance current language, which will open up a [pascal] section in the EnhanceAnyLexerConfig.ini. Set it to the following

      [pascal] ; Everything between pairs of triple-ticks is colored cyan 0xCCCC00 = (?s)'''.*?''' ;excluded_styles = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,20,21,22,23

      (make sure you use the ; or # to coment out the excluded_styles, otherwise it won’t color properly; you can, of course, pick any 0xBBGGRR values you want to choose your own color, as described in the comments of the INI file.)

      With that INI saved, it will mean that from now on, the EnhanceAnyLexer plugin will color triple-quote multi-line strings in Delphi/Pascal files. like this example:
      5ba5abdd-c30f-4536-b470-290f55647f1a-image.png

      Since some people aren’t clear when I’ve given such instructions: once you save the EnhanceAnyLexerSettings.ini, the EnhanceAnyLexer will always apply that regex-based coloring to Pascal/Delphi files (you don’t have to run Enhance current language every time you want to turn it on; with the plugin installed, and the ini saved, it will be automatic).

    • Paul CobbenP

      Cannot get Autocompletion to work for my own language

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

      @Paul-Cobben said in Cannot get Autocompletion to work for my own language:

      What am I doing wrong?

      Per the User Manual section on the autoCompletion definition file syntax (https://npp-user-manual.org/docs/auto-completion/#create-auto-completion-definition-files), with emphasis added:

      The basic character set used to recognize keywords is made of letters a-z, A-Z, digits 0-9, and the underscore _. Punctuation might work for auto-completion; however, if you want to use the parameter hints, you should not use punctuation in the keyword name.

      You are relying on the : at the start of the keyword and the - in the middle. This is a double-whammy against you. However, if you go to Settings > Preferences > Delimiter and set ⦿ Add your character as part of word to :- so that those two characters are more “word-like”, then restart Notepad++, it will be able to show up in the function-name autoCompletion:

      6c680cbc-5b88-4169-b76d-affbf204618e-image.png

      However, the parameter hint portion has two more problems:

      The easy one is you need func="yes" in the <KeyWord name="..." func="yes"> tags, otherwise Notepad++ doesn’t pay attention to the overload/param elements nested in the KeyWord. This might not ever work, because the internal regex that Notepad++ uses to determine if it’s valid to prompt for function parameters refuses to work because of the - in the keyword. If I have the delimiter setting as above, and added a keyword :FUNCT_SETTEXT which has the : as the prefix but does not include the hyphen, like:<KeyWord name=":FUNCT_SETTEXT" func="yes"> <Overload retVal="void" descr="Set a value in the STATUS.DAT file."> <Param name="Section" /> <Param name="Key" /> <Param name="Value" /> </Overload> <KeyWord> then when I type :FUNCT_SETTEXT(, it will prompt with the parameter hints as well: bf355c03-a51b-45ad-b0a3-47534ee92e2d-image.png As a workaround, you could “cheat” the - limitation by defining a second keyword which includes just the stuff that comes after the - in the keyword, like,<KeyWord name="SETTEXT" func="yes"> <Overload retVal="void" descr="Set a value in the STATUS.DAT file."> <Param name="Section" /> <Param name="Key" /> <Param name="Value" /> </Overload> </KeyWord> This will allow Notepad++ to see the - as a boundary and then the SETTEXT as a separate function, which then allows for the function parameter completion, as in this screenshot: d52f6232-de08-4b85-89cc-e2b852801a90-image.png
      (notice that it thinks the function is SETTEXT, not :FUNCT-SETTEXT, when doing the parameter prompting) Since punctuation isn’t guaranteed in function/parameter autoCompletion, that’s likely not going to be “fixed”, as it’s already relying on an unspecified edge case.

      In conclusion, if you just want the function autocompletion for the names with leading : and embedded -, you can do that by setting the Delimiter setting to :- , and it will work as in my first screenshot. If you want parameter hints when there are not hyphens in your function name, you can get that by setting the func="yes" in your <KeyWord...> tags, and that will work as in my second screenshot. Unfortunately, you cannot get the parameter hints directly if your keyword has the - because of a limitation in the internal processing that decides when parameter hints can be shown (though you can trick it as shown in item3).

    • PeterJonesP

      FAQ: Using the GCC version of Notpead++

      Watching Ignoring Scheduled Pinned Locked Moved FAQ
      1
      4 Votes
      1 Posts
      82 Views
      No one has replied
    • Thomas KnoefelT

      [New Plugin] MultiReplace

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      70
      3 Votes
      70 Posts
      32k Views
      Thomas KnoefelT

      MultiReplace now also supports Replace in Files. This is another step toward a powerful feature when combined with the list entries. This feature supports all variables used in Use Variables, like FNAME and FPATH, as well as the CSV Scope option, so it is fully integrated.

      This is a Release Candidate available for testing – if it works for you, feel free to leave a like. If you run into any issues, please report them here.

      Download link

      Download the ZIP file matching your system. Copy its contents into C:\Program Files\Notepad++\plugins\MultiReplace. Done!

      e8fa1053-4311-4396-a11e-965d6c071700-image.png

      Happy replacing!

    • OokerO

      How to use VS Code keymap in Notepad++?

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · vscode keymap shortcut mapper
      3
      0 Votes
      3 Posts
      2k Views
      N

      Hi, I ran into the same issue.

      I unfortunately don’t have enough time to manually check every single vscode keymapping, but with the courtesy of an LLM I was able to generate a “good enough” shortcut map that has all the functionality I need, which is mostly just alt+up/down and ctrl+/

      https://gist.github.com/nopeless/b18fe37105fd165cd9c637d4a2a2b48b

      Here is the link

    • martin-honnenM

      XMLTools with XSLT 3.0 support updated to latest SaxonC HE 12.8 release

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development xml xslt xmltools xslt-3.0
      1
      3 Votes
      1 Posts
      77 Views
      No one has replied
    • donhoD

      Sometimes when one door closes in life, another one opens

      Watching Ignoring Scheduled Pinned Locked Moved Humour
      1
      7 Votes
      1 Posts
      136 Views
      No one has replied