Julia's community ecology is not good, there is no special code management tools, in alignment and typesetting on a great inconvenience. In fact, in the atom process, the atom also provides some of the simple code management tools that came with it.
Thanks QQ group @ Sand Silver @Gnimuc.
1, Automatic indentation
In the File->keymap.cson file, deposit the following code
' Atom-text-editor ': '
ctrl-alt-k ': ' Editor:auto-indent '
where "Ctrl_alt_k" is a shortcut key, this can be customized, as long as the keybindings does not conflict with the can, this can be found in the keybindings.
2, equal sign alignment
Download plugin first.
I downloaded the aligner.
3. Implement
Select the appropriate code, operating two times respectively.
(1) Indent first. Ctrl_alt_k
(2) Ctrl_shift _p, pop-up window, select Aligner.
4, the problem
This can only solve most of your problems, but not perfect, such as up and down alignment, is ineffective. But the problem has been solved by 92%. It's still good. is better than none.
Expect the Julia community to come up with professional code management tools as soon as possible.