exercism / exercism/java-analyzer

Skip analysis of non-solution files

Đang mở
#132 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
x:action/improve x:knowledge/intermediate x:module/analyzer x:size/medium x:type/coding
Ngôn ngữ chính
Java
Star
13
Fork
27
Merge trung bình
4 ngày 17 giờ
Pull request đã merge (30 ngày)
7

Mô tả

Some exercises consist of more than one file in the `src/main/java` folder, and some of them are designed to be read-only files. These are marked as such in the exercise's `.meta/config.json` file, because they should be listed in the `files.editor` list.

For example, the [configuration for the `wizards-and-warriors-2` exercise](https://github.com/exercism/java/blob/main/exercises/concept/wizards-and-warriors-2/.meta/config.json) lists the following files as read-only:

- `src/main/java/Character.java`
- `src/main/java/Destination.java`
- `src/main/java/TravelMethod.java`

The goal of this issue is to make sure that read-only files are never processed by the analyzer.

In most cases processing these files may not introduce any issues, but just in case one of them contains code that triggers an analyzer comment we should skip them by default. If not, a student may receive feedback on a file that they did not write and cannot edit, which is just confusing.

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

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

Hướng nghiên cứu

Bắt đầu với exercises/concept/wizards-and-warriors-2/.meta/config.json và theo dõi cách analyzer đọc danh sách files.editor của nó. Hoàn thành khi các tệp được đánh dấu là chỉ đọc ở đó bị loại khỏi quá trình phân tích, trong khi các tệp lời giải có thể chỉnh sửa vẫn tiếp tục được xử lý.

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

Đánh giá

Công nghệ
java
Lĩnh vực
tooling
Loại issue
Tính năng
Độ 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.