awatson1978/meteor-api

Meteor JS grammar only in meteor project

ndastur opened this issue · 0 comments

Don't know if this is possible. But it would be nice if the Meteor JS Grammar could be applied when in a meteor project but otherwise default to "normal" js grammar.

A meteor project could be detected by the presence of .meteor in root of app. This would probably need the whole app folder to be open. So maybe a setttings option of:

  1. Use standard grammar
  2. Always use Meteor grammar
  3. Detect meteor app and use appropriate grammar

then users can decide the behaviour.