Add a file type to Code Style

I am hoping that this is a feature that already exists but I haven't managed to figure out how to use it.

I am working on a Vue project at present. I would like to apply custom formatting to my Vue templates which are, incidentally, broken out into separate .vue files. Specifically, I would like to be able to have spaces inside of double curly-braces around template variables, like so:

{{ templateVariable }}

However, I haven't been able to find a way to accomplish this. Any help would be appreciated.


1 comment
Comment actions Permalink

There are no separate code style preferences for Vue.js files; formatting uses HTML code style preferences ( Preferences | Editor | Code Style | HTML) for tags and Javascript for the code. Unfortunately Preferences | Editor | Code Style | JavaScript | Spaces, Other/Within interpolation expressions option doesn't work for Vue.js.

Please vote for to be notified on any progress with this issue


Please sign in to leave a comment.