language-javascript-semantic icon indicating copy to clipboard operation
language-javascript-semantic copied to clipboard

Semantic Highlighting breaks snippets, etc

Open eighteyes opened this issue 10 years ago • 3 comments
trafficstars

Due to changing file type detection. Cannot use.

eighteyes avatar Aug 25 '15 16:08 eighteyes

If you add a '.source.js-semantic' scope to your snippets.cson file, snippets defined under said scope will be recognized when using the "Javascript (Semantic Highlighting)" grammar type.

nwant avatar Sep 11 '15 22:09 nwant

How can you do this for snippets coming from atom addon packages?

bruinebeer avatar Dec 08 '15 01:12 bruinebeer

I found that usually adding .source.js-semantic to snippets package cson files is enough. You should contact the package managers and ask for support. It's not that difficult to implement.

Or just say which packages, i'll take a look at it. I'm making a few pull requests for some packages right now.

bruinebeer avatar Jan 17 '16 16:01 bruinebeer