Is there a JScript IDE with autocomplete for COM objects created with ActiveXObject() function?
i.e. so that after typing the following piece of code the IDE would display the list of methods / properties of the ExcelApp object:
var ExcelApp = new ActiveXObject("Excel.Application");
ExcelApp.
The only thing I've found was JsEdit, but I guess it got discontinued some time ago. I've also tested Visual Studio and JetBrains Webstorm, but couldn't make the autocomplete functionality to work.
(Disclaimer: I am the author of the project in question.)
I use ts-activex-gen to generate the Typescript definition files for a given ActiveX library, and any Typescript-supporting editor (I use Visual Studio Community with the Typescript plugin).
You won't be able to write Typescript directly in your .wsf or .hta, but you can use script tags to reference the outputted Javascript files.
In Visual Studio Code, setting allowJs to true within tsconfig.json will display Intellisense based on Typescript definition files not only while editing Typescript, but even while editing plain Javascript files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With