• 1 Votes
    36 Posts
    16k Views
    K

    I’ve experienced something similar - Notepad++ will begin to occasionally corrupt files when I try to save them to a network drive. I can tell when it’s going to happen because it will not respond “not responding” for about 5-10 seconds, then display that error message. And it corrupts the file!!! When I’m heavily coding, this happens constantly. I have to make back-up copies constantly since it WILL corrupt the files! Extremely frustrating. This has only started being a problem within the past 2 ? updates.

  • 0 Votes
    3 Posts
    122 Views
    Dimitris TheocharidisD

    @Alan-Kilborn nice one, yes, it can be done just to read, and to have the line number of the original file. I guess, it is the only way, but not a very convenient one, because links are lost, and it becomes absolutly manual… Thank you for answering!!!

  • 4 Votes
    2 Posts
    2k Views
    PeterJonesP

    @Vitalii-Dovgan ,

    PR 16928 will remove that forced fontSize, and fix other fontSize consistency problems in the model and themes.

  • Using Notepad++ Together with ChatGPT for a Faster Workflow

    Moved
    5
    0 Votes
    5 Posts
    2k Views
    PeterJonesP

    @Walter-Cook said in Using Notepad++ Together with ChatGPT for a Faster Workflow:

    Is there a preferred “Language” to use before pasting into Notepad++?

    If the Generative AI nonsense is pretending to be C++, then use Language > C > C++; if it’s pretending to be Python, then use Language > P > Python; if it’s pretending to be markdown, use Language > Markdown (preinstalled). If it’s pretending to be plain text, use Language > None (Normal Text)

    Remember, Generative AI is not thinking, and is not actually generating anything with meaning. It is just picking a long list of likely “next token” (effectively, “next word”, but not technically) based on the prompt and what it’s generated so far.

    Copying from ChatGPT or any of the AI’s interfaces seems to be pretty messy!

    Then find a better UI? There are various frontends to those “tools” which can help. (I know that Google’s AI Studio interface, for example, has a button to allow copying the underlying Markdown that their LLM produces, so something like that might be better formatted than the rendered stuff directly from the browser.)

    Admin Note: as @Alan-Kilborn said, this conversation really shouldn’t be under the “Help Wanted” category, so I am moving it to the “General Discussion”

  • Adding or dragging a menu item to the toolbar

    2
    0 Votes
    2 Posts
    1k Views
    Alan KilbornA

    @Walter-Cook

    If you have a few favorites of the “Line Operations”, you could add them individually using the “Customize Toolbar” plugin.

  • 2 Votes
    4 Posts
    181 Views
    EkopalypseE

    @rdipardo

    That’s what I thought too, I was just surprised that the port didn’t have it, hence the question.

  • Mildly curious about json syntax highlighting

    2
    1 Votes
    2 Posts
    1k Views
    rdipardoR

    There’s a hard-coded limit of 100 characters for property names; the property inside “hello3” has 101. It’s a known issue.

  • 32x32 sources for small Standard icons

    9
    0 Votes
    9 Posts
    3k Views
    deleeleeD

    @PeterJones Thanks! 🙂

  • 0 Votes
    3 Posts
    936 Views
    BoomBookB

    @PeterJones Thank you. As far as I can see, the function has not been removed. Before concluding this, I downloaded the versions one by one and checked the settings to see if it was still there. I was only able to find an option under “Default Directory.” My issue is now resolved. Thank you.

  • Applying Diff patches?

    5
    0 Votes
    5 Posts
    1k Views
    PeterJonesP

    @PeterJones said in Applying Diff patches?:

    I commented on that Issue to request that apply patch be considered alongside create patch.

    as mentioned here, as of ComparePlus v2.0.0, the plugin can generate and apply standard patch files; see also the release notes. Thanks to @pnedev for the update.

    (Until it makes it into the Plugins Admin, the new version can be manually installed from the zipfiles found on the v2.0.0 release page)

  • Color of hits for find and replace

    4
    0 Votes
    4 Posts
    684 Views
    C

    @Coises Thanks, it was the smart highlighting. Problem solved.

  • 0 Votes
    3 Posts
    610 Views
    Alan KilbornA

    To expand on the explanation, for a small number of lines, put the caret in column 1 of line 1. Press Shift+Alt+DownArrow multiple times, enough so that a “skinny but tall caret” appears before the column 1 data in all lines, to wit:

    25400676-feb5-4a56-86ab-a9413176e83c-image.png

    Then press Space two times, to obtain:

    f0784327-74d1-4788-8da2-7c1acf2b63f7-image.png

  • 9 Votes
    46 Posts
    14k Views
    PeterJonesP
    ConfigUpdater Plugin v2.2.1

    ConfigUpdater Plugin has released v2.2.1, available thru GitHub release page, with bugfix improvements, mostly to Validation Dialog:

    Error handling for null handle ⇒ to prevent potential crashes Disable logfile Monitoring Mode ⇒ it triggers callbacks for many file-changed events, which can bog down setups that use plugins/scripts that add many callbacks Fix progress bar on ConfigUpdater dialog ⇒ makes more-visible progress as each file is processed ValidationDialog: say Line#123 instead of #123 in the Validation dialog error list ⇒ Makes it more clear to the user that the number is the line number, not just some internal tracking number ValidationDialog: Rename Done -> Close ValidationDialog: Rename Go to Model -> Open/Align Model in Other View ValidationDialog: Disabled Validate button when no file selected ValidationDialog: Add ephemeral “Please select a file to validate” choice as initially-selected “file” for validation, which will go away once you’ve made a choice ValidationDialog: Open/Align Model now allows opening the model even when there are no validation errors (or when you haven’t even validated yet) it was previously not allowed because the vector it was looking at to find which line number in model-file was 0-length if there were no errors (or no validation done yet); I was able to update the logic to choose line 0 if there was no selection or no validation errors Update langs.xsd to check for duplicate <Keyword name="xyz"> entries NOTE: if you want this feature, you have to delete the old ...\plugins\config\ConfigUpdater\langs.xsd before launching the ConfigUpdater or ValidateConfigFiles dialogs (only need to delete the file once; after it is regenerated, the new error checking will be available in the future) Only allow one Validator dialog ⇒ It could cause problems if more than one dialog were trying to validate at the same time, and there is no compelling reason for allowing multiple instances of that dialog
  • You CAN disable brace highlighting

    5
    2 Votes
    5 Posts
    530 Views
    Ethan GreerE

    Well, I submitted a feature request. It is here:

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16852

    Any feedback or suggested edits or improvements would be greatly appreciated!

  • Close on last tab exit missing in settings

    3
    1 Votes
    3 Posts
    159 Views
    Erin PhillipsE

    @PeterJones thank you. I completely overlooked this new page in preferences.

  • NotePad++ preview plugin? I can't find it.

    3
    0 Votes
    3 Posts
    528 Views
    rdipardoR

    @Coises said in NotePad++ preview plugin? I can't find it.:

    It looks as if [Preview HTML] exclusively uses Internet Explorer rendering…

    F.Y.I.

    Preview HTML’s browser host was recently updated to Microsoft Edge.

    preview-html-v1.4-screenshot.png

    You will need Windows 1709 (build 10.0.16299) or a later version to use it. For that reason, I’m not planning to update the Plugin List until some time after consumer editions of Windows 10 pass their EOL date in October.

  • Is there a way to disable brace highlighting?

    9
    0 Votes
    9 Posts
    319 Views
    Ethan GreerE

    @PeterJones

    Hello again Peter! Thanks for the advice. When I said “hate hate hate” I meant that as more tongue-in-cheek. Maybe that was the wrong foot to put forward first. Sorry if I honked you off. I certainly wouldn’t bring that energy into a feature request.

    Edit: I get what you’re saying about essential features of Notepad++. It seems like if there’s an option to turn off, say, current line highlighting, it would make sense to include an option to turn off brace highlighting. I’m sure it won’t surprise you to know that I disable current line highlighting, for much the same that I want to disable brace highlighting – I find it distracting.

    Anyway, I’ll throw up a feature request, and if it is never implemented, I’ll deal with it. Overall I love Notepad++ very much.

  • Closing np++ closes program behind it.

    3
    0 Votes
    3 Posts
    195 Views
  • Does Notepad++ support Language Server Protocol (LSP)

    9
    0 Votes
    9 Posts
    2k Views
    EkopalypseE

    @notdodgeball

    thanks - I’ve changed it accordingly.

  • Editar formulas de excel en Notepad

    8
    0 Votes
    8 Posts
    386 Views
    Chris Martin 1C

    Hola Jhorbam,

    Lo que estás buscando se puede lograr parcialmente en Notepad++ utilizando resaltado de sintaxis personalizado (User Defined Language, UDL). Notepad++ no tiene soporte nativo para fórmulas de Excel, pero puedes crear una definición de lenguaje personalizada que resalte palabras clave como SUMA, PRODUCTO, operadores como +, =, *, (, ), y los signos de dólar $.

    Pasos para hacerlo: Abre Notepad++. Ve a “Lenguaje” → “Definir tu lenguaje…”. Crea un nuevo lenguaje con un nombre como ExcelFormulas. En la pestaña “Palabras clave”, añade funciones de Excel que uses, como SUMA, PRODUCTO, SI, etc. En la pestaña “Operadores y delimitadores”, puedes agregar =, (, ), {, }, $, y otros símbolos. Personaliza los colores de texto para que se parezcan a los del editor de fórmulas de Excel. Guarda tu configuración y aplícala al archivo.

    Esto no será tan avanzado como el editor de fórmulas de Excel, pero puede ayudarte visualmente al copiar y revisar fórmulas extensas.

    También puedes exportar/importar configuraciones si quieres compartir tu UDL con otros.

    Saludos.