vuejs / language-tools

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

Support for the Zed code editor #4608

Open danulqua opened 1 month ago

danulqua commented 1 month ago

What problem does this feature solve?

Zed is a fast growing native code editor. It already has a Vue extension but it lacks a lot of features.

What does the proposed solution look like?

Good support for the Zed code editor like auto components import suggestions as you type the component name in the template; navigating to the component declaration on Command+Click and any other features that are available in WebStorm on VSCode.

so1ve commented 1 month ago

https://github.com/zed-industries/zed/pull/9846 Do you mean zed should upgrade to v2?

RayGuo-ergou commented 1 month ago

You should report to zed rather than here.

Vue language server support all editors if the editor has a lsp client.

danulqua commented 1 month ago

@RayGuo-ergou didn't know that, sorry for the noise! @so1ve maybe. From my experience, it just lacks some things that I described in the issue, any probably more.

RayGuo-ergou commented 1 month ago

Totally understandable, not a noise for sure. Sorry if I made you feel that way.

auto components import suggestions as you type the component name in the template; navigating to the component declaration on Command+Click

I am bit surprise zed does not support these auto complete and goto definition are pretty basic events. Probably because zed stilling pins the version to v1?

fazulk commented 1 month ago

Totally understandable, not a noise for sure. Sorry if I made you feel that way.

auto components import suggestions as you type the component name in the template; navigating to the component declaration on Command+Click

I am bit surprise zed does not support these auto complete and goto definition are pretty basic events. Probably because zed stilling pins the version to v1?

This was working at some point. Looks like a bug in zed.