dracula / dracula/visual-studio-code

When searching, the highlighted text can become unreadable if it is a comment.

Đang mở
#283 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
880
Fork
223
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
1

Mô tả

```yaml
Version: 1.107.0 (user setup)
Commit: 618725e67565b290ba4da6fe2d29f8fa1d4e3622
Date: 2025-12-10T07:43:47.883Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26100

Dracula Theme Official: 2.25.1
Variant: Dracula Theme Soft

Language used in example: PHP
Font: Fira Code
```

When searching and highlighting there are scenarios where I cannot read the text, in particular for me it is when the text being searched for is a comment.

Below I have gone through some easy to follow steps to outline the issue.

Tanks

#### Step 1) Normal Text Highlight

Just text selected with the mouse
Image

#### Step 2) I now do a page search

I now do a page search for `as you cannot really delete`

Image

In the image below you can see 3 areas and3 different colours. `delete` is almost unreadable.

- `information and set blocked` = part of the original text highlight but not part of the page search
- `as you cannot really` = part of the original text highlight and now highlighted by the page search
- `delete` = NOT part of the original text highlight and now highlighted by the page search

Image

#### Step 3) I now do a project search

I now do a page search for `cannot really delete` and of course the page search is still enabled from above.

Image

There appears to be 2 different colour variants of the search highlighting here, but I am not sure why.

both the grey (`as you`)and orange are readable (`cannot really delete`) but I would say the orange looks like it has been greyed a little.

Image

The first part is a murky orange and cannot be read (`as you`), the next section is a vibrant orange and is easily read (`cannot really delete`)
Image

#### Step 4) Page search only

This is a page search only for `as you cannot really delete`. As you can see the text is not readable.

Image

#### Step 5) Project search only

This is a project search only for `as you cannot really delete`. As you can see the text is not readable.

Image

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

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

Hướng nghiên cứu

Tái hiện vấn đề trong Visual Studio Code bằng biến thể Dracula Theme Soft được báo cáo và năm kịch bản tìm kiếm được mô tả trong issue, đồng thời so sánh việc tìm kiếm trên trang và trong dự án đối với văn bản chú thích được đánh dấu. Truy vết các màu tìm kiếm và lựa chọn của theme từ cấu hình repository. Được xem là hoàn thành khi văn bản được tìm kiếm vẫn dễ đọc và các phần đánh dấu chồng lấp có độ tương phản nhất quán, dễ đọc.

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
Khá rõ ràng
Mức phù hợp với người mới
42/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.