I’m using ST4 Stable build 4169 with the default Javascript syntax. I’m finding the ‘deindentation’ of the default
keyword really irritating when creating, for example, Vue props:
defineProps({
meaning: {
type: Number,
default: 42,
}
})
I’m assuming default
is getting deindented because it’s expected in a switch()
block. But it’s not a keyword here, and I rarely use switch()
, so I’d like to disable this. But no idea really where to start on this. Is it even possible to customise this via preferences? Can I get the JS syntax definition and create a custom one without this ‘feature’?