.es6 file extension


#1

How do I configure the javascript-language package to accept .es6 file extension?

Oh, and while we’re at it, how about .cs for coffeescript?

Basically how to bind a file extension to a language?


#2

You can use the file-types package to set up custom file associations.

You should be using .coffee for CoffeeScript though, as .cs clashes with C#.


#3

Bingo! Works like a charm. Thanks!

Agree about .coffee, just an example … I didn’t know c#'s exentsion was .cs, but makes sense.