[GH-ISSUE #72] Syntax highlighting issues #58

Open
opened 2026-05-05 15:00:36 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @derwaldgeist on GitHub (Sep 10, 2015).
Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/72

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.

Originally created by @derwaldgeist on GitHub (Sep 10, 2015). Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/72 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 ``` js 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.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/meteor-api#58
No description provided.