• Updater enhancement

    4
    0 Votes
    4 Posts
    232 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
    824 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
    17k Views
    James SiversonJ

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

  • PHP editing help

    2
    0 Votes
    2 Posts
    429 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
    310 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
    259 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
    499 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
    439 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
    164 Views
    PeterJonesP

    @Dennis-Johnson ,

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

  • Plugins Admin Dark Mode?

    2
    0 Votes
    2 Posts
    173 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
    413 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
    130 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
    374 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
    243 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
    203 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
    237 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

  • Doc Switcher missing sort indicator

    2
    0 Votes
    2 Posts
    148 Views
    Alan KilbornA

    @Kenn-Simons

    This?:

    71640899-fb3f-4be0-8ca2-3b4f099be06e-image.png

  • Muchas Gracias

    7
    0 Votes
    7 Posts
    324 Views
    PeterJonesP

    @Norberto said in Muchas Gracias:

    I do not speak English at all and it is difficult for me to understand the forum.

    As I said, if English is difficult for you (not your native language), then feel free to use a translation service.

    If I paste my reply into translate.google.com, it will show: “Como dije, si el inglés es difícil para usted (no su idioma nativo), no dude en utilizar un servicio de traducción.”

    If I paste the same reply into deepl.com: “Como he dicho, si el inglés le resulta difícil (no es su lengua materna), no dude en utilizar un servicio de traducción.”

    You can do something similar: write your text in Spanish, then plug it into the translator, then paste the results in your post as well. Since you are the one who wants help, it is up to you to be kind to the people who you are asking for help and translating your question into their language. (= Puedes hacer algo parecido: escribir tu texto en español, luego meterlo en el traductor, y luego pegar los resultados en tu post también. Ya que tú eres el que quiere ayuda, depende de tú ser amable con las personas a las que pides ayuda y traducir tu pregunta a su idioma.)

    If you aren’t willing to go to the effort to communicate in the default language of the forum (English), then people here are less likely to go to the effort of trying to answer your question at all. You will notice that someone has answered all your questions so far, despite the fact that you have not shown us that courtesy; but if you continue to ask questions without giving us the English version of the question, then it is less likely that you will get an answer. Sorry. (= Si no estás dispuesto a hacer el esfuerzo de comunicarte en el idioma por defecto del foro (inglés), entonces es menos probable que la gente de aquí haga el esfuerzo de intentar responder a tu pregunta. Notarás que alguien ha respondido a todas tus preguntas hasta ahora, a pesar de que no nos has mostrado esa cortesía; pero si continúas haciendo preguntas sin darnos la versión en inglés de la pregunta, entonces es menos probable que obtengas una respuesta. Lo siento.)

  • Cannot open large file 600MB 32bit

    4
    0 Votes
    4 Posts
    846 Views
    PeterJonesP

    @TonyP said in Cannot open large file 600MB 32bit:

    npp was able to open file, but when i have npp to save session, i closed npp and reopen it gives error cannot open file to large and removes file from tabs.

    That says that it is a memory issue – that you didn’t have enough system memory to allocate enough for NPP to open the file. So the first time you opened it, you had enough memory (maybe because of order of operations in NPP, or because you had fewer other processes using memory), but when you exited and then re-ran NPP, your system no longer had enough memory to allocate to NPP.

    Notepad++ is not actually optimized for huge-file editing – to be truly optimized for such, an editor would required “paged” editing, where it just loads part of the file from disk at a time, and if you move beyond the chunk, then it will clear the buffer and load a new chunk from the disk. To add that feature to Notepad++ would require a complete re-write, so isn’t going to happen.
    However, if you Iook at this post, there’s a link to the “BigFiles” plugin, which gives paged access to files that are too big to be effectively edited in Notepad++. But as another recent discussion shows, there are drawbacks to the BigFiles Plugin method of editing big files, too.

  • Borrar número de bloques

    2
    0 Votes
    2 Posts
    369 Views
    EkopalypseE

    @Norberto-Martino

    Puede utilizar una expresión regular como buscar \bN\d+.
    y sustituirla por nada.

    You can use a regular expression like find \bN\d+
    and replace it with nothing.