Found 1 bookmarks
By relevance
How do I make Atom recognize a file with extension X as language Y? - FAQ - Atom Discussion
How do I make Atom recognize a file with extension X as language Y? - FAQ - Atom Discussion
Atom includes a feature called “custom file types” which you can use by adding some entries into your config.cson that look like this: core: customFileTypes: 'source.ruby': [ 'Cheffile' 'this-is-also-ruby' ] 'source.cpp': [ 'h' ] The key (for example source.ruby in the above snippet) is the language’s scope name. The value is an array of file extensions, without the period, to match to that scope name.
·discuss.atom.io·
How do I make Atom recognize a file with extension X as language Y? - FAQ - Atom Discussion