crystal-lang-tools / vscode-crystal-lang

Yet another VSCode extension for Crystal Programming Language
https://marketplace.visualstudio.com/items?itemName=crystal-lang-tools.crystal-lang
MIT License
277 stars 58 forks source link

Auto-formatting issue with some keywords #158

Closed jwoertink closed 8 months ago

jwoertink commented 1 year ago

It's pretty nice that while you type code, it'll start to format and indent things for you. Like typing end will put it where it needs to go. Once small annoyance though is with the keyword in. If I'm including a module, I start to type the word include, but right after typing in, it'll auto-format the word all the way to the left, but never correct itself after finishing the word.

I can see auto-formatting in for things like case/in, but maybe when the rest of include gets typed, it's formatted again?

Kooha-2023-01-11-09-00-37

jwoertink commented 10 months ago

This issue is fixed in the v0.9.0-alpha release :tada: