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
276 stars 58 forks source link

Block should not add arguments by default #108

Closed MatheusRich closed 4 years ago

MatheusRich commented 4 years ago

Not every block has args, but the do shortcut always adds them. This is specially cumbersome when creating specs.

I suggest that the do shortcut just add a basic block. For blocks with args, we could use dop (as the ruby vscode extension does).

I can provide a PR if this is ok.

faustinoaq commented 4 years ago

Hi @MatheusRich Great idea 👍