vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.56k stars 373 forks source link

some mistakes #4346

Closed wlonghaha closed 1 month ago

wlonghaha commented 1 month ago

Enviroment

Operating System: Windows 11

VsCode: 1.89.0

Vue - Official: 2.0.16

Hybrid Mode: true

Create a vue + typescript project using pnpm create vite, and run the following test

When typing a property with the mouse to the left of /, the / is lost.

error-close-tag

When the script block is in front of the template block, the highlighting is lost when code is folded, and normal when the template is in front of the script.

miss-high-light

If you enter a variable prefix (e.g. va), you won't be prompted, only if you enter val in full.

tips-lost

When typing import, the code will be expanded automatically.

auto-expand

When typing attributes (e.g. vue directive, class), the prompt is a bit slow, but it's better than the previous version.

tips-alittle-slow

Create a new vue file, when lang is tsx, the code highlighting error, prompt is missing, execute vscode reload window after displaying normal !

template-tsx-error

Other errors (occasional)

  • template block collapsing code arrows missing
  • typescript service crashes
so1ve commented 1 month ago

Duplicate of https://github.com/vuejs/language-tools/issues/4342