IntelliSense for debugger JavaScript APIs

Hi Everyone!

Just a quick update this time. We've seen more people posting about JavaScript extensions and scripts and we love hearing about what you're doing with them and seeing people embrace NatVis, 'dx', and LINQ. One of the things you've been asking us about is getting IntelliSense when writing their scripts.

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:

  1. Download the IntelliSense definition - JSProvider.d.ts.zip
  2. Extract JSProvider.d.ts to the same folder as your script
  3. 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.
intellisense
If you hit any problems, don't hesitate to comment below.

-Andy
@aluhrs13