[GH-ISSUE #5] Automatically apply "Javascript (Meteor)" to .js files? #6

Closed
opened 2026-05-05 14:57:47 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @steph643 on GitHub (Dec 2, 2014).
Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/5

Hi Abigail,
It's probably more of an Atom question, but did you find a way to automatically apply the "Javascript (Meteor)" grammar to all .js file? Right now it seems I'm obliged to apply it again each time I open a file... Same issue with the "Handlebar" grammar on .html files.
Thanks,

Originally created by @steph643 on GitHub (Dec 2, 2014). Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/5 Hi Abigail, It's probably more of an Atom question, but did you find a way to automatically apply the "Javascript (Meteor)" grammar to all .js file? Right now it seems I'm obliged to apply it again each time I open a file... Same issue with the "Handlebar" grammar on .html files. Thanks,
Author
Owner

@steph643 commented on GitHub (Dec 2, 2014):

I guess it should be possible to completely overwrite "Javascript" with "Javascript (Meteor)". This would be fine with me. Please let me know if you have tried this. If not, I will investigate and post the result here.

<!-- gh-comment-id:65309102 --> @steph643 commented on GitHub (Dec 2, 2014): I guess it should be possible to completely overwrite "Javascript" with "Javascript (Meteor)". This would be fine with me. Please let me know if you have tried this. If not, I will investigate and post the result here.
Author
Owner

@steph643 commented on GitHub (Dec 4, 2014):

I am sorry I will not investigate further. I found more issues with Atom, and I will wait for it to be more mature.

<!-- gh-comment-id:65629750 --> @steph643 commented on GitHub (Dec 4, 2014): I am sorry I will not investigate further. I found more issues with Atom, and I will wait for it to be more mature.
Author
Owner

@splendido commented on GitHub (Dec 16, 2014):

Hi @steph643.
I think I've just found a way to automatically set the grammar to js and handlebars files using the File Types and Language Spacebars packages.
See #7

In case you'll decide to give it a go, please confirm it is working also for you.

<!-- gh-comment-id:67255188 --> @splendido commented on GitHub (Dec 16, 2014): Hi @steph643. I think I've just found a way to automatically set the grammar to js and handlebars files using the `File Types` and `Language Spacebars` packages. See #7 In case you'll decide to give it a go, please confirm it is working also for you.
Author
Owner

@awatson1978 commented on GitHub (Apr 24, 2015):

As of 2.16.0, solution is to disable the language-javascript package, and Atom will default to parsing javascript with the Javascript (Meteor) grammar set. :)

<!-- gh-comment-id:95781148 --> @awatson1978 commented on GitHub (Apr 24, 2015): As of 2.16.0, solution is to disable the `language-javascript` package, and Atom will default to parsing javascript with the Javascript (Meteor) grammar set. :)
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#6
No description provided.