Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Port to gtksourceview-5 for async completion operations and hovers

未关闭
#1,066 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

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

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

描述

Code improvement Gtk4

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.

主要语言
Vala
星标
521
派生
119
平均合并
1 天 7 小时
30 天内合并 PR
13

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

elementary/code 的其他 Issue

查看 elementary/code 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

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