apm install atom-scalariform
Allows formatting of Scala files using scalariform. It also supports Ammonite scripts.
You can configure the
atom-scalariform properties file to be used in your Atom config:
propertiesFile starts with
/ it is considered an absolute path, otherwise the
propertiesFile path is considered relative to the about-to-format file’s project folder.
Relative properties file path
* the file to format is located at
* the Atom project folder is
propertiesFile is defined as
scalariform properties file will be loaded from
If a project folder cannot be found, the plugin will try to load the
propertiesFile as an absolute path.
To format a .scala/.sc file, first save it then you can run the formatter by pressing:
Currently using scalariform 0.1.5 SNAPSHOT