-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I've really like to be able to indent comments to my preferred style, so instead of this:
function foo {
// comments are at same level as function, so offset from code they are commenting on
// set the value of x to 1
set x to 1.
function bar {
// this is a comment in bar
set baz to 1.
}
}
I'd like to be able to tell it to indent to the same as code would be, i.e. the above would be:
function foo {
// set the value of x to 1
set x to 1.
function bar {
// this is a comment in bar
set baz to 1.
}
}
Ideally, it would be really nice to have a configuration in Code Style like other languages, where all code config could be tuned:
Which (I think) would then be usable in editorconfig configuration like:
[*.ks]
indent_size = 2
tab_width = 2
// java example: ij_java_line_comment_add_space = true
ij_kerbal_some_config_property = true
But that's pretty ambitious :) Just the ability to change comment indenting would be nice to start.
