elementary / elementary/code

Port to gtksourceview-5 for async completion operations and hovers

Đang mở
#1,066 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Code improvement Gtk4
Ngôn ngữ chính
Vala
Star
521
Fork
118
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Issue không nêu tên tệp, bài kiểm thử hay điểm vào nào. Trước tiên, hãy xác định implementation của completion hiện có và cấu hình build, sau đó so sánh các API completion và hover bất đồng bộ bắt buộc của gtksourceview-5. Được xem là hoàn tất khi trình soạn thảo hỗ trợ completion và hover không chặn cho các trường hợp sử dụng LSP của nó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
desktop, developer-experience
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.