We’ve pulled together an IntelliSense definition file that you can use in VS Code to get IntelliSense on all the host.* debugger object APIs. To use the IntelliSense definition:
- Download the IntelliSense definition – JSProvider.d.ts.zip
- Extract JSProvider.d.ts to the same folder as your script
- Add “/// <reference path=”JSProvider.d.ts” /> ” to the top of your script
With that in your script, VS Code will automatically give you IntelliSense on the host APIs provided by JSProvider in addition to the structures in your script. Just type “host.” and you’ll see IntelliSense for all the available APIs.
If you hit any problems, don’t hesitate to comment below.