elementary / elementary/code

Port to gtksourceview-5 for async completion operations and hovers

未关闭
#1,066 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
Code improvement Gtk4
主要语言
Vala
星标
521
派生
118
平均合并
1 天 8 小时
30 天内合并 PR
14

描述

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

贡献指南

打开贡献指南

调研方向

该 issue 未指出任何文件、测试或入口点。首先定位现有的补全实现和构建配置,然后比较 gtksourceview-5 所需的异步补全和悬停 API。完成的标准是编辑器能够为其 LSP 用例支持非阻塞补全和悬停。

由索引模型根据 Issue 内容生成。

评估

领域
desktop, developer-experience
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。