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

Complete plugin extensions patches #3850

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

Complete plugin extensions patches #3850

wants to merge 13 commits into from

Conversation

techee
Copy link
Member

@techee techee commented Apr 21, 2024

This is the complete counterpart of #3849, including the sidebar symbol patches and also #3707 and #3572.

These are all the diffs against Geany itself from https://github.com/techee/geany-lsp.

We need to call plugin_extension_doc_symbols_provided() to detect if
plugins provide tags and we need GeanyDocument for it.
When session opening starts, this signal is emitted with parameter
TRUE, when it stops, with FALSE.

This gives plugins information e.g. whether document opening happens
as a result of user action or whether it's part of initial session
opening.
Right now only the "document-save" is fired when performing "save as"
which lacks the information about the original file name (which, for
instance, is necessary for the LSP client where it needs to notify
the server that the "old" document was closed and the document under
the new name opened).
@techee techee added the lsp Related to LSP API and plugins label Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lsp Related to LSP API and plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant