languages: what is responsible for auto-indenting new {}
blocks?
#10970
Unanswered
spaceunifyfifty
asked this question in
General Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Most languages will automatically insert a newline and tab when pressing

Enter
while inbetween{
}
.TypeScript for example:
I'm trying to get this working for Kotlin detailed at zed-extensions/kotlin#5. I have newline insertion working, but can't figure out which config file controls the tab insertion. or if an entire language server protocol / formatter needs to be implemented for that behavior. Anyone know?
Beta Was this translation helpful? Give feedback.
All reactions