zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
46.78k stars 2.67k forks source link

Add (additional) LSP commands to Command Palette #4638

Open Cupnfish opened 1 year ago

Cupnfish commented 1 year ago

Check for existing issues

Describe the feature

While using the Zed Editor, I noticed that it does not support some additional LSP (Language Server Protocol) commands such as macro expansion and workspace refresh. These commands can improve the functionality and user experience of the editor.

I would like to request the addition of these additional LSP commands to the command input panel of the Zed Editor for easy access by users. I have searched for related issues, but have not found any similar requests. If someone finds a similar issue, please close this issue.

Proposed implementation:

  1. Add the additional LSP commands to the Zed Editor's command input panel based on cmd + p for easy access by users.

  2. Support common LSP commands such as macro expansion, workspace refresh, etc.

  3. Ensure that the added functionality is compatible with the existing functionality of the Zed Editor and does not affect the performance of the editor.

Thank you for your consideration.

If applicable, add mockups / screenshots to help present your vision of the feature

image
JosephTLyons commented 9 months ago

Rust macro expansion is available in v0.117.0-pre, as of today.