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

✨ Add missing theme tokens

Đang mở
#1,925 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
swift
Lĩnh vực
design, desktop

Hướng nghiên cứu

Issue không nêu tên tệp hay bài kiểm thử nào; trước tiên hãy tìm các định nghĩa theme-token và các tài nguyên theme được đóng gói, sau đó so sánh các mục Types và Variables hiện có với danh sách token được đề xuất. Được xem là hoàn tất khi các token được yêu cầu đã được triển khai, các mục cũ đã được thay thế như đã chỉ định và tất cả theme được đóng gói đều bao gồm các token đã cập nhật.

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

Mô tả

enhancement theme
Description

We currently have "Types" and "Variables" theme tokens. We should replace these two with "Types Declarations", "Type Names", "Variable Declarations", "Variable Names". There are also several more that we might add...

  • classNames
  • typeDeclarations
  • typeNames
  • variableDeclarations
  • variableNames
  • functionDeclarations
  • functionNames
  • propertyNames
  • constants
  • parameterNames
  • moduleNames
  • namespaceNames
  • preprocessorMacros
  • enumMembers
  • annotations

If we added these, the complete token list would look like this...

  • text
  • background
  • insertionPoint
  • lineHighlight
  • selection
  • invisibles
  • keywords
  • classNames
  • types
  • typeDeclarations
  • typeNames
  • attributes
  • commands
  • values
  • constants
  • numbers
  • strings
  • characters
  • variableDeclarations
  • variableNames
  • propertyNames
  • parameterNames
  • functionDeclarations
  • functionNames
  • moduleNames
  • namespaceNames
  • enumMembers
  • preprocessorMacros
  • annotations
  • comments
Additional Context

In Xcode, class names, function names, type names, etc. are differentiated between “Project” and “Other”. This helps developers quickly see what’s part of their project vs. an external dependency, making it easier to navigate complex projects, identify ownership of code, and make refactoring decisions. Is this something we want to implement as well?

We also need to update all of our bundled themes to include these tokens.

Ngôn ngữ chính
Swift
Star
23k
Fork
1.2k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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

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.