peakchen90 / vue-beautify

vscode的一个vue格式化插件
https://marketplace.visualstudio.com/items?itemName=peakchen90.vue-beautify
25 stars 21 forks source link

'vueBeautify.format' not found #30

Open aislanmaia opened 5 years ago

aislanmaia commented 5 years ago

Pressing Ctrl+Shift+F, VSCode shows up the message command 'vueBeautify.format' not found

gkpo commented 5 years ago

Had the same issue, then I uninstalled the extension and re-installed it. Now the message has disappeared, but nothing happens when I click "Vue Beautify" in the context menu.... ??

ohbob commented 5 years ago

got the same problem

leads commented 5 years ago

Also get this

yasirrose commented 5 years ago

Mine is fixed.

Install Prettier extension. URL - https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode Go to File > Preferences > Settings Add below, "prettier.singleQuote": true, "prettier.semi": false, "prettier.eslintIntegration": true Save. Try Alt + Shift + F

simon300000 commented 5 years ago

Same here on macOS vs code: 1.36.1

simon300000 commented 5 years ago

Got it fixed by use this instead: https://github.com/Keraun/vue-beautify https://marketplace.visualstudio.com/items?itemName=peakchen90.vue-beautify

trusktr commented 5 years ago

Same issue here. Looks like @peakchen90 doesn't have time for this.

vue-beautify2 plugin works though! (says "no longer maintained", but at least it works).

zeroone001 commented 5 years ago

Same issue here. vue-beautify2 plugin works properly. uninstall vue-beautify

krbaio3 commented 4 years ago

I have the same problem, but I can "fix" changing the config.

    {
        "key": "ctrl+shift+f",
        "command": "vueBeautify.format",
        "when": "!editorReadonly && resourceLangId == 'vue'"
    },
isetpro commented 4 years ago

Mine is fixed.

Install Prettier extension. URL - https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode Go to File > Preferences > Settings Add below, "prettier.singleQuote": true, "prettier.semi": false, "prettier.eslintIntegration": true Save. Try Alt + Shift + F

I tried it, but it didn't work. Also I did't find "prettier.eslintIntegration"'s setting

Ezra-Siton-UIX commented 4 years ago

vue-beautify Note: This project is no longer maintained (under readme.md).

Solution works for me( VS 1.44) : Remove vue-beautify reload --> and install vue-beautify2 (vue-beautify 281,477 download plugin not working - why not removing this plugin from VS list?).

Download: https://marketplace.visualstudio.com/items?itemName=keraun.vue-beautify2

shortcuts

Change keyboard shortcut her (I like to use shift+tab like codepen/jsfiddle shortcut for auto-indent)

image

type vue click twice and change: image

Screaminlean commented 4 years ago

vue-beautify2 completely screws the formatting VS Code 1.45.0

ejaz47 commented 4 years ago

Best in the market vue-format.

Wesley-Sinde commented 2 years ago

Just Install Vetur and all will be done here is the information about it

Name: Vetur Id: octref.vetur Description: Vue tooling for VS Code Version: 0.35.0 Publisher: Pine Wu VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=octref.vetur