How to set .jl (Julia) as the default file format while opening a new file in Atom (Juno)

Copy paste the following code into your init.coffee file: atom.workspace.observeTextEditors (editor) -> original = editor.getGrammar() if original? and original is atom.grammars.grammarForScopeName(‘text.plain.null-grammar’) editor.setGrammar(atom.grammars.grammarForScopeName(‘source.julia’))) You should be able to find the init.coffee file by going to Files –> Init Script..