Closed andrewrk closed 6 years ago
This cannot be configured at the moment, no.
I wonder how that should work.
I guess that leaves some shortcut to change the behavior on the fly.
I think (2) is strictly an improvement. You can leave Python to be hard tabs to match current behavior, and then other languages (or is it just Zig?) are improved. Trying to resolve the 2 spaces vs tabs with Python is a separate issue than this one.
Pressing the tab key, while working on Zig or F# code, inserts 4 spaces now.
In zig a hard tab is actually a syntax error. Pressing tab on Try It Online editor inserts a hard tab, whereas in order to be useful it would have to insert 4 spaces instead. Otherwise it will be a lot of cognitive dissonance for users. Is there a way to configure this?