/meteor-webstorm-library

DEPRECATED! Webstorm officially supports meteor Now. A converter that takes the api.json that powers docs.meteor.com and converts it into a stub with jsdocs, for Webstorm to use as a library.

Primary LanguageJavaScript

#DEPRECATED

Webstorm officially support Meteor now

Meteor Webstorm Library

Although Webstorm have announced Meteor support in v9, they previously announced it for v8 but didn't do it. I'm sure they have their reasons but until then, this will hopefully help a little. We'll continue to support this until official support comes out.

Other IDE's may work too as the library is simply a stub with JSDoc documentation.

What does it do?

This is what you'll get in Webstorm as you type methods:

And if you click-through to the method declaration you'll get this:

Installation Instructions:

How did we do it?

We wrote a converter that takes the api.json, which powers the Meteor docs site, and converts it into a stub with jsdocs (Inspired by this post).

Done / Remaining:

Methods converted so far:

  • Static methods like Meteor.isServer. These are the easiest and there are 79 of them.

Methods pending conversion:

  • Instance methods, these require some fiddling and there are 53 of them.
  • Instances set on static objects, should be easy and there are 6.
  • Some weird prototype thing of which there's 1.

Other tasks remaining:

  • Convert markdown links to JSDocs @link
  • Extract return args from description