Smarter extend_comment_on_newline
#24972
injust
started this conversation in
From VSCode
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
extend_comment_on_newline
default oftrue
was surprising to me, especially in Python when I often want to write a one-line comment, followed by code.If I disable
extend_comment_on_newline
, then I can no longer press Enter to split a comment into two lines.In VS Code, pressing Enter will extend the line iff the cursor is not at the end of the line. I don't think this is even configurable. IMO this is the least surprising behaviour and is a better default than the current behaviour in Zed.
Beta Was this translation helpful? Give feedback.
All reactions