Is this something Visual Studio Code needs to add or is there a way to make it work?
Visual Studio Code can provide intellisense and warnings for Meteor. To get that you simply need to add the TypeScript definition file for Meteor to your project folder. You don't need to be coding with TypeScript for this to work, it works just fine for JavaScript too.
An easy way to add that file is to use the TypeScript Definition Manager. Open a command prompt, navigate to your project folder and then type tsd query meteor --action install
. That will add all the necessary bits and you should see that the Meteor specific syntax is no longer green squiggly underlined in VS Code.
If you don't yet have TypeScript Definition Manager installed there's a good guide to that in the official VS Code documentation.
There's also a lot of voices pushing for better Meteor support to be built into VS Code, it's currently the 16th most requested feature.
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