Open fzn0x opened 3 months ago
Is your feature request related to a problem? Please describe. Can we automically adjust the indentation for Bend syntax, does not force to 2 spaces
Describe the solution you'd like What happen now is Bend force us to use 2 spaces
fzn0x@DESKTOP-69TAUPC:/mnt/d/strassen$ bend run test.bend Errors: In test.bend : Indentation error. Expected 2 spaces, got 4. 2 | return 2 + 3 fzn0x@DESKTOP-69TAUPC:/mnt/d/strassen$ bend run-c test.bend Errors: In test.bend : Indentation error. Expected 2 spaces, got 4. 2 | return 2 + 3 fzn0x@DESKTOP-69TAUPC:/mnt/d/strassen$ bend run-c test.bend Errors: In test.bend : Indentation error. Expected 2 spaces, got 1. 2 | return 2 + 3
Let adjust the indentation so it's not expecting 2 spaces
Describe alternatives you've considered Adding Bend to Prettier? https://prettier.io/docs/en/plugins.html
Yes, this is planned.
Is your feature request related to a problem? Please describe. Can we automically adjust the indentation for Bend syntax, does not force to 2 spaces
Describe the solution you'd like What happen now is Bend force us to use 2 spaces
Let adjust the indentation so it's not expecting 2 spaces
Describe alternatives you've considered Adding Bend to Prettier? https://prettier.io/docs/en/plugins.html
Additional context