mulesoft-labs / data-weave-language-server

The DataWeave Language Server
BSD 3-Clause "New" or "Revised" License
13 stars 1 forks source link

Make tabSize a setting #42

Closed AktasC closed 1 year ago

AktasC commented 1 year ago

Pretty self-explanatory, it would be nice to have the option to change tabs' size when formatting dwl code.
As of now, it's static and set to 4 per tab, making some nested transformations harder to read.

Regards.

machaval commented 1 year ago

The TabSize that is being used is the same one to any VScode plugin. The property is editor.tabSize if you want to edit the json, but it can also be eddited in the settings GUI. Let me know if it doesn't work for you.

Screen Shot 2022-09-26 at 13 36 19