dracula / dracula/visual-studio-code
[Bug/Enhancement] No highlight when selecting snippet placeholder
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 879
- Fork
- 222
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
Description
When using the Dracula theme in VS Code, snippet placeholders (e.g. $1) can be filled normally. However, when selecting the inserted text with Shift + ←/→, the selected part has no visual distinction from the surrounding text. It looks like the selection is not applied.
https://github.com/user-attachments/assets/23ff244a-0c91-47c0-bcc0-804c4ab54f1c
https://github.com/user-attachments/assets/d7ded54e-fcff-4d85-bdeb-2958c51fd28f
Steps to Reproduce
- Enable the Dracula theme in VS Code.
- Insert a user snippet containing a
$1placeholder. - Type into the
$1position. - Use
Shift + ←/→to select the text. - Observe the selection effect.
Expected Behavior
The selected text should be visually highlighted and clearly distinguished from the surrounding text.
Actual Behavior
The selected text has no visible highlight, making it indistinguishable from unselected text.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện vấn đề trong VS Code bằng cách sử dụng theme Dracula và một snippet có placeholder $1. Kiểm tra cấu hình theme để tìm các màu liên quan đến vùng chọn và xác minh rằng văn bản được chọn có thể phân biệt rõ ràng bằng mắt với văn bản xung quanh khi đang chỉnh sửa snippet.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- vscode
- Lĩnh vực
- design
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 48/100