elementary / elementary/code

Port to gtksourceview-5 for async completion operations and hovers

Open
#1,066 2 comments 1 reaction 0 assignees View on GitHub
Code improvement Gtk4
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

## 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.