Community
    • Login

    auto completition

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 256 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gerald MiedlerG
      Gerald Miedler
      last edited by

      Hi,
      can I add keywords from extern script on demand (for using the auto complete funstion)?

      1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by PeterJones

        Yes – well, depending on what you mean by “on demand”. If my explanation doesn’t fully solve your problem, you will have to describe it better.

        In your Notepad++ installation folder (often c:\program files\Notepad++) there will be an autoCompletion folder with a bunch of XML files, one per language¹. You can add new auto-completion terms to that file². If you have a UDL³ that you’d like to have auto-completion for, you can create a new XML file in that folder that will hold the auto-completion definitions.

        1. see docs: https://npp-user-manual.org/docs/auto-completion/#create-auto-completion-definition-files
        2. Notepad++ tends to save configuration files as it exits if you’ve made any changes in the GUI. Thus, when manually editing this or any config file using Notepad++, follow the sequence: close all instances of Notepad++; open one single instance; edit the file; save; exit Notepad++; re-open. At this point, the changed settings should be in effect.
        3. user defined language: https://npp-user-manual.org/docs/user-defined-language-system/
        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors