seanwash / vscode-vue-components

.vue component syntax highlighting for visual studio code
5 stars 1 forks source link

Format Document can not be execute in .vue file #6

Open yiuyiu opened 7 years ago

yiuyiu commented 7 years ago

hello~~(●'◡'●) when i add { "files.associations": { "*.vue": "vue" } } . 1.7.1 new updates's "Format Document / Format Selection"can not be execute.

seanwash commented 7 years ago

Thanks for reporting that! I've been slow lately since I've been on the hunt for a new day job, but I'l get to this when I have a chance.

WangJi commented 7 years ago

with the help of beautify extension, we could get format code command back. image

WangJi commented 7 years ago

PS, if you are using pug/jade and want beautify to ignore template tag, you should create a .jsbeautifyrc config file, and set unformatted property. See beautify setting.