Complete (?) IntelliJ Meteor Autocompletion Setup
File paths may differ. I use meteor on Mac OS X 10.8.4
This tip should work for IntelliJ / WebStorm / PHPStorm / *Storm
Developing a default meteor application (adds default packages only)
Add packages
Add the default meteor packages to your javascript
libraries:
- Go to Project settings -> Javascript -> Librarires
- Add meteor packages and attach
~/.meteor/packages
Apply and your autocompletion setup is ready.
Developing a meteor(rite) package (adds internal api packages)
Add packages
Add the default meteor packages as described above, and after
that add the private api package and bundler package to your javascript
libraries:
- Go to Project settings -> Javascript -> Librarires
- Add meteor internal package api and attach the following two files:
~/.meteor/tools/latest/tools/bundler.js
~/.meteor/tools/latest/tools/package.js
Apply and your autocompletion setup is ready, but JSLint will annoy you…
Surpress JSLint "Package was used before it was defined" warning
- Go to Project settings -> Javascript -> Code Quality Tools
- Add Package to the Predefined (, separated) list
Have some fun with meteor
:)
Written by Joram Höfs
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ide
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#