Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Meteor supported in VS Code?

Is this something Visual Studio Code needs to add or is there a way to make it work?

like image 949
g33kidd Avatar asked Feb 11 '23 07:02

g33kidd


1 Answers

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.

like image 52
tomRedox Avatar answered Mar 16 '23 12:03

tomRedox