• How to easily manage IPA symbols...

    7
    2 Votes
    7 Posts
    202 Views
    Alan KilbornA

    @mkupper said:

    …so pours a glass of wine while chatting about IPA…

    @guy038 has always been really good at answering the question that wasn’t asked. It’s not a bad thing, as usually an increase in general knowledge results. :-)

  • ERROR OF SAVING SESSION XML FILE, when closing program

    9
    0 Votes
    9 Posts
    2k Views
    Altair ManuelA

    i fixed it!!! I just made the notpad++ folder be able to be manipulated, and session.xml too!!! :D yay!

  • Auto-Indent - Basic not always works as expected

    7
    0 Votes
    7 Posts
    261 Views
    C

    @Coises, after @PeterJones mentioned your posts and your issues, I read discussions and your explanations. First I’m impressed with how many details you have in mind and this and other questions are very important. Also I noticed that while many agree with your observations, there are not so many who are frustrated by this as much as you are. Maybe I’m in your camp here, at least partially :)

    My two cents are related to the fact that my previous activities were heavily influenced by Borland-originated editors (for example, in Delphi) where Virtual Space (now in npp too) was always on by default (I’m not even sure whether it is possible to switch it off). Lazarus IDE editor is very similar since Lazarus/FreePascal was inspired by Delphi/Turbo Pascal). Amongst other things this mode basically treats trailing space as virtual space. I just made a test when I forced multiple spaces after some last non-space character and tested End (SCI_LINEENDWRAP) operation. In Delphi/Lazarus the caret goes after the last non-space symbol so if there are no added spaces at all. The selection with keys also mostly ignores these new spaces, I could not select it with any ctrl/shift arrows operation. In npp End (SCI_LINEENDWRAP) jumps to the end of the new space so it is obviously kept intact. With selection in npp it’s mixed. Shift-arrows act like virtual space is everywhere, but Ctrl-Shift-arrows (SCI_WORDRIGHTENDEXTEND) “feels” this new space. Anyway, I’d suggest that when Enable Virtual Space is on, trailing spaces might be treated with some relaxed rules, but I’m not sure npp is ready to implicitly get rid of spaces without the user asking for it.

    As for non-Virtual Spaces mode that is I suppose used mostly by npp users, maybe the difference in perception is what the Auto-Indent is doing. Actually I’m curious if anyone cares about trailing spaces at all (except when thinking about avoiding unnecessary bytes saved or implicit aesthetic reasons). The mere existence of “Trim trailing spaces and save” command probably partly answers this for many existing users, but I’m not sure about all.

    Also interesting difference between Delphi editor and npp when the caret has some space after it and also meaningful text after the space. In the former after I press Enter the editor keeps the spaces and the text, but places the caret right below the character on the previous line so I have this space at the caret. In npp the caret goes to the start of the line and the meaningful text aligns to the line above.

    The images below illustrates this

    This is the state before I press enter in Delphi
    Delphi_beforeEnter.png
    … this is after
    Delphi_afterEnter.png

    This is before I press enter in npp
    npp_beforeEnter.png

    This is after
    npp_afterEnter.png

    I don’t know what kind is better, I’m more used to how Delphi handles it.

  • Turn on cursor beyond EOL + Remove unnecessary spaces when saving

    9
    0 Votes
    9 Posts
    6k Views
    PeterJonesP

    @Codereamp said in Turn on cursor beyond EOL + Remove unnecessary spaces when saving:

    In the docs section Editing 1 the link inside “… feature in Editing > Virtual Space…” is broken an leads to a non-existing page. Maybe the page explaining the feature is yet not ready, so just in case

    Just a typo in the href. Fixed.

  • PowerShell syntax highlighting

    7
    1 Votes
    7 Posts
    14k Views
    PeterJonesP

    @Netweezurd said in PowerShell syntax highlighting:

    We’re in 2025, after dozens of updates and I still no highlights in PS files apart from the few listed in the OP.

    The Notepad++ developer only updates the stylers.model.xml and themes\DarkModeDefault.xml – he expects volunteers from the userbase to submit updates to the other themes. That’s the way it was in 2018, and that’s the way it is in 2025. When I have added languages to the Notepad++ codebase, I’ve made dummy entries in all the themes, but that’s only been a handful of the dozens of languages that have been added over time since the various themes were submitted.

    If you are willing to use the PythonScript plugin, I have a script for that plugin which will add all the missing languages to all your themes (grabbing the default colors from the theme for any new languages or new styles in an existing language – so it won’t look highlighted, but it won’t look bad); see Config Files Need Updating, Too for full details.

    No PS highlights in VIM Dark Blue.

    Indeed. As that’s not the stylers.model.xml nor themes\DarkModeDefault.xml, it’s unsurprising that it’s not updated.

    The colors were all shot up but they can be easily adjusted in the Style Configurator:

    Now that you’ve got a good set of colors for PS in the vim Dark Blue theme, you should consider submitting your update to the main repo, so that it will be bundled with future versions of Notepad++.

  • Horizontal scrollbar not resizing properly

    11
    1 Votes
    11 Posts
    334 Views
    mpheathM

    @guy038 Good test.

    The image shows Col: 325 so width of 2500 seems undersized for the OP. If this type of data in the image is regular then probably suggest 4000 though no less than 3500. Too small of a number could cause constant scrollbar jitter when switching tabs as it decreases and increases width.

  • Auto scroll to bottom when turning on fail -f

    7
    0 Votes
    7 Posts
    318 Views
    Craig SilverC

    @PeterJones Apologies for the late response. I don’t normally check the email associated with this account.

    You’re right! I don’t know why I didn’t notice. This behaviour is more than sufficient for me. Thank you.

    @mathlete2 Thank you for your suggestions just the same.

  • For information : "Automatic" update from v8.7.6 may eventually fail

    5
    0 Votes
    5 Posts
    483 Views
    Jhon DavidJ

    This issue appears to stem from how Notepad++'s GUP (Get Update Package) process accesses web resources, rather than a specific version problem. It mirrors a previous issue where the webhost or content delivery network (CDN) intercepted the GUP process. Previously, this interception was due to a CAPTCHA, but now it seems to involve a JavaScript-based verification. In both cases, the GUP process is flagged as an “invalid” access by the host or CDN. Essentially, the host or CDN’s security measures are preventing Notepad++ from successfully retrieving update information.

  • Running Notepad++ from a bat file

    4
    0 Votes
    4 Posts
    217 Views
    Alan KilbornA

    I just want to add a note here, that if someone wants to use the method Peter has suggested to run a search-and-replace macro, that macro would not be “general purpose”.

    That is, you cannot, say, pass search strings or replacement strings in this way, because macros, when made and saved, have their search string, replace string, directory (if “in files”), and other options all “hard-coded”.

    I say this because this is the kind of thing people would want to do.

    The above doesn’t sound like a problem for @Kelly-A , who needs an operation that is by its nature NOT parameterized.

    You can, of course, write script code to do any search/replacement you’d like, but that requires greater programming skills, which not everyone has, or wants to invest the time into.

  • Feature request: Ctrl+Tab or Ctrl+H should work in Find dialog

    3
    0 Votes
    3 Posts
    2k Views
    Alan KilbornA

    @VarunAgw

    I think that with the current version of Notepad++ available as of today’s date, you’ll find that Ctrl+h will work when you are on the Find tab, to take you to the Replace tab.

  • Suggestion: Pin or favorite languages in the language menu?

    7
    0 Votes
    7 Posts
    240 Views
    mkupperM

    @pixelstuff said in Suggestion: Pin or favorite languages in the language menu?:

    I find it somewhat tedious to keep scrolling down to the bottom of that menu to constantly get to XML, PHP, SQL, etc.

    I use the keyboard to switch languages.

    XML is Alt+L+X. PHP is Alt+L and while continuing to hold the Alt key down P+P+P then Enter. SQL is Alt+L and then S. As SQL is a ways down the list I tend to use the down arrow key rather than tapping S until I get to SQL.
  • How to add Translate plugin in NotePad++?

    2
    0 Votes
    2 Posts
    342 Views
    PeterJonesP

    I’m using Notepad++ SING 2020 and it’s a really amazing software for all types of tasks.

    Never heard of that. Is “SING 2020” a plugin for Notepad++, or something else? What does it have to do with Notepad++?

    I need help with translation because my work needs to be around global clients and projects.

    There used to be a plugin called the “Translate Plugin” for Notepad++, which helped for translating the text in your document to a different language; it’s not supported by its developer anymore, though someone made a fork of it at https://github.com/databird/npptranslate64/releases – I don’t know if @databird is going to continue to support that fork or not, but that’s got a reasonable chance of being installable and being able to help you with your translation. (This discussion explains some of the difficulties with the original version, and mentions the new 64-bit release.)

    I want to know if Notepad++ supports multilingual language. It will be very helpful for me.

    Notepad++ “supports” multiple languages, in that the core application doesn’t care what language the text is written in, as long as you are using an encoding that supports all the characters you need – and if you’re using UTF-8 or UTF-16, then the encoding supports all Unicode codepoints, so that should be sufficient. :-)

    And Notepad++ “supports” multiple languages, in that you can use the Settings > Preferences > General > Localization feature to change what language is used for the GUI (menu names, etc). Though you can have only one active Localization at a time.

    But natively (ie, without plugins), Notepad++ does not have any facility to do translation of text. For that, you could use a plugin, like the npptranslate64 I linked to above. (There have also been some simple scripts written for the scripting plugins and shared in the forum at various times, but they are for simple lists of fixed input-phrase-to-output-phrase mapping, and should not be considered general-purpose translators.)

  • Cannot open files by right click

    4
    0 Votes
    4 Posts
    198 Views
    T

    @PeterJones, thanks for input, the most difficult task is to explain the issues to someone else!

    Thanks a lot, just needed an eyeopener! Hope it will help someone else with issues!

    Let´s try again.

    I click on download symbol in Edge, a list drop down I click on my file and it opens in file explorer If I right click and choose “show more options” I get the “Edit with Notepad ++” selection and if I use it the file opens.
    Success, I can use this option!

    Second scenario

    I click on download symbol in Edge, a list drop down I right click on my file and choose “open file” then it open in File explorer I choose “open with” new window opens and I try to use NP++ it don´t work.

    “When you say that choosing Notepad++ as the default program”
    I have chosen NP++ as default app in windows apps settings for .txt files.

    Notepad++ v8.7.4 (64-bit)
    Build time : Dec 4 2024 - 23:50:05
    Path : C:\Program Files\Notepad++\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    Periodic Backup : ON
    Placeholders : OFF
    DirectWrite : OFF
    Multi-instance Mode : monoInst
    File Status Auto-Detection : cdEnabledNew (for current file/tab only)
    Dark Mode : OFF
    OS Name : Windows 11 Enterprise (64-bit)
    OS Version : 23H2
    OS Build : 22631.4890
    Current ANSI codepage : 1252
    Plugins :
    AutoSave (2)
    CodeAlignmentNpp (14.1.107)
    ComparePlugin (2.0.2)
    DSpellCheck (1.5)
    HexEditor (0.9.12)
    JsonTools (5.6)
    mimeTools (3)
    NppConverter (4.5)
    NppExec (0.8.4)
    NppExport (0.4)
    NppFTP (0.29.12)
    PlantUmlViewer (1.8.0.12)
    XMLTools (3.1.1.13)

    Thanks a lot, just needed an eyeopener! Hope it will help someone else with issues!

  • 0 Votes
    4 Posts
    193 Views
    EkopalypseE

    @elecherf said in Bug 8.7.8: notepad is freezing with high cpu usage when sliding down the main split bar towards the bottom:

    For now, what I’ve understood is that EnhanceAnyLexer is not compatible with np++ 8.7.8

    EnhanceAnyLexer does not use any of the new features/improvements introduced by Npp recently.
    I have tested with BookmarksDook installed and can confirm that I see the same behavior, but further testing has shown that this also happens when BookmarksDook is the only plugin, besides the default plugins.

  • Story on XDA-Developers about Notepad++

    1
    8 Votes
    1 Posts
    126 Views
    No one has replied
  • UserListGotoLine to goto lines of interest

    8
    5 Votes
    8 Posts
    308 Views
    mpheathM

    Added marks item to list lines with find, incremental, smart, token 1, token 2, token 3, token 4 or token 5 marks.

    The marks item and the change history item will open a 2nd user list so the main user list can show less items.

  • How can you copy or move 2 or more files at once into any folder?

    15
    0 Votes
    15 Posts
    624 Views
    CletosC

    If your goal is to just copy/move all the opened files to a specific directory,

    Yes, exactly, that’s it. But Coise’s method is essentially exactly what I wanted (just with a few extra steps, which isn’t a problem). And combined with Coise’s idea of using sessions (as a backup, for example, if the folder path is temporarily unavailable for Notepad, it now seems impossible to determine/find and reopen only the files that were open without using sessions), what I wanted has essentially been achieved.

    Thank you very much!

  • What's up with style settings being reset?

    14
    0 Votes
    14 Posts
    2k Views
    Tom BatesT

    Just updated to 8.7.7 and my theme was changed to the default. But it’s an easy fix.

    Settings->Style Configurator->Select theme-><your-theme>
    [Save&Close]

    I didn’t even need to run as administrator to have it stick.

  • Compare two txt files

    5
    0 Votes
    5 Posts
    187 Views
    CoisesC

    @Rockberto-Manenti said in Compare two txt files:

    Each of the two files has each line with the name of the artist and the title of the album.
    Now I would like to compare the two txt files in order to highlight on the second file all the lines that are NOT present in the first file in order to understand if the albums are already cataloged or not.

    For this problem, I would use the find and replace facility with regular expressions. This is going to look like a lot of steps, but it’s not as complicated as it sounds when you see it in action.

    First, open the file with the catalog. To ensure you don’t accidentally mess it up, I recommend immediately using File | Save As… to save it under a new name.

    Select Search | Replace… from the menu, fill in this:

    Find what: $
    Replace with: \tCatalog
    Wrap around: checked
    Search Mode: Regular expression

    and click Replace All.

    You’ll see that adds a tab and the word Catalog to the end of each line. You can close the dialog for now.

    Now, without closing this file, open the file that has your current list. (It will open in another tab.) From the main menu, select Edit | Select All and after that, select Edit | Copy. Now select File | Close and you’ll be back to the file with the “Catalog” tags.

    Scroll to the end of the file by pressing Ctrl+End on your keyboard. You will either be at the end of the last line of text or at the beginning of an empty line. If you are at the end of a line of text, press the Enter key so you are at the beginning of an empty line.

    Now, select Edit | Paste. That will copy the other file at the end of this file.

    Now select Edit | Line Operations | Sort Lines Lexicographically Ascending.

    That will put pairs of lines from the two files together. Now all that remains is to remove matched pairs, which you can do with another regular expression. Open Search | Replace… again, but this time, enter:

    Find what: (?i-s)^(.*)\R\1\tCatalog(\R|\z)
    Replace with: (empty — not even a blank)

    Leave the other settings as they were the last time and click Replace All.

    You’ll be left with a list of lines that were in the current list but not in the catalog list. If any lines were in the catalog list but not the current list, they’ll have a tab and the word “Catalog” at the end.

  • 0 Votes
    3 Posts
    102 Views
    PeterJonesP

    @Raymond-Timothy-Adanu ,

    Given each color is only applied to a single word, instead of a fancy pattern, your screenshot can be essentially accomplished using the existing Style All Occurrences feature, without requiring a feature request.