Julia: About the Julia code typesetting in Atom _atom

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.