Open kingyue737 opened 3 months ago
Repro: https://github.com/kingyue737/volar-starter-service-v2
I've changed the config according to the docs:
module.exports = { services: [require("volar-service-prettyhtml").create({ printWidth: 10 })], }
and format App.vue with Vue Offical extension. Nothing happened.
App.vue
Then I tried
module.exports = { services: [ require("volar-service-prettyhtml").create({ getFormattingOptions() { return { printWidth: 10 }; }, }), ], };
Nothing happened again.
I also added console.log("print something"); in volar.config.js but nothing was printed in output of Vue Language Server.
console.log("print something");
volar.config.js
I've also tried volar-service-vetur. It does not work either in my old vue2 project.
volar-service-vetur
OS: Windows 11
Repro: https://github.com/kingyue737/volar-starter-service-v2
I've changed the config according to the docs:
and format
App.vue
with Vue Offical extension. Nothing happened.Then I tried
Nothing happened again.
I also added
console.log("print something");
involar.config.js
but nothing was printed in output of Vue Language Server.I've also tried
volar-service-vetur
. It does not work either in my old vue2 project.OS: Windows 11