Thanks, that is good to know. I’ve always liked vim. However, the Atom and VS code editors are really convenient to work with, and I would really like to see the indentation improved.
In the settings for Atom’s language-julia package is a Soft Wrap option that is switched off by default. After activating it and setting the Soft Wrap Hanging Indent to 8, you get the desired indention:
when I do re-indent on this block of code.
This is what my “user settings” look like. I hope that this is what you had in mind?
{
"julia.executablePath": "C:\\Users\\PetrKrysl\\AppData\\Local\\Julia-0.6.0\\bin\\julia.exe",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"workbench.colorTheme": "Tomorrow Night Blue",
"julia.runlinter": false,
"window.zoomLevel": 0,
// When opening a file, `editor.tabSize` and `editor.insertSpaces` will be detected based on the file contents.
"editor.detectIndentation": false,
// Controls if the editor should automatically adjust the indentation when users type, paste or move lines. Indentation rules of the language must be available.
"editor.autoIndent": true,
"editor.wordWrap": "on",
"editor.wrappingIndent": "indent",
}