• FORUM: Posting Queue

    Pinned
    10
    12 Votes
    10 Posts
    10k Views
    Ivy_PearsonI

    Thanks for the update, Peter. Totally understand the need for a posting queue—spam is getting tricky these days. Hopefully, it won’t take long to get posts approved once you earn reputation!

  • Please Read This Before Posting

    Pinned Locked
    1
    4 Votes
    1 Posts
    10k Views
    No one has replied
  • missing config.xml file?

    2
    0 Votes
    2 Posts
    34 Views
    PeterJonesP

    @ModelsRUs said in missing config.xml file?:

    I thought it was very strange there was no config.xml in the zip file. Was this intentional?

    Portable users often complained that unzipping the new portable overtop the existing portable directory would then overwrite their config.xml with all their settings, so they would lose their settings. By not including a config.xml in the zipfile (which isn’t needed, anyway), unzipping the portable no longer deletes their existing settings, and this is deemed A Very Good Thing.

    Previous updates always included config.xml in the zip file which I compare with the installed version to see if anything needs to be cherry-picked.

    Notepad++ always has the full template for config.xml compiled into the source code, and if any element of config.xml is missing, it will automatically populate it once N++ tries to write the config file (upon exit). So you’ll never be “missing” anything in the GUI preferences dialog.

    But you’re right, you might not notice that a new setting was added. The change.log will sometimes explicitly mention new preference-dialog settings; and, even if it doesn’t, the User Manual tries to update the Preferences documentation, usually sometime between the Release Candidate announcement and the official release of the new version – and almost always before a version has been triggered for auto-update. (There weren’t any new preferences in v8.9.4, but there was one in v8.9.3, and you can find it by “find in page” for 8.9.3 in your browser on that page.)

  • Hopefully Notepad++ can display correctly ...

    6
    -3 Votes
    6 Posts
    253 Views
    CoisesC

    @Samir-Sumantlal-Shah said in Hopefully Notepad++ can display correctly ...:

    GujaratiMT

    Searching suggests that “Gujarati MT” is a Apple system font that is not available elsewhere.

    Are you by any chance using the new MacOS port of Notepad++? That port is not maintained or endorsed by the creator of Notepad++. You would have to raise issues with it in its own repository. We’re not going have a clue here.

  • New feature: Allow additional line on each search results

    5
    0 Votes
    5 Posts
    194 Views
    CoisesC

    @Alan-Kilborn said in New feature: Allow additional line on each search results:

    @Coises

    I can’t tell if you’ve considered this, but one way to do it would be in conjunction with hiding lines. You could hide lines that don’t meet the criterion of -M through +N, where M would be a user-chosen number of lines before the hit, and N a user-selected count of lines after the search match.

    At first thought, I believe that would be significantly easier to implement than doing it in the search results window. As a plus, it (or a close approximation) could even be available after the search with something like an “expand visible blocks” command.

    The downside is that Show commands only work on the current document; you can’t show in all open documents (and it wouldn’t even make sense for find in files, whenever I finally get that done). At present, my use of hidden lines (using Scintilla’s function directly) and Notepad++’s way of doing it (keeping its own internal table, inaccessible to plugins, of what ranges are hidden) are at odds with one another, which causes any changes my plugin has made to hidden lines to be lost when any other tab is switched into the view. Thus far, I have not been able to devise any solution to this.

  • Feature request

    3
    0 Votes
    3 Posts
    92 Views
    PeterJonesP

    @Shobansky ,

    See my longer answer to you here.

    I’m not sure why you started a new Topic when you were already participating in a Topic about exactly the same thing, and when there was a Topic created 5 days ago that was essentially the same thing. (Also, naming a Topic “feature request” is not helpful to people looking through the titles of the recent posts, because it tells them nothing about the contents of said feature request. Titles should be meaningful if you want meaningful discussion.)

    Also, since I’m not sure you’ve seen it, our new feature FAQ explains that, while we can talk about ideas all we want in this Community of Notepad++ users, it isn’t an official Feature Request until you follow the instructions in that FAQ to post the Feature Request to the official Issues tracker for the project.

  • Incorporating Prettier and/or js-beautify

    3
    0 Votes
    3 Posts
    1k Views
    PeterJonesP

    @Shobansky ,

    A few months after the original post was made, this FAQ was created, which explains how to use pork2sausage plugin (or the run menu, or the NppExec plugin) to transform text. And since things like Prettier or js-beautify exist, it makes more sense to pass formatting to an external utility that’s customized for a specific programming language, to make users of that programming language happy – rather than relying on limiting the formatting to whatever rules that one developer adds to the editor. (Given the arguments people have over the auto-indentation, and how the developer hasn’t been able to keep everyone happy even on that “simple” aspect of formatting, trying to get a generic formatter to the point that everyone is happy is virtually impossible.)

    I don’t understand why it doesn’t have some formatting capability like other editors…

    Every editor has strengths that it focuses its feature development on. Notepad++'s strengths are in the ease and availablilty of plugins and running external applications… so plugins specific to the language (like HTML Tidy) or plugins that launch external programs (like pork2sausage) are the way that Notepad++ made it easy to get formatting customized the way you want it, rather than restricting you to the ability of the N++ developer to support and implement.

    And the developer’s philosophy is that, unless it’s something that he wants to put his own stamp on, if it’s already been implemented well in a plugin or can be easily run through the run-menu/pork2sausage/nppexec, then he doesn’t want to waste his effort on doing something mediocre built-in when something good-to-great already exists. As someone with a full time job completely unrelated to Notepad++, he wants to focus his limited development time to things that he likes, he wants, or that he can add value to.

    Moreover, in the modern realm, things are moving toward LSP-based solutions – so if the languages you program in have LSP servers available, then (as was mentioned in this very similar question a few days ago) you can use one of the LSP plugins (the plugin by Kered or @Ekopalypse’s LSP client plugin) – so if your language’s LSP server has the code formatting feature, the LSP plugin you choose should be able to activate that.

  • About ( Ctrl + F ) ...

    2
    -2 Votes
    2 Posts
    94 Views
    PeterJonesP

    @ioc2e3 ,

    This is a copy of your GitHub issue. But I don’t think anyone has any clue what you actually want or are asking about.

    Could you please clarify what you’re asking about? Is it something that only happens if you use that specific localization, or does it happen in English as well?

  • Notepad++ 8.9.4 (x86)EXE Upgrade Leaves Duplicate ARP Entry

    Moved
    3
    0 Votes
    3 Posts
    273 Views
  • 8.9.4 installation shows error for AppX call

    2
    0 Votes
    2 Posts
    155 Views
    xomxX

    @Bodenseematze said in 8.9.4 installation shows error for AppX call:

    I don’t know the exact message

    Probably(?) the same as in the https://community.notepad-plus-plus.org/post/105358

  • Very small problem

    5
    0 Votes
    5 Posts
    172 Views
    U

    @Uwo222777
    Of course, the program itself should return the encoding to its original form, but… it doesn’t do this.

  • Enhancement of the COLUMN EDITOR feature

    5
    0 Votes
    5 Posts
    267 Views
    guy038G

    Hi, @alan-kilborn and All,

    Of course, I could use your method to achieve my goal but that is just the reason why I wanted this enhancement which should avoid any further operation !!

    BTW, this idea occured to me while I was writing this other post :

    https://community.notepad-plus-plus.org/topic/27511/surprising-regular-expression

    In the meanwhile, I’ve found out a nice work-around to realize that goal ! Let’s imagine that you want to do a list of 743 empty lines exactly ( I chose that number as it’s a prime number ). Then :

    Open a new tab Within N++

    Hit the Enter key just once

    Open the Replace dialog ( Ctrl + H )

    Uncheck all box options

    Check the Wrap around option ONLY

    Select the Regular expression search mode

    FIND \R

    REPLACE $0$0

    Click 10 times on the Replace All button

    => You should get a total of 1,025 lines ( Note that, after each replacement N, the number of lines increases to the value 2 × N + 1 )

    The trick is to repeat the process up to the first number which is greater than 743 !

    Now, open the Search > Go to... option ( Ctrl + G )

    Search for the line 744 ( so 743 + 1 )

    Then, select to the very end of file with the Ctrl + Shift + End shortcut

    And finally, hit the Delete key

    => It should remain the expected 743 lines !

    I readily admit that all the different tasks of my work-around do not take long. However, I still think that a new field Total insertion number, in the Column Editor dialog, filled with the value 743, would have been more elegant and straightforward !

    Best Regards,

    guy038

  • 0 Votes
    2 Posts
    180 Views
    EkopalypseE

    @Rex-Theodore
    You can always use the Run menu to call up the formatters with the current buffer.
    However, since you mentioned that you use Python, you can use the PythonScript plugin and
    trigger an action whenever you receive a NOTIFICATION.FILESAVED.
    If you want more features, you might want to check out Kereds or my LSP client for Notepad++.
    However, this means that the languages you use must have an LSP server.

  • Cannot open text files in Adminitrative mode from network shares in Win11

    7
    0 Votes
    7 Posts
    391 Views
    xomxX

    @Olyfant22

    There really are substantial differences in between the Win10 & Win11 in this area. I know about 2: SMB signing enforcement in 24H2+ and stricter token isolation (the later one should be solvable by that mentioned “EnableLinkedConnections”)

  • The Column count of Zenkaku chr. is 1?

    2
    0 Votes
    2 Posts
    121 Views
    CoisesC

    @Hiroki-H1974 said in The Column count of Zenkaku chr. is 1?:

    So, the position is not the same even if Col: count is same because the line contains some Zenkaku chrs.

    I don’t know Japanese; please forgive me if I’ve missed the point in some way.

    The column (“col:”) in the status bar is just a count of characters from the beginning of the line, starting at one. (That’s not even always what you might expect; combining characters that form a single visible character are still counted separately.)

    Aside from a few things like cursor positioning, line wrapping and selection with the mouse, Notepad++ (like the Scintilla control it uses for editing) doesn’t concern itself with the physical space occupied by characters. In English, we can use a proportional font, and a line of twelve characters will show the next “column” as 13, whether they are IIIIIIIIIIII or WWWWWWWWWWWW.

    So (though I haven’t attempted to test it), regardless of font, I would expect that there would be no recognition of the difference between half-width and full-width characters.

  • Virtual Key Codes Update

    4
    1 Votes
    4 Posts
    287 Views
    pbarneyP

    @PeterJones Thanks for the quick update to the manual! Maintaining technical documentation across versions is a major undertaking when there’s an integrated development team within major corporations; I can’t imagine how herculean that job must be when you’re not side-by-side with a lone developer, so thank you for the excellent work on it. I really do appreciate your speedy response and update.

    I tried to post the second part of my list yesterday, but I was delayed by the “time between posts” counter, and unfortunately had to leave before it reset.

    However, you might want to double check your list against the FAQ, to let us know if the FAQ is missing any.

    I’ll go ahead and do that. Thanks again!

  • Terminal window in a N++ tab

    8
    0 Votes
    8 Posts
    528 Views
    PeterJonesP

    @arnaud-derette said in Terminal window in a N++ tab:

    i think i get it : It does not handle correctly 4K screen.

    That does not surprise me. Notepad++ is still not great for high-DPI environments, and it’s been taking a long time to finish some of the last-remaining high-DPI issues. And if the main app, with lots of contributors, still has issues, then it should come as no surprise that the plugins, which usually only have one developer (if they remain interested), whose skillset usually focuses on the feature that their plugin implements, rather than on the generics of all the edge cases of modern win32 coding. (At least, I know that’s true for me on my plugin(s).)

    I don’t have a High-DPI environment, so I don’t know and can’t test for you, but maybe the NppExec plugin handles high-DPI better than NppConsole does (whether the original, or the intermediate fork)

  • Preview value color RGB, HEX, HSL.

    21
    0 Votes
    21 Posts
    13k Views
    PeterJonesP

    @tauniaxd ,

    I have added the ability to do rgba(0,127,127,0.05)-type colors to the on-demand script at
    https://github.com/pryrt/nppStuff/blob/main/pythonScripts/nppCommunity/21xxx/21044-ColorizeHtmlCssColors.py

    1e6ece19-b4de-4475-b379-0649d96b2d4f-image.png

    If you prefer full underline, then change lines 24 and 26 of the script to use INDICATORSTYLE.PLAIN instead of INDICATORSTYLE.DASH

    aa370073-5db8-4431-b80e-7ffc21b3c61c-image.png

  • 0 Votes
    2 Posts
    127 Views
  • View only searched lines

    4
    0 Votes
    4 Posts
    269 Views
    CoisesC

    @Giuseppe-Aiosa-0 said in View only searched lines:

    is there any function or existing plugin to view/extract only those line which match the tezt search?

    If you like to experiment, I am working on a plugin for search which includes a Show command that hides all lines and then shows just the ones with matches.

    It’s still a work in progress, but everyone is welcome to try it and offer bug reports, suggestions and complaints. See this thread for ongoing discussion; go here to find the latest version.