• Dark mode: please darken the bright white line after folded code.

    7
    0 Votes
    7 Posts
    729 Views
    John LiudrJ

    @PeterJones said in Dark mode: please darken the bright white line after folded code.:

    a new Language:Global Styles > Style:Fold Horizontal style whose foreground color sets the color of that line

    Thanks @PeterJones !

    Here is my new “feature request” issue:

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10313#issue-958429921

  • menu item "copy" leads to a reduced Notepad++ window.

    2
    0 Votes
    2 Posts
    159 Views
    Alan KilbornA

    @François-SKODA said in menu item "copy" leads to a reduced Notepad++ window.:

    It’s a long time I hope this little & spectacular bug to be fixed.

    It’s probably hard to fix a bug that likely happens to exactly one person (you) and that person hasn’t reported it to the official issues list. Or maybe you have?

  • 0 Votes
    18 Posts
    1k Views
    Gilad DG

    @PeterJones Thanks!

  • Default Langauage for Files with No Extension

    2
    0 Votes
    2 Posts
    627 Views
    Terry RT

    @waynecnr said in Default Langauage for Files with No Extension:

    How can I set the default Language (XML, or JSON) for files with no extension?

    I don’t think you can, at least not with the configuration options available to you. In the case of XML or JSON, when you go to settings, style configurator, then select xml or json in the language box, you can ONLY add additional file extensions. There isn’t an option to remove the default ones, which is essentially what you want.

    I ran a small test and got these results:
    You can run Notepad++ from the commandline with additional arguments. So
    notepad++ -lxml d:\temp\this-is-an-xml-file-with-no-ext
    would load the named XML file (which has no extension) and then command Notepad++ to colourise it using the XML lexer.

    If the XML file had (on it’s first line) some code such as
    <?xml version="1.0" encoding="UTF-8" ?> (taken from the config.xml file, part of Notepad++ installation)
    then Notepad++ would automatically use the XML lexer as it does attempt to interpret the language to use by the content of the file. I presume a JSON file would also need to have some unique (to JSON) coding at/near the start so it could also be automatically recognised.

    Terry

  • Updater enhancement

    4
    0 Votes
    4 Posts
    241 Views
    PeterJonesP

    @RunninglVlan said in Updater enhancement:

    For example, someone would like to install only major version updates or only minor version updates, ignoring patch versions.

    Which might be meaningful for some applications. But Notepad++ isn’t very regular about such things. Usually vN.0 has some spiffy new feature… but sometimes, it’s just because the v(N-1).9 was the last version released. Sometimes, vN.M.(x+1) is just a bugfix from vN.M.x, but sometimes it has fancy new features that make it significantly better – and, when it is the bugfix, sometimes the bug that it fixes is really important to fix, and you wouldn’t want to ever run the unfixed version. Often, vN.0 or vN.M.0 have more bugs than vN.1 or vN.M.1, just because the new feature hadn’t been put completely through its paces yet.

    To be clear: you’re free to use whatever decision criteria you want, and I’m not trying to say that’s not allowed. But looking only at version number on Notepad++ will tell you nothing about whether it’s just a bugfix or a new feature revision, or give any indication as to how stable any given feature is, or otherwise assuming that it carries more information than a number to distinguish it from the earlier number is giving more weight to the pieces of the number than are really there.

    But, as @Ekopalypse linked, we cannot change the code base from this Community forum.

  • Run Path reset when close notepad++

    8
    0 Votes
    8 Posts
    847 Views
    EkopalypseE

    @RA-Melis

    If it’s just to run a Python script, not even the -i switch is needed. Just ...python.exe "$(FULL_CURRENT_PATH)".
    This has the advantage that you don’t have to exit the shell.
    The script is executed and the result is displayed in NppExec’s console window.

  • survey: Incremental search usefulness

    79
    1 Votes
    79 Posts
    25k Views
    James SiversonJ

    @Alan-Kilborn Yes, this is a fact, it’s hard to argue.

  • PHP editing help

    2
    0 Votes
    2 Posts
    443 Views
    PeterJonesP

    @jim-murray said in PHP editing help:

    I also use visual studio and i suggest that you copy some of their helps …

    You might not be aware, but Microsoft, who publishes Visual Studio, has a huge budget and a team of full-time software developers devoted to making their code work and developing new features. Notepad++ has one primary developer who runs Notepad++ in his spare time, and a few volunteers who regularly contribute to the code base when they have time. All in their spare time, unpaid.

    when i hover on a function or variable ask if i want to see all references
    or goto its definition depending on the context if i hover on a reference
    ask if i want to go to its definition. remember the way back after i move

    There are plugins which offer some of what you’re looking for – for example, TagLEET allows finding the definition of a function (and I think variable declarations) and listing other instances, even if it’s in another file… though I don’t know the “remember the way back” is possible with that plugin.

    The developer and his team of volunteers have decided not to implement code that would be better implemented in a plugin, or already are fully or partially in a plugin, so that won’t be added to the main application.

    blink the matching brace when i hover on its partner.
    color emphasis is not enough for these old eyes.

    If the default color choices aren’t sufficient for you, you are free to use Settings > Style Configurator > Global Styles > Brace Highlight Style to define a color/style that does work for you. Or you could use Search > Goto Matching Brace (defaults to Ctrl+B keyboard shortcut) to move the cursor between opening and closing braces. And in languages that use braces for folding, you can look at the folding lines. There are at least three separate indicators for matching brace, so I doubt they will add a fourth to blink the match (plus, blinking text is evil; just look at any 90s-era website).

    BTW: in case you didn’t realize: this is just the Community Forum – that is, we are all fellow users of Notepad++. Putting a post here does not mean that the developers have seen your request. If you look through the Forum, you will find a FAQ which tells you more about this.

  • Plugins - too much of a good thing

    6
    5 Votes
    6 Posts
    346 Views
    artie-finkelsteinA

    @PeterJones
    @mere-human

    Thank you for the gentle reminder about 'Feature Requests.

    [Feature Request] - exceeding ID_PLUGINS_CMD_LIMIT #10263 has been made

  • Function list: new hover color makes it unusable

    3
    1 Votes
    3 Posts
    274 Views
    W

    Thank you for looking into it and Sorry for my late reply.

    I use a modified default mode with black background.
    The problem is that hovering makes the function darkblue on black + underlined, which:

    gives the impression that you can click on it once to go to the function, (default behaviour in all other applications) but that doesn’t work. makes the function that you are looking at less visible than others.
  • Darken the ctrl-tab file list in dark mode

    7
    1 Votes
    7 Posts
    541 Views
    John LiudrJ

    Thanks for the recent dark mode update! The boarders are no longer searing into my eyes and to decorator boarder is also dark. Except for the ctrl-tab file list which is still quite bright (not as bright as starting up npp), I’m very happy with the update. I use a deep black theme and the dark mode is so great with the deep black theme! I know this is free software so don’t expect every wishes granted. I donated to it to make the authors feel appreciated for their good work. Anyone who uses the software regularly and has a few dollars to spare should do that. Separately, this ctrl-tab continues to be an issue. I hope with the arrival of dark mode, the ctrl-tab rendering could depend on whether we’re in dark mode.

  • Cursor behavior like Delphi cursor

    7
    0 Votes
    7 Posts
    473 Views
    Splendens ReganS

    @Alan-Kilborn Hi! I will try all this plugins, thank you!!!

  • How to print vertical line connecting beginning and end of a function

    4
    0 Votes
    4 Posts
    171 Views
    PeterJonesP

    @Dennis-Johnson ,

    I do not believe that the fold indicators are printable, sorry.

  • Plugins Admin Dark Mode?

    2
    0 Votes
    2 Posts
    180 Views
    mere-humanM

    Yes, it’s not yet implemented. Dark mode is added to all dialogs gradually.

  • Python gotoLine() Not going to line after Open()

    9
    0 Votes
    9 Posts
    436 Views
    Anthony BlincoA

    Awesome advice as usual. A 10ms delay did it.
    I will investigate the SCN_PAINTED notification to implement it properly
    Thanks and very much appreciated

  • update feedback July 1 build

    2
    0 Votes
    2 Posts
    137 Views
    PeterJonesP

    @Promytius-Syl ,

    Then pick a theme that is compatible with Dark Mode – it should have picked Dark Mode Default when you switched, but …

    Or do you have a User Defined Language active? UDL doesn’t change with theme (see this)

  • Bug report: invisible plugin icons

    6
    0 Votes
    6 Posts
    395 Views
    Dror HarariD

    @PeterJones Thanks for the information - I searched for invisible plugin icons and did not find any reference. I updated my settings and the icons are back…

  • new skin on 8.1.2 version?

    3
    0 Votes
    3 Posts
    254 Views
    mere-humanM

    If by “skin” you mean icons, then it can be changed in menu > Settings > Preferences > General and select Standard icons.
    7da4ede6-09fd-4302-be2a-2cb5a3347308-image.png

  • 0 Votes
    3 Posts
    216 Views
    Terry RT

    @Chris-ball said in How to delete entire lines containing the words: Glass, http, and the symbols +++ ? In MULTIPLE txt files?:

    how to replace those 3 lines

    There’s also the question about whether you want to JUST delete the lines containing those words/strings or “replace” as you stated later on. Replacement signifies that you want some “other” string in place of the selected lines. That would complicate the solution somewhat.

    Terry

    PS as well as looking at the solution @Alan-Kilborn suggested also look at Regex documentation here. Both your posts were very vague on substance with regards regex and the ctrl-shift-F. It would be in your best interest to start learning how to create regexes.

  • How to delete lines 2, 3, 4, 5 in multiple txt files at once?

    2
    0 Votes
    2 Posts
    251 Views
    Terry RT

    @Chris-ball said in How to delete lines 2, 3, 4, 5 in multiple txt files at once?:

    How to delete lines 2 to 5 in multiple txt files?

    If you are replacing in files which aren’t opened in Notepad++ then this should work for you, it did in a small test for me.

    Using the “Find in Files” option we have
    Find What:(?-s)\A(.+\R)(.+\R){4}
    Replace With:\1

    You would need to set the filters and directory to correspond with the file types and location you are working on.

    Just so you have understanding of what this regex is doing:
    (?-s) means the DOT character does NOT include line feed/carriage returns
    \A this means “start of file”. I tested my regex first as this \A can cause issues, in this case it did not appear to.
    (.+\R) select as many characters as possible (the (?-s) prevents it from spreading past the line ending) and include the line ending (\R). This is capture group #1
    (.+\R){4} same as last portion except the {4} means 4 more the same. This then selects lines 2-5
    \1 means return the first capture group back to the file, so this is line 1

    Terry