Sublime Forum

Auto indent doesn't work for Julia [SOLVED]

#1

It used to. I can’t pinpoint when it stopped working.

I just installed build 3118 and that doesn’t fix it.

Auto indent is pretty simple for Julia: one tab stop after the start of a code block; outdent after the end keyword. It’s not white space sensitive like Python, but most people indent contained code blocks.

Any ideas?

0 Likes

#2

Are you using this package: https://packagecontrol.io/packages/Julia ?
it doesn’t contain any indentation rules, so it uses the default ones, which haven’t changed AFAIK.
submit an issue at the Git repo, and maybe the maintainer will add some indentation rules :slight_smile:

0 Likes

#3

Yup.

Thanks.

0 Likes

#4

Build 3119 fixes this. The built-in indentation had previously worked for Julia. Now it works again.

0 Likes