Closed hyperknot closed 9 years ago
@hyperknot
If you select some code, and run format command, only the selection will be formatted. The selection will be regarded as a new context, indentation is only in the new context.
Considering format_on_save
usage scenario, I disabled selection detect, if you select some code, and save with the selection, the whole file will be formatted and indented.
Thanks, I agree it make sense on command, it just doesn't make sense on save.