elementary / elementary/code

Port to gtksourceview-5 for async completion operations and hovers

Aperta
#1,066 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Code improvement Gtk4
Lingua principale
Vala
Stelle
521
Fork
118
Merge medio
1g 8h
PR unite (30g)
14

Descrizione

## Problem
Code could provider better support for completion and gain a hover using gtksourceview-5, for these reasons:

1. Completions should be async in order to help run async operations to calculate items, like when using LSP environments where a client request to the server completion items asynchronously, new API in gtksourceview-5 performs populate items async.
2. New gtksourceview-5 has support to provide hovers, that is an important features for code editors in order to show context information like LSP environments requesting information to servers on the current context, in version 5 populate hover is also async and is required for LSP too in order to avoid UI block.

## Proposal
Port Code to use gtksourceview-5 in order to increase its compatilibility with LSP servers.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.