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
    • Matt LongM

      New to Notepad++ and trying to convert 12 hour time to 24

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      0 Votes
      3 Posts
      294 Views
      guy038G
      Hi, @matt-long, @coises and All, Of course, the @coises’s plugin would be the best solution, being both flexible and powerful However, @matt-long, if you don’t want to install any new plugin, here is a solution with native N++ only ! Of course, I’ll use the part of file which ONLY needs changes. But, in your personal file, the trailing part of each line will stay unchanged ! So, let’s suppose an INPUT text, like below, pasted in a new tab : 09-Jan-26 00:00:00 AM, 13-Sep-21 02:00:59 AM, 13-Jul-24 04:57:29 AM, 19-Apr-20 07:42:50 AM, 01-Mar-26 09:12:43 AM, 29-Feb-24 11:08:51 AM, 25-Jul-23 11:59:59 AM, 09-Jan-19 12:00:00 AM, 01-May-26 00:00:00 PM, 08-Oct-25 02:54:31 PM, 17-Feb-22 03:29:35 PM, 23-Sep-18 06:37:06 PM, 03-Nov-20 08:55:44 PM, 31-Aug-26 10:38:00 PM, 31-Dec-20 11:59:59 PM, 01-May-26 12:00:00 PM, Open the Replace dialog Uncheck all box options FIND (?-si)^(0(\d)|\d\d)-(.+?)-(\d\d) (\d\d):(\d\d):\d\d (AM|PM)(?=,) REPLACE (?2\2:\1)/\3/(?{4}20\4) \5\7:\6 Check the Wrap around option Select the Regular expression search mode Click on the Replace All button => You should obtain the temporary OUTPUT text below : 9/Jan/2026 00AM:00, 13/Sep/2021 02AM:00, 13/Jul/2024 04AM:57, 19/Apr/2020 07AM:42, 1/Mar/2026 09AM:12, 29/Feb/2024 11AM:08, 25/Jul/2023 11AM:59, 9/Jan/2019 12AM:00, 1/May/2026 00PM:00, 8/Oct/2025 02PM:54, 17/Feb/2022 03PM:29, 23/Sep/2018 06PM:37, 3/Nov/2020 08PM:55, 31/Aug/2026 10PM:38, 31/Dec/2020 11PM:59, 1/May/2026 12PM:00, Now, APPEND at the very end of your file, all the lines below : #Jan 1 #Feb 2 #Mar 3 #Apr 4 #May 5 #Jun 6 #Jul 7 #Aug 8 #Sep 9 #Sept 9 #Oct 10 #Nov 11 #Dec 12 #00AM 00 #01AM 01 #02AM 02 #03AM 03 #04AM 04 #05AM 05 #06AM 06 #07AM 07 #08AM 08 #09AM 09 #10AM 10 #11AM 11 #12AM 12 #00PM 12 #01PM 13 #02PM 14 #03PM 15 #04PM 16 #05PM 17 #06PM 18 #07PM 19 #08PM 20 #09PM 21 #10PM 22 #11PM 23 #12PM 00 Thus, your INPUT text is now as below : 9/Jan/2026 00AM:00, 13/Sep/2021 02AM:00, 13/Jul/2024 04AM:57, 19/Apr/2020 07AM:42, 1/Mar/2026 09AM:12, 29/Feb/2024 11AM:08, 25/Jul/2023 11AM:59, 9/Jan/2019 12AM:00, 1/May/2026 00PM:00, 8/Oct/2025 02PM:54, 17/Feb/2022 03PM:29, 23/Sep/2018 06PM:37, 3/Nov/2020 08PM:55, 31/Aug/2026 10PM:38, 31/Dec/2020 11PM:59, 1/May/2026 12PM:00, #Jan 1 #Feb 2 #Mar 3 #Apr 4 #May 5 #Jun 6 #Jul 7 #Aug 8 #Sep 9 #Sept 9 #Oct 10 #Nov 11 #Dec 12 #00AM 00 #01AM 01 #02AM 02 #03AM 03 #04AM 04 #05AM 05 #06AM 06 #07AM 07 #08AM 08 #09AM 09 #10AM 10 #11AM 11 #12AM 12 #00PM 12 #01PM 13 #02PM 14 #03PM 15 #04PM 16 #05PM 17 #06PM 18 #07PM 19 #08PM 20 #09PM 21 #10PM 22 #11PM 23 #12PM 00 Open again the Replace dialog Uncheck all box options FIND (?-si)(?|(\u\l\l|Sept)|(\d\d(?:AM|PM)))(?=(?s).+^#\1 (\d+))|(?s)^#.+ REPLACE \2 Check the Wrap around option Select the Regular expression search mode Click on the Replace All button => You should get your expected OUTPUT text : 9/1/2026 00:00, 13/9/2021 02:00, 13/7/2024 04:57, 19/4/2020 07:42, 1/3/2026 09:12, 29/2/2024 11:08, 25/7/2023 11:59, 9/1/2019 12:00, 1/5/2026 12:00, 8/10/2025 14:54, 17/2/2022 15:29, 23/9/2018 18:37, 3/11/2020 20:55, 31/8/2026 22:38, 31/12/2020 23:59, 1/5/2026 00:00, Voila ! Best Regards, guy038
    • ModelsRUsM

      missing config.xml file?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      300 Views
      ModelsRUsM
      Thank you Peter. Makes perfect sense. Much appreciated!
    • ShobanskyS

      Feature request

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

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

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      405 Views
      donhoD
      @metaad Please try this one: https://github.com/donho/notepad-plus-plus/releases/tag/TEST
    • donhoD

      Notepad++ v8.9.4 Release Candidate

      Watching Ignoring Scheduled Pinned Locked Moved Announcements
      3
      4 Votes
      3 Posts
      3k Views
      schnurlosS
      @donho, thanks for your work. Just a small text issue in change.log: [image: 1776927252471-201ed2b9-32b0-4e6b-87e8-053029c2feca-grafik.png] versus [image: 1776927304555-cbe0c0b0-b7d2-4cf4-8aef-4fbb24ae565c-grafik.png]
    • mapsonxM

      Daily Reliability Monitor events

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      3
      1
      0 Votes
      3 Posts
      470 Views
      xomxX
      @PeterJones That “Stopped working” is a common overall expression there for the app crashes, hungs etc. So @mapsonx should open that “details” you mentioned or simply launch the Windows EventViewer, i.e.: press WinKey+R to invoke the Windows Run-dialog copy & paste there: eventvwr.msc /c:"Application" and click OK wait for the Event Viewer launching and attaching to OS logs search/filter there for “Error” Level records (or simply follow the ReliabilityMonitor published date/time of the N++ problem), with “notepad++.exe” within app crashes usually have as log Source “Application Error”, frozen apps “Application Hang” Then publish here what the content of such a record tell us, e.g.: Faulting application name: notepad++.exe, version: 8.9.3.0, time stamp: 0x69bc8a94 Faulting module name: USER32.dll, version: 10.0.19041.6926, time stamp: 0xcd1afcbd Exception code: 0xc0000005 Fault offset: 0x00000000000467cd Faulting process id: 0x296c Faulting application start time: 0x01dcce3ba0a16cb7 Faulting application path: ...\npp.8.9.3.portable.x64\notepad++.exe Faulting module path: C:\Windows\System32\USER32.dll
    • L

      Find dialog position

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · · find dialog
      3
      0 Votes
      3 Posts
      220 Views
      Alan KilbornA
      @Lars-Hesselberg said: the Find dialog seems to pop up where it left at last Find. This seems very reasonable to me. …sometimes a “Seek & find”! Shouldn’t be…it’s where you “left (it) at last Find”. Summary: Put it where you want it to appear always, and it will always appear in that same spot.
    • ThIsLinkedT

      Preview value color RGB, HEX, HSL.

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion preview color previewcolors
      21
      0 Votes
      21 Posts
      14k 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 [image: 1776539472904-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 [image: 1776539591564-aa370073-5db8-4431-b80e-7ffc21b3c61c-image.png]
    • arnaud deretteA

      nppgzipfileviewer - improvements request

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      106 Views
      PeterJonesP
      @arnaud-derette , I have never used that plugin. But when I went to their homepage (https://github.com/Pascal-Krenckel/NppGZipFileViewer), they say, “This plugin is deprecated, please switch to CompressedFileViewer.” Once an author deprecates a plugin, there won’t be support for requests. I have put in a request to ask that the author remove the deprecated plugin from the Plugins Admin list (and, if they want, to add the replacement plugin into the list). But you should try their replacement plugin. And if it doesn’t improve your experience, you can go to the CompressedFileViewer’s issue tracker (https://github.com/Pascal-Krenckel/CompressedFileViewer/issues), and make your request(s) there.
    • RWieber79R

      NotePad++ crashes using compare plus immediately after clicking compare

      Watching Ignoring Scheduled Pinned Locked Moved Notepad++ & Plugin Development
      2
      0 Votes
      2 Posts
      144 Views
      PeterJonesP
      @RWieber79 , I had been hoping the plugin’s author, @pnedev, would have responded by now. I might suggest trying without the XMLTools plugin, to see if it’s a strange plugin interaction. Or if you could give some clues as to whether there’s something unique about these XML: are they very similar files, with only a few lines different? Or are they highly different, with only a few lines of similarities? Big files, or small? Which ComparePlus options are enabled (do a screenshot showinng the entire ComparePlus sub-menu, so we can see all the checkmarks). (ComparePlus has never crashed on me, so I’m just giving some generic debugging suggestions. If anyone else has ideas, feel free to chime in.)
    • baberzamanB

      Notepad ++ Should have intellisense plugin Like VS Code.

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      2
      0 Votes
      2 Posts
      66 Views
      EkopalypseE
      @baberzaman you might want to check out Kereds or my LSP client for Notepad++.
    • guy038G

      Is a filename legal?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1 Votes
      2 Posts
      109 Views
      guy038G
      Hi, All, I did additional tests, especially regarding characters allowed with or without quotes ! Although practically any character can be put within a file name when using the rename option of the Explorer, it happens that, under DOS, it is safer to surround the filename with double quotes when you insert most of the allowed symboles So, here is an updated version of my information part : Syntaxes / Chars ALWAYS forbidden : \x00-\x1F " * / : < > ? \ | \x7F : . at the END of file name : SPACE at the END of file name : ALL DOTS file name : PRN AUX NUL : COM1 COM2 com3 COM4 COM5 COM6 COM7 COM8 COM9 COM¹ COM² COM³ : com1 com2 com3 com4 com5 com6 com7 com8 com9 com¹ com² com³ : LPT1 LPT2 LPT3 LPT4 LPT5 lpt6 LPT7 LPT8 LPT9 LPT¹ LPT² LPT³ : lpt1 lpt2 lpt3 lpt4 lpt5 lpt6 lpt7 lpt8 lpt9 lpt¹ lpt² lpt³ Chars allowed WITHIN double quotes : ! % & ' ( ) + , ; = [ ] ^ ` { } ~ : SPACE when at BEGINNING of file name Chars allowed WITHOUT double quotes : # $ - @ _ : . if NOT at END of file name : SPACE if NOT at BEGINNING or END of file name You’ll note that my regex, described in my previous post, allows most of the symbols, even without quotes, as they, generally, can be inserted when using the Explorer ! BR guy038
    • Sweet ManS

      Windows content is blank on remote notepad++ sessions

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      19
      0 Votes
      19 Posts
      9k Views
      xomxX
      [image: 1777628352084-npp-working-rendering-modes-for-rdp.png]
    • minig0dM

      Incorporating Prettier and/or js-beautify

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      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.
    • I

      About ( Ctrl + F ) ...

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      1
      -2 Votes
      2 Posts
      261 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?
    • B

      8.9.4 installation shows error for AppX call

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      203 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
    • Rex TheodoreR

      Any NPP plugins available to format programming languages such as TCL and C++

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      267 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.
    • 周学习周

      傻逼软件,傻逼作者,傻逼呆湾人

      Watching Ignoring Scheduled Pinned Locked Moved Boycott Notepad++
      6
      -1 Votes
      6 Posts
      2k Views
      Lycan ThropeL
      @Fii-Ert said in 傻逼软件,傻逼作者,傻逼呆湾人: 美国干涉台湾,又怎么说? 台湾的绿圾执政党,自甘堕落化为纳粹,由不得别人不干涉! 347 你这种逻辑,正是共产主义灌输教育的典型特征——试图将共产主义的侵略行径粉饰为某种“好事”,而事实绝非如此。这本质上不过是一种混淆视听的企图。你将美国的援助视为“干涉”,这纯粹是你基于自身偏见所构建的一种妄想式解读,而非客观现实。中国必须远离台湾,这一点毫无商量余地。
    • H

      The Column count of Zenkaku chr. is 1?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      2
      0 Votes
      2 Posts
      150 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.
    • William FieldsW

      Curse of the Curly Quotes

      Watching Ignoring Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
      2
      0 Votes
      2 Posts
      180 Views
      PeterJonesP
      @William-Fields said in Curse of the Curly Quotes: When pasting code into NP++ from another source, no matter what I do, if the source has curly quotes, the pasted content has curly quotes. Right. That’s because the curly quote characters have different codepoints from ASCII quotemarks. It’s doing the right thing. If you want to convert, then use a regular expression: FIND = [“”] REPLACE = " SEARCH MODE = Regular Expression REPLACE ALL change all curly quotes to straight quotes when opening documents or pasting content There’s no such command or option in Notepad++, because that would be Notepad++ changing characters from one codepoint to another without user interaction, which is the antithesis of text editing https://community.notepad-plus-plus.org/post/102348 The Direct Write ligature-effects from the post you showed is just the fonts changing the appearance of characters based on font ligature rules, but the underlying characters that Notepad++ is presenting are the exact same characters as found on disk. On the other hand, the curly quotes that you are copying and pasting are different characters from the ASCII quote.