Indentation not being kept for blank lines? #2900
Unanswered
RandomGgames
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I indent code, I keep empty lines indented to the same indentation as the next non-empty line below them.
An example of this can be seen just in the comments of this python function for example:
However when the formatter is run, The indentation is removed, leaving me with
Please note: I am using v9.10.4. I am running VSCode's autoformat key when this issue occurs. It may be possible that this is a problem with my VSCode settings but I don't believe it is. I can post my vscode settings file if needed.
Is this something the extension is doing for everyone or is there something with my settings I need to change?
I will move this post from Q&A to Ideas if this is something prettier format does.
Beta Was this translation helpful? Give feedback.
All reactions