Atom-beautify: Support for Solidity Files

Created on 2 Jan 2016  路  2Comments  路  Source: Glavin001/atom-beautify

Could you add support for (.sol) files. http://solidity.readthedocs.org/en/latest/

add-language

Most helpful comment

Solidity is very similar with javascript grammer, so i add keymap for javascript beautify as below
you can hit 'ctrl-alt-j' in any file even '*.sol', it'll format your file beautiful before support.

keymap.cson

'atom-text-editor':
'ctrl-alt-j': 'atom-beautify:beautify-language-javascript'

All 2 comments

Solidity is very similar with javascript grammer, so i add keymap for javascript beautify as below
you can hit 'ctrl-alt-j' in any file even '*.sol', it'll format your file beautiful before support.

keymap.cson

'atom-text-editor':
'ctrl-alt-j': 'atom-beautify:beautify-language-javascript'

Not working as solidity syntex change from new version 0.5.
it give below error.

""Atom Beautify could not find a supported beautifier for this file
Atom Beautify could not determine a supported beautifier to handle this file with grammar "Solidity" and extension "sol". If you would like to request support for this file and its language, please create an issue for Atom Beautify at https://github.com/Glavin001/atom-beautify/issues""

could you please look in that

Was this page helpful?
0 / 5 - 0 ratings