rzukic / zed-latex

33 stars 4 forks source link

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

Open lnay opened 2 months ago

lnay commented 2 months ago

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

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:

lnay commented 2 months ago

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: https://github.com/zed-industries/zed/issues/13756