Vue.js - Formatting code: Add space for annotation
Hi,
I got code which looks like:
@Prop({default: false})
The problem here is that there should be spaces added after the left curly brace and before the right curly brace. This is a vue.js project.
I tried several options within the code style for typescript, but none of the options seem to affect the annotation.
Is there some way or does it need to be implemented?
Please sign in to leave a comment.
Enabling spaces within object literal braces in Settings | Editor | Code Style | TypeScript | Spaces should do the thing
Awesome, thanks! I missed that.