GP SoftwareTwitter
Opus FAQsManualCommandsObjects

Dopus JavaScript library to allow autocompletion with IDEs?


I'm currently trying the WebStorm JavaScript IDE to assist my button script coding and I would like to know if there is a Directory Opus library to use with it so unresolved variables or functions can be resolved and the autocompletion feature can work.

I come from the Java programming world and I don't know if there is a Javadoc equivalent to get this to work even if Dopus JavaScript library source code isn't publicly available.


I'm not familiar with WebStorm so I don't know how easy it would be to make one, but no one has made anything like that so far (or if they have, they haven't shared it here).


But this kind of library/JSDoc thing isn't supposed to be made by a third party. You, as the developers of the JavaScript code (i.e. the JScript library) that allows custom buttons to interact with Directory Opus, are the ones that would provide this.


Presumably anyone can make it. We don't know anything about WebStorm IDE, nor is JScript the only language we support, and we aren't web developers so the world of JavaScript IDEs is not something that's really on our radar.

Is it a standard thing that lots of other IDEs can also use? Is there support for API descriptions that also work when editing VBScript or other ActiveScripting languages?


I'm sorry if I sounded a bit rude before. I don't mean to imply that you should have provided this feature, as I understand it is just an aid to make button script coding easier, not by any means necessary. Again, this is my Java background making me think that this could have been provided by you from your own DOpus JScript code documentation (Javadoc-style), but it seems things are a bit different for JavaScript.

Yes, I'm not looking for something specific to WebStorm but for every JavaScript IDE. I've looked into it more thoroughly and found that there is something called TypeScript definition files that are useful for this purpose when the library source code isn't available. I've read they work with Eclipse, Visual Studio Code, Sublime Text, Emacs, etc.