• Is there an easy way to find and open a file in the current workspace?

    2
    0 Votes
    2 Posts
    120 Views
    Terry RT

    @Real-Cat

    There is another post similar in request to yours which might help.

    See this post.

    Terry

  • Does not save the settings: NotePad++ 8.7.8 Portable

    14
    0 Votes
    14 Posts
    329 Views
    PeterJonesP

    @Maxim-Fox ,

    config.xml for the settings, and stylers.xml for the default theme (other themes are in the themes subdirectory, and should be obvious based on which theme you use)

    see User Manual > Config Files
    https://npp-user-manual.org/docs/config-files/
  • deleting duplicate names this Coordination

    10
    0 Votes
    10 Posts
    202 Views
    guy038G

    Hello, @sabry-farg, @thomas-knoefel, @terry-r, @lycan-thrope and All,

    Oh…, @lycan-thrope, you’re perfectly right about it ! It’s a typo !

    So, @sabry-farg, I apologize for my mistabke !

    The correct regex is, indeed :

    FIND \|

    REPLACE \r\n

    BR

    guy038

  • Focus is on the menu (and not text area) after NP++ activation

    6
    0 Votes
    6 Posts
    168 Views
    fml2F

    The behaviour of the Alt key is weird and varies in different applications. I did the following experiments.

    Basic setup: Have some programs open so that they are displayed in the task bar

    Go to an application, i.e. have it as the “active” one Press the Alt key Point with the mouse to another application in the task bar and click. The application becomes the active one. Release the Alt key

    What I see is:

    If the target app is Mozilla Firefox or Thunderbird or VLC, the menu is reliably activated upon releasing Alt. If the target app is MS Excel, menu is never activated. Excel activates the menu (displays shortcuts) a second after pressing Alt, i.e. not upon releasing it. If the target app is NP++ or LibreOffice the behaviour after releasing Alt is unpredictable. Sometimes the menu is activated, sometimes it’s not.

    As I wrote, I remedy the situation by changing the key to one without Alt.

  • Why my notepad++ become like this?

    3
    0 Votes
    3 Posts
    99 Views
    Mark OlsonM

    This appears to be a JSON5 file. Probably it has the .json file extension, so it is highlighted with the JSON syntax highlighter, which treats unquoted keys as a syntax error. More recent versions of Notepad++ have a JSON5 syntax highlighter, available under Language->J->JSON5 from the Notepad++ main menu. If the JSON5 syntax highlighter isn’t available, you can just change the language preference to None (Normal Text).

    EDIT: even in the most recent version of Notepad++, the JSON5 syntax highlighter still doesn’t properly parse unquoted keys in objects, so you should just change your Language to None (Normal Text).

    You may also find the JsonTools plugin useful for working with JSON or JSON5. If you pretty-print a JSON5 file with JsonTools, it will convert it to JSON, and then the syntax highlighting will work correctly (but you won’t have unquoted keys anymore).

  • Style Tokens are lost between sessions.

    Moved
    8
    0 Votes
    8 Posts
    309 Views
    Alan KilbornA

    @guy038 said:

    did you forgot of your excellent Python script

    I didn’t exactly forget… :-)

    But some of the earlier comments in this topic have made me decide that it might be best to just not try to remember any previous styling. I’m even doubting remembering bookmarks now too. :-)

  • [Python] Replace spaces with tabs?

    3
    0 Votes
    3 Posts
    85 Views
    S

    @PeterJones Thanks much for the infos.

  • How to Hide Fold Lines in Notepad++?

    2
    0 Votes
    2 Posts
    82 Views
    mpheathM

    @pockytu

    Go to Plugin Admin, type fold into the Search box and keep clicking Next until you see Folding Line Hider. Check the checkbox and click the Install button. After Notepad++ restart, it should be active at hiding the fold lines.

    Description of the plugin:

    This Notepad++ plugin can hide the unsightly folding lines, and for convenience, you can fold and unfold the current level using the Alt + Left/Right keys.
    Author: leonardchai@gmail.com
    Homepage: https://github.com/leonardchai/FoldingLineHider

  • Translate interface buttons

    2
    0 Votes
    2 Posts
    71 Views
    Alan KilbornA

    @Max-Alekseyev

    The captions on those buttons are controlled by Windows instelf, not Notepad++.

  • Style/theme settings lost on every N++ update

    12
    0 Votes
    12 Posts
    2k Views
    mpheathM

    @peter-vasil

    The install directory is handled similar with the installer whether Don't use %AppData% is checked or unchecked. The main difference is the doLocalConf.xml existence which impacts how notepad++.exe saves to the xml files. When notepad++.exe saves to the install directory, then a risk exists when using the installer to upgrade which can overwrite customized xml files.

    Information from install logs:

    Files Install Upgrade Minimalist doLocalConf.xml extract extract extract autoCompletion\*.xml extract skip functionList\*.xml extract extract overrideMap.xml extract skip gup.xml extract extract contextMenu.xml extract skip skip tabContextMenu_example.xml extract skip skip toolbarButtonsConf_example.xml extract skip skip toolbarIcons.xml extract skip skip langs.model.xml extract extract extract stylers.model.xml extract extract extract shortcuts.xml extract skip skip nppLogNulContentCorruptionIssue.xml extract skip skip markdown._preinstalled.udl.xml extract extract extract markdown._preinstalled_DM.udl.xml extract extract extract DarkModeDefault.xml extract extract extract themes\*.xml extract extract

    Theme modifications in the install directory can be overwritten by the upgrade as that is what extract does.

    If Don't use %AppData% is checked:

    The default Custom type of upgrade install will extract many xml files so to keep customizations, may need to backup before install and merge after install.

    The Minimalist type of upgrade install will extract the least amount of xml files so is probably the safest to keep customized xml files.

    If Don't use %AppData% is unchecked:

    Modified xml files are saved to %AppData% so are safe.
  • 0 Votes
    6 Posts
    157 Views
    Fernando Fernandez EscalanteF

    @PeterJones I just tried it and it works perfectly. Thanks again so much for the help.

  • Need help with RegEx

    3
    0 Votes
    3 Posts
    92 Views
    Smudge the catS

    @PeterJones thank you so much for the help!!

  • need help to download notepad++

    2
    0 Votes
    2 Posts
    147 Views
    PeterJonesP

    @josiah-cohran said in need help to download notepad++:

    im on my school computer trying to do something with not pad

    Even for students, clarity of communication is important. “not pad” is not the same thing as “Notepad++”

    and it is bringing me the github page

    Assuming you mean that it took you to https://github.com/notepad-plus-plus/notepad-plus-plus/ , then you should see a section on the right of the main page like:
    0e014db4-d27e-4c77-b724-45e5cde967f2-image.png
    Click on the “Latest” to go to the most recent release (currently, https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.7.8) , and from there, click on the npp.8.7.8.Installer.x64.exe (future readers: the number will change to match the most recent version) if you are on a normal 64-bit windows machine (most are 64-bit nowadays)
    9b67dc7a-1400-4f15-9077-199a594d8512-image.png

    The other way of getting Notepad++, instead of going through GitHub, is to go to the application’s official website and the “Downloads” page: https://notepad-plus-plus.org/downloads/

    From there, you can either go to the top link (which is currently v8.7.8), or if you are more conservative, scroll down to the one that says “stable”):
    fc1dccf7-22a4-4357-ab47-7546eaff5761-image.png
    From one of those pages, click on the topmost “Installer” link to download the installer for the 64-bit Notepad++ (which again is most likely what you need).

  • Get a word from a file, then use it in a REPLACE, hopefully in one RegEx.

    3
    0 Votes
    3 Posts
    109 Views
    Robert Or Janet DiebelR

    @Terry-R I know this kindness is above and beyond.
    I have been looking, trying to help myself.

    This will save much time and effort.

    Thanx for your patience.

  • 0 Votes
    2 Posts
    124 Views
    PeterJonesP

    @Andrej730 said in Notepad++ font with emoji support / Segoe UI Emoji slows down notepad++:

    Hi! I was looking for a way to show emojis in notepad (similarly to https://community.notepad-plus-plus.org/topic/20642/) and I’ve found it, it requires enabling DirectWrite in preferences (it seems nay DirectWrite option works for it) but it also requires a special font that supports emojis.

    There are lots of fonts that support emojis

    The font I’ve found for it Segoe UI Emoji - which works but the problem is that using this font slows down notepad++.

    The font itself, combined with the DirectWrite settings, might be the culprit. When I tried the experiment with DirectWrite (default) and Segoe UI Emoji, I also saw a slowdown… But if I switch to GDI (most compatible) (and restart), then I don’t think I see the slowdown… not 100% sure. But I don’t know if that mode will show all the emojis you want, even with that font.

    However, Segoe UI Emoji doesn’t appear to be a monospaced font, and Notepad++ works best with monospace.

    Any suggestions for getting emojis in notepad++ by some other way or solving this problem with Segoe UI Emoji font?

    Try without directwrite. Try a different font.

    When I do DirectWrite (default) and my old normal DejaVu Sans Mono or my new normal FiraCode, I am able to see many emoji (even ones that those specific fonts don’t support, because of the “composite font” capability of Windows that DirectWrite enables). It’s possible that combination isn’t sufficient for you, but it’s something worth trying. I have never noticed a font-related slowdown when using those settings and fonts.

  • I want to copy only the text without the codes

    14
    0 Votes
    14 Posts
    245 Views
    moath eledwanM

    @Mark-Olson Thank you for the warning

  • Blue icons

    5
    0 Votes
    5 Posts
    178 Views
    PeterJonesP

    @TG-King said in Blue icons:

    but the icons were blue, and I think they were round.

    Sounds like you used a set of custom icons, as per the User Manual > Config Files > Toolbar Icon Customization

    That section has a link to a zip file with various icon sets, so maybe you used one of those; or maybe you found icons elsewhere, but we cannot tell you where you found them.

  • Markdown & Lint

    5
    0 Votes
    5 Posts
    119 Views
    EkopalypseE

    @Mark-Olson said in Markdown & Lint:

    VSCode has a Markdown language server that I quite like; maybe you could use that.

    I am afraid this is not possible because this extension uses node-ipc as a communication channel.

    node-ipc: use node IPC communication between the client and the server. This is only supported if both client and server run under node.

    If other LSP servers that use stdio or socket, i.e. tcp, are available, this would of course be an alternative.

  • Blue icons

    Locked
    2
    -1 Votes
    2 Posts
    76 Views
    PeterJonesP

    @TG-King said in Blue icons:

    And I already wrote this, but I didn’t save the address, and I can’t find it after searching, so I’m asking again.

    Seriously? I don’t buy that for one second.

    here is your previous post, with my reply.

    This is what the “help wanted” section looks like, showing both your new and old post with the same name, on the same screen of information:
    db446f07-d327-44f7-87fa-61e083a86594-image.png

    here is the search for “blue icons”, which is the name you used for this post and the previous post, where the first three hits are your most recent (duplicate) post, and my reply to your original post, and your original post.

    Or you could have searched for your own user name, which would have given similar results.

    This is what it looks like if you go to your user page, showing you all the posts you’ve made:
    c4966732-f39d-4fbb-8949-d2597854531c-image.png

    And at the top of your session here, you should have a little “bell” icon for notifications, and if you click there, you will see a link to my reply to your previous post (and now another with my reply to this post).

    I am locking this topic: if you want further discussion on the question you asked, feel free to reply in that version.

    But please don’t lie to yourself and us by claiming that you cannot find replies: it is dead simple to do, and you obviously didn’t try.

  • Help replacing some numbers

    7
    0 Votes
    7 Posts
    1k Views
    mkupperM

    @guy038 I think the OP has left. He had written “I used Blank operations-> trim trailing space and then “\d+(?=” “\d+” “\d+”$) and its fine now. Ty both for your help!”

    We won’t know exactly what character(s) the trailing spaces were but now know the original issue was space characters of some sort.

    In hindsight, I should have used \h* instead of * in my original proposed fix as \h matches the various horizontal space characters plus is less likely to introduce errors as people manually copy from what they read in a forum post on a screen into a regular expression.