webstorm code highlighting and code completion for meteor packages

129 Views Asked by At

I have configured meteor on webstorm and I can see code highlighting and code completion for meteor, but when I add new packages (for example: aldeed:collection2), code highlighting and code completion doesnt work for new packages. How can I make sure that code highlighting and completion also work for new and installed packages. Regards, Chidan

1

There are 1 best solutions below

2
On BEST ANSWER

You should open '.meteor/packages' file and run 'Import packages as library' action (the action will be shown) enter image description here

Related issue: https://youtrack.jetbrains.com/issue/WEB-17503