Community
    • Login

    Custom IntelliSense For Objects

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    intellisensecustom
    2 Posts 2 Posters 518 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.
    • pgSystemTesterP
      pgSystemTester
      last edited by

      I am trying to enhance NotePadd++ javaScript language to have have IntelliSense for specific objects I’m working on (Adobe PDF Scripting in case anyone knows of it already existing). As a simplified example, if I were to type document. I would hope to see IntelliSense display a list of available properties and methods that I’ve specified as available to be used with a certain object.

      I presume this is possible, I’m just not looking properly. Something like custom object property IntelliSense? I looked at AutoComplete, which sort of works, but it would list out all possible items, where I’d prefer to type the object itself first.

      I looked in the function list and saw the classParser which looked promising, however it didn’t quite make sense to me how to modify it and I don’t want to break the instance of javaScript that I’m working with.

      Ultimately I’m looking for answers to these questions:

      • What’s the name of the feature I’m looking for?
      • What menu, XML file drives this?
      • Any libraries available that I could use to reverse engineer for my own situation?

      Thanks.

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @pgSystemTester
        last edited by

        @pgSystemTester

        Npp is a general purpose editor and has no reflection/inspection built in for any programming language. But it does have the ActiveX plugin that allows JavaScript to manipulate Scintilla’s calltip and autocomplete objects at runtime.
        Another option would be to use my LSP client, but that means you need to have an LSP server running for JavaScript, since I don’t work with Java/JavaScript I haven’t tested/investigated that.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors