Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

✨ Snippets

Đang mở
#1,623 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

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

Hướng nghiên cứu

Issue nêu completion service và menu của CodeEditSourceEditor, cùng với hỗ trợ wildcard, là các blocker, nhưng không cung cấp file triển khai hoặc test nào. Hãy bắt đầu bằng việc đọc các khu vực đó của CodeEditSourceEditor và làm rõ phạm vi của thư viện snippet cũng như các API về chèn, completion, wildcard và extension. Được xem là hoàn thành khi các chức năng được liệt kê về tạo snippet, chèn con trỏ, completion theo scope, wildcard, extension và hành vi overlay hoạt động.

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

Mô tả

enhancement extensions snippets toolbar
Description

Users should be able to make and insert code snippets to insert into their open file at the current cursor position.

Snippets should be able to support wildcards.

Snippets should have a completion, so when a set of characters are typed within a given scope, it will suggest the snippet without having to open the Snippets overlay.

Additionally, extensions should be able to add snippets.

We might include this in a larger library feature at a later point in time.

The snippets/library overlay could be accessed by a keyboard shortcut and/or a plus icon button in the toolbar.

[!NOTE]
There may require additional functionality to be build into CodeEditSourceEditor to support some of this, so we may need to do some of this after this is done.

Blockers
  • CodeEditSourceEditor completion service and menu
  • CodeEditSourceEditor wildcard support
Screenshots
Screenshot 2024-03-14 at 2 34 06 PM image Screenshot 2024-03-14 at 2 36 13 PM
Ngôn ngữ chính
Swift
Star
23.1k
Fork
1.2k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CodeEditApp/CodeEdit

Tất cả issue của CodeEditApp/CodeEdit

Issue tương tự

Thêm issue về Swift

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.