microsoft / microsoft/vscode-cpptools-api
`WorkspaceBrowseConfiguration` should support multiple sets of compiler path/args
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- TypeScript
- Star
- 33
- Fork
- 20
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
If I understand correctly, it’s not uncommon for CMake projects to consist of several subprojects that could use different relevant args or hypothetically even different compilers (i.e. target binaries vs. tools built for the host system to be used by the build).
There is also the need for C vs. C++ information, as compiler queries for either may result in different system include paths.
Processing N sets of compiler paths/args here would be similar to what cpptools does with compile_commands.json files - processes all provided compiler paths and (unique and relevant combinations of) args, to build the browse path(s). Cpptools should be able to avoid redundantly querying compilers, so it should not be critical that the configuration provider de-dupe this set.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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
Bắt đầu bằng cách đọc WorkspaceBrowseConfiguration API và xem xét cách cpptools xử lý compile_commands.json, như được mô tả trong issue. Xác định và ghi lại tài liệu về khả năng hỗ trợ nhiều bộ đường dẫn/tham số trình biên dịch, bao gồm các truy vấn riêng biệt cho C và C++; công việc được xem là hoàn tất khi API có thể biểu diễn các bộ này cho các dự án con mà không yêu cầu các truy vấn trình biên dịch dư thừa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- cmake, cpp, typescript
- Lĩnh vực
- api, devtools
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- 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
- 25/100