-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Description
Vue version
Playground
Link to minimal reproduction
Steps to reproduce
Go to link, select Comp.vue tab, and go rightclick -> Format Document
What is expected?
To format exactly the same as App.vue
What is actually happening?
Any file that is not App.vue such as Comp.vue or somefile.js or somefile.ts they all get formatted with either Tabs or 4 spaces,
But if you tried to force 4 spaces into App.vue and do format, it strips it back down to 2 spaces (my prefered)
It's very weird that ONLY App.vue formats in one way, and EVERY OTHER file formats with completely different settings.
System Info
No response
Any additional comments?
This taken a while for me to work out, I knew something weird was going on, so I stopped formatting files, but then I did it out of habit and then 'it worked again' so I started formatting again, and then 'it was broken again'..
It has been days of using the playground on and off to realise it was File Dependant for when formatting worked vs was broken.