Skip to content

Gtk4Prep: Use Gtk.SourceCompletionWords#1765

Open
jeremypw wants to merge 3 commits into
masterfrom
jeremypw/completionproviderwords
Open

Gtk4Prep: Use Gtk.SourceCompletionWords#1765
jeremypw wants to merge 3 commits into
masterfrom
jeremypw/completionproviderwords

Conversation

@jeremypw

@jeremypw jeremypw commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

It is not clear why we implement our own word completion plugin when there is a provider already provided by Gtk. Our provider handler a wider range of characters but these are generally ones not allowed in Vala code names (and there are some flaws in our provider).

Pushing this for testing to see whether the Gtk provider is sufficient for Code, in which case a lot of code can be dropped and the porting made easier.

Converting our provider to GtkSource5 requires significant changes although not too hard.

If we are going to have our own provider it might be more useful to get proposals from the Vala symbols pane including info like function signatures and from relevant .vapi files.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants