Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Other texlab actions (build, forward search, change environment...) #19

Open
1 of 4 tasks
lnay opened this issue Sep 5, 2024 · 1 comment
Open
1 of 4 tasks
Labels
blocked upstream Changes needed in texlab, grammar, zed, .... enhancement New feature or request texlab Language server related

Comments

@lnay
Copy link
Collaborator

lnay commented Sep 5, 2024

texlab provides workspace commands such as "change environment", I'm not aware of a way to trigger such an action from Zed.

  • Explore if/how/when Zed can trigger such workspace commands
  • Implement anything needed from this extension to enable this for users
  • Add instructions to wiki for binding keyboard shortcuts to such actions

Relevant Zed issues: 1 2
A skim of these make it sound like this is not possible for end users but it unclear whether this reply came after something done in the core editor, or the rust extension which can be replicated in this extension:

  • Explore Zed's inbuilt rust extension if it exposes LSP workspace commands in a way that's also possible for 3rd party ones
@lnay
Copy link
Collaborator Author

lnay commented Sep 9, 2024

The inbuilt rust extension does not use the same extension API as third party ones.
The current extension API exposes no way of achieving these LSP actions, and Zed is not suggesting any code actions (namely "change environment") when the cursor is at an appropriate position.

If interested in this capability, make sure to thumbs up this Zed issue: zed-industries/zed#13756

@lnay lnay added the enhancement New feature or request label Sep 12, 2024
@lnay lnay changed the title Other texlab actions Other texlab actions (build, forward search, change environment...) Oct 3, 2024
@lnay lnay added the texlab Language server related label Oct 3, 2024
@lnay lnay added the blocked upstream Changes needed in texlab, grammar, zed, .... label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked upstream Changes needed in texlab, grammar, zed, .... enhancement New feature or request texlab Language server related
Projects
None yet
Development

No branches or pull requests

1 participant