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
    • Zack MosbruckerZ

      Important files lost during recent update

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      8
      1 Votes
      8 Posts
      345 Views
      PeterJonesP
      @Konsolate said: Everything is lost. Also, while we confirmed with @zack-mosbrucker that the backup folder was empty, you never confirmed that. Are you sure that folder was empty, or did your session file just get reset? (If you don’t know where yours is, it’s probably in %AppData%\Notepad++\backup\ – if it’s not there, share your ? > Debug Info and we can help you find it.) Notepad++ backs up the session file into session.xml.inCaseOfCorruption.bak, so if you still have files in the backup\ folder, then you can recover the old session if you exit Notpead++, rename session.xml.inCaseOfCorruption.bak to session.xml, and restart Notepad++, and it will go back to the previous version of the session file. And if it still doesn’t open all the files from your backup folder, you can just manually open those files from Notepad++, and then save them to a reasonable known location on your computer, so that you won’t lose them again in the future.
    • gcyrillusG

      nppGitClone (14-16ko)

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      140 Views
      gcyrillusG
      @Michael-Vincent Thanks for the feedback ;) fixed with : https://github.com/gcyrillus/nppGitClone/releases/tag/V1.0.1
    • gcyrillusG

      [new plugin] AssistantIA alpha 0.0.0.1 looking for feedback

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      187 Views
      gcyrillusG
      @Michael-Vincent and anyone reading :) Besides the jokes, i’d like some real feedback about the plugin, the code and mainly about the fact that gemini assisted me … Be critical without trolling, do not be afraid to point out all of the funny code, nonsense and incoherence that a light IA can bring within your code unless there is some goods in it . Good jokes are also welcome ;)
    • medvidecM

      Npp Plugin - failing when "string" type is used

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      5
      0 Votes
      5 Posts
      181 Views
      rdipardoR
      @medvidec It’s impossible to know for sure without seeing your code, but I doubt the issue has anything to do with Notepad++. If this “global variable” is supposed to be shared between multiple C++ source files, you have to do the following: declare the variable in a header file as extern, e.g.: // your_header.h #include <string> extern const std::string configFile; include “your_header.h” in every source file that uses configFile . provide a definition (at global scope) of configFile in one (and only one) of the source files that includes “your_header.h”: // source_file.cpp #include "your_header.h" // ... const std::string configFile = "/plugins/config/verilogConfig.txt"; // ... You can read about storage class specifiers to learn more.
    • decrepit-old-geekoidD

      Can't make a keyboard macro for a shortcut in Notepad++ v6.9.2

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      4
      0 Votes
      4 Posts
      91 Views
      guy038G
      Hello, @decrepit-old-geekoid, @peterjones and All, It just so happens that I still have the docMonitor.2.2.zip archive on my old Win XP computer. So, on the last XP version of N++ ( v7.9.2 ), within a plugin directory named docMonitor, I installed the docMonitor.unicode.dll that I renamed docMonitor.dll Notepad++ opened normally and the plugin was here with the single option Plugins > Document Monitor > Start to monitor. Before activating this plugin, I ran, in a CMD command prompt window, the command : notepad++ -nosession Test.txt Then, the DOS command : echo ABCDE >> test.txt I verified that I got, within N++, the usual dialog : This file has been modified by an other program. Do you want to reload it? Clicking on the Yes button, it added, as expected, the line ABCDE to the empty Test.txt file => OK As soon as I choosed the option Plugins > Document Monitor > Start to monitor, any subsequent echo command uodated silently the Test.txt file, as well => OK Then I ran the option Plugins > Document Monitor > Stop monitoring. I thought that it would again show the dialog to reload the file, but subsequent echo commands still updated silently the file !? I said to myself : May be it’s worth to stop/start the computer again. However, the problem remained identical, afterwards ?? Then, I desintalled the DocMonitor plugin completely, including the docMonitor.ini file under config and restarted my Win XP computer. But, again, any echo command still updated the Test.txt file silently !!?? At that point, I didn’t understand at all ! Thus, I decided to pull out the stops and reinstall a clean version of a portable N++ v.7.9.2 in a separate directory ! By default, this new version correctly showed the dialog This file has been modified by an other program. after a command : echo bla bla blah >> test.txt Then, I had the idea to compare all the N++ preferences between my normal intallation and this new version and…, surprise : there were some differences in the MISC. preferences : The file status Auto-detection section shows the Enable for all opened files option and the Update silently and Scroll to the last line after update options were checked, in my normal intallation The file status Auto-detection section shows the Enable option and the Update silently and Scroll to the last line after update versions were unchecked, in the new N++ version So, in the new version, I re-installed the Doc Monitor plugin and even after running the Plugins > Document Monitor > Start to monitor option, the MISC. preferences for file status were still the default ones ! Howewer, if you close and re-start N++ immediately, you see, this time, the Enable for all opened files option and the two box options checked, in the MISC. preferences ! So, apparently, at least , with this 2.2.0.0 version, Don simply activates, with his plugin, these specific N++ options which updates silently any opened file ! Best Regards, guy038
    • Sylvester BullittS

      Can't Open URL in HTML Link

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion file open issue html
      3
      0 Votes
      3 Posts
      36 Views
      PeterJonesP
      @Sylvester-Bullitt said: suddenly noticed I can no longer open a file by right clicking on the URL in an HTML href If you mean you are right clicking, and choosing Open File from the context menu, which is equivalent to Edit > On Selection > Open File, and you have highlighted a relative path to a file, like highlighting the ../../../../../js/jquery.js or shadduck_bh.htm, then yes, that is a known regression. It will be fixed in the next release version. (If you selected an entire path, like c:\path\to\shadduck_bh.htm, then the Open File action would work right. It’s just relative paths, either from the same directory, or a subdirectory, or a relative path to another directory, that don’t work in this version.
    • Thorin SchmidtT

      Confusing/Frustrating folding behavior

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      126 Views
      Thorin SchmidtT
      @PeterJones Thanks for the keyboard shortcut. I’m embarrassed to say I never considered that approach. But here are some function blocks. I’m doing this quick and dirty right now, so forgive the inelegant code. (This is for a character generator for an obscure RPG you probably haven’t heard of) def get_bonus(self, score): if score > 18: return "+4" elif score > 16: return "+3" elif score > 14: return "+2" elif score > 12: return "+1" elif score > 8: return "+0" else: return "-1" def roll(self, n=1, d=6): total = 0 for i in range(n): total += randint(1, d) return total #CLASS FUNCTIONS def choose_class(self): print( """First, choose your character's class by entering the letter of your choice: WARRIORS MAGICIANS SPECIALISTS -------- --------- ----------- A) Amazon F) Elementalist K) Hunter B) Barbarian G) Lyrist L) Thief C) Centaur H) Nymph D) Noble I) Priest E) Spearman J) Sorceror """) while True: self.code = "" self.code = input("Your Choice [A-L]: ")[0].upper() if self.code in "ABCDEFGHIJKL": break match self.code: case "A": self.char_class = "Amazon" self.primary = Stat.SKILL self.secondary = Stat.GRACE case "B": self.char_class = "Barbarian" self.primary = Stat.MIGHT self.secondary = Stat.WILL case "C": self.char_class = "Centaur" self.primary = Stat.MIGHT self.secondary = Stat.SKILL case "D": self.char_class = "Noble" self.primary = Stat.LUCK self.secondary = Stat.OTHER case "E": self.char_class = "Spearman" self.primary = Stat.SKILL self.secondary = Stat.WILL case "F": self.char_class = "Elementalist" self.primary = Stat.WILL self.secondary = Stat.WITS case "G": self.char_class = "Lyrist" self.primary = Stat.GRACE self.secondary = Stat.LUCK case "H": self.char_class = "Nymph" self.primary = Stat.GRACE self.secondary = Stat.LUCK case "I": self.char_class = "Priest" self.primary = Stat.WILL self.secondary = Stat.LUCK case "J": self.char_class = "Sorceror" self.primary = Stat.WILL self.secondary = Stat.WITS case "K": self.char_class = "Hunter" self.primary = Stat.SKILL self.secondary = Stat.WITS case "L": self.char_class = "Thief" self.primary = Stat.WITS self.secondary = Stat.LUCK case _: # Default action if no other case matches print("ERROR") exit()
    • Darren HoylandD

      Fanuc macro B

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      72 Views
      PeterJonesP
      A GitHub user Poualedesmon just uploaded FANUC_KAREL_UDL to the collection. I don’t know if that was @darren-hoyland or someone else, but it’s now publicly available for download from the Collection, per the same instructions in the README as linked earlier.
    • Emmanuel PIERREE

      Ctrl not working in 8.9.6.4

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      98 Views
      CoisesC
      @Emmanuel-PIERRE said: Hello today I see that in 8.9.6.4 on win11 the Ctrl is not working, though in all others app this is fine. I have very few plugins in it (mime tools, npp converter, npp exports) so I guess this is not where it comes from. Shortcuts are fine. any idea ? If you mean that the Ctrl key with a letter that isn’t a shortcut isn’t inserting the traditional control character, see Settings | Preferences… | Editing 2 | Prevent control character (C0 code) from typing into document and be sure it is not checked. If you mean that Ctrl+drag on a selection is not working as it does in most Windows programs, that is a known peculiarity which can be resolved in either of two ways: Press the mouse button down first, then the Ctrl key. or Uncheck Settings | Preferences… | Editing 2 | Enable Multi-Editing (Ctrl+Mouse click/selection). If neither of those is your problem, you’ll have to be more specific.
    • Derrick HawkinsD

      How do I highlight text in alternate colors?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      83 Views
      CoisesC
      @PeterJones said: Columns++ plugin (though I don’t remember it having the header or full-column highlight, or just a gazillion other features which make column manipulation easier; the author @Coises can chime in at this point). There’s nothing in Columns++ for coloring text. The plugin is helpful if you want to do operations on data in visible columns (like right-justify the entries in a column, add the numbers in a column together, search/replace restricted to a column, do calculations to create a new column, sort on a column in situations that don’t work with Notepad++’s built-in sort) and/or to use elastic tab stops to make maintaining visible columns easier. It doesn’t do any coloring, though. Help is here if anyone wants to examine it to judge whether they might want to install Columns++.
    • AGoh2019A

      Print Quality TERRIBLE & Non very useful

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      6 Views
      PeterJonesP
      Need NotePad++ to improve its print quality quickly. Can’t see anything I enter into NotePad++. Printing works just fine for me. What do you mean by “Can’t see anything”. Does that mean it prints a white text on a white page? Or light gray text on a white page? Or black text on a black background? Or that it’s too small? Or that you’ve picked an ugly font? Or what? What are your Settings > Preferences > Print settings, especially in the Color Options radio buttons? Because if you have Notepad++ in Dark Mode and/or one of the many dark themes (where it has light text on a dark background), then if you ahve chosen ☑ No background color (which I think is the default), then it will use your theme’s light foreground color but not print any background color, which won’t give good contrast. If you have a dark theme, it’s usually best to choose ☑ Invert or ☑ Black on White if you’re printing to paper. (If you’re printing to PDF, that will never use any ink, then ☑ WYSIWYG 🛈 is probably what you want.) But as with any program, you need to pick your print options to match your desired output. NotePad++ is also not a very useful code editor as you have to set up compiler and linker settings to get it to work. Name one “code editor” where you don’t have to. Even Visual Studio Code, you have to do setup to get it integrated with your compiler/linker; and even the full-blown Visual Studio, the IDE made for coding, you have to install the compiler/linker/etc, and do all your library choices, etc, when you install it. You always have to set such things up to one extent or another; and for any Editor/IDE that doesn’t come bundled with the compiler/linker/interpreter that you care about, you’re definitely going to have to tell it where such things are. The extensions that can be downloaded don’t seem to have much functionality. Depends on what the functionality is that you want, and which extension (technically, “plugin”) you are talking about. Vague assertions are hard to discuss. I have also dumped Visual Studio (2026), told MS about it, and replaced it with the Eclipse Foundation IDE - with support for Web development, Java & Spring + UI, C/C++, Python, Golang and a legacy Haskell extension. Note that “IDE” is a lot more than “Code Editor”. You get what you choose. VS and Eclipse are full IDE. Notepad++ is meant as a “Code Editor”, but with the right plugins, can come pretty close to an IDE. @ekopalypse just recently announced his DAP client plugin, which gives access to the modern DAP interface for debugging environments, and it would very much surprise me if it didn’t work with your compiler/linker, if you’ve got anything modern. Maybe if you gave specifics, rather than general assertions, there could be a more meaningful discussion.
    • P

      Entering Katakana character into find dialog not working

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      8 Views
      PeterJonesP
      @perdrix52 , It works for me: [image: 1781706853432-2df53d4e-a553-473e-8d32-147c22eb6d7c-image.jpeg] [image: 1781706887521-43e468c4-e3db-4f30-819a-76dfd8e22e8f-image.jpeg] Sounds like a font issue and/or rendering-mode issue to me. What are your settings on Settings > Preferences > Searching (especially Use Monospaced font in Find dialog) and Settings > Preferences > MISC > rendering mode dropdown? And what encoding is your file that contains Japanese text?
    • Travis YoungT

      Formatting/Commenting Issue with YML files

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      79 Views
      PeterJonesP
      @Travis-Young , I cannot replicate your problem: [image: 1781542289284-yamlpaste.gif] When I paste that in, the YAML formats the comments correctly, as far as I can tell. Could you either give the original data, and where you paste it? And your ?-menu’s Debug Info?
    • Vitalii DovganV

      NppExec v0.8.11 has been released!

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      3
      5 Votes
      3 Posts
      385 Views
      Vitalii DovganV
      NppExec v0.8.12.1 has been released! Glory to Ukraine! Glory to the heroes! improved: now WarningAnalyzer automatically removes “” around a file path/name fixed: the Console Output Filters dialog did not clear WarningAnalyzer’s cache improved: now Highlight’s [I], [B], [U] have Italic, Bold and Underline style Get it here: https://github.com/d0vgan/nppexec/releases/tag/NppExec_v08121
    • Jairo FlorezJ

      v8.7 Search Results Missing

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      18
      0 Votes
      18 Posts
      6k Views
      henriknorenH
      @xomx thanks a bunch
    • h-jangraH

      NppVim 1.14.0.0 Release : Added nppvim.rc support

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      1
      1 Votes
      1 Posts
      46 Views
      No one has replied
    • PeterJonesP

      Announcing Perl-based automation of Notepad++

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development perl automation
      17
      6 Votes
      17 Posts
      6k Views
      PeterJonesP
      v0.012 released to CPAN Update for Notpead++ v8.5.4 - v8.9.6.4 Update Editor messages and enumerations (hashes) Update Notepad++ menu commands and messages Remove notepad->prompt() and the Win32::GUI dependency [#91] Please comment on Issue #92 if this call is important to you <https://github.com/pryrt/Win32-Mechanize-NotepadPlusPlus/issues/92> Improve test suite Get it working through Perl v5.42 Don’t test as many old versions (too much compute overhead) See CHANGES file for full history, including interveninng v0.009, v0.010, and v0.011 I don’t always post about new versions here (mostly because I get distracted and forget to). But I thought it was important on this one, because notepad->prompt() has been disabled in this version: if notepad->prompt() is important to you, please comment on https://github.com/pryrt/Win32-Mechanize-NotepadPlusPlus/issues/92 and stick with v0.011, which (until further notice) is the most recent version to include the notepad->prompt()
    • S

      Find & Replace & Mark re-organization proposal

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      20
      8
      0 Votes
      20 Posts
      692 Views
      S
      @PeterJones I have been having a crack at it. https://youtu.be/UaXvg9w0_O8 [image: 1781246396141-1349f7c1-791f-4298-b47d-df25824aaf10-image.jpeg] I think I can put … everything in it. If I don’t burn out. Absolutely everything, including what you call the “ridiculous proposal”. (Which mostly just adds a preset system for common searches) I have taken care not to use any API after GDI+. And it’s only alpha borders on icons that keep this from being simple win32 GDI.