• 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
    173 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
    930 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
    676 Views
    C

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

  • 0 Votes
    3 Posts
    598 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
    520 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
    156 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
    516 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
    301 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
    189 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
    367 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.

  • 1 Votes
    3 Posts
    247 Views
    Valery OrlovV

    @guy038, Thanks to you, I not only solved my problem, but also became better acquainted with the possibilities of Notepad++.
    Best regards

  • Note++ file location

    5
    0 Votes
    5 Posts
    525 Views
    PeterJonesP

    @tnet-chrome said in Note++ file location:

    The file config.xml under %AppData% had the recent files list. But if I manually delete any recents, save the file and restart Notepad++ the same list of files is re-added. Why? Where from?

    Because those recents were still in memory when you exited Notepad++, and when Notepad++ exits, it overwrites the existing config.xml with those values from memory – even if you had recently manually edited config.xml. The user-manual section on Editing Config Files has a paragraph explaining how to edit config.xml, because it must be treated differently than the other config files (and config files in general have to be treated differently relative to “normal” files, as that entire section describes).

  • The accents above Cyrillic capital letters are incorrectly displayed

    3
    0 Votes
    3 Posts
    183 Views
    Valery OrlovV

    @xomx, thank you very much. When I selected another font (Ebrima), the problem was resolved.