awatson1978 / meteor-api

Meteor API with tab completion and syntax highlighting.
MIT License
80 stars 17 forks source link

Syntax highlighting issues #72

Open derwaldgeist opened 9 years ago

derwaldgeist commented 9 years ago

Since I installed this package, I have some syntax highlighting issues:

  1. Template.name.helpers() is now orange, ok. But neither Template.name.onCreated() nor Template.name.onRendered() get colored. This looks inconsistent. Personally, I would also prefer if the three parts of such an expression (i.e. Template, name, and method) would be colored differently. This would make it easier for the eyes to scan the page. It would also be nice if inside of such a method references to Template would be highlighted as well.
  2. In the statement FlowRouter.go(...), only Router is colored in light-blue, but not Flow. Seems as if this package only supports IronRouter?! :-)
  3. Without the package, in this statement
var rv = new ReactiveVar(null);

the class name ReactiveVar is highlighted in yellow. As soon as the package is installed, this highlight is removed and the class name is in dull gray.

PS: I'm using the Spacegray Dark Neue syntax scheme, maybe your colors are different.