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

Add LSP plugin #1331

Open
wants to merge 117 commits into
base: master
Choose a base branch
from
Open

Add LSP plugin #1331

wants to merge 117 commits into from

Conversation

techee
Copy link
Member

@techee techee commented Apr 22, 2024

This is a work-in-progress PR to add the LSP plugin. There are still some things missing like the documentation but in general the plugin should work. There are 3 modes of operation:

  1. Without Geany LSP support
  2. With basic LSP support using Plugin extensions (aka LSP API) geany#3849
  3. With full LSP support using Complete plugin extensions patches geany#3850

The plugin should detect with which of these modes Geany was compiled and adjust itself automatically.

For the time being I still plan continue the main development of the plugin under https://github.com/techee/geany-lsp and sync the changes here from time to time.

techee added 26 commits June 2, 2024 16:19
@techee
Copy link
Member Author

techee commented Jun 7, 2024

@b4n I added this feature to the plugin that other LSP clients implement as well (not tested much yet):

https://github.com/techee/geany-lsp/blob/c56de66cecf4dff2c1b1a98ea37b22bd2af73f03/plugins/lsp/data/lsp.conf#L56-L68

This should essentially allow automatic opening/closing of multiple projects even if no Geany project is open and at least partially fix the problem you had when opening random files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants