Allow specific file paths in `includePath` and `browse.path` from a custom provider and `c_cpp_properties.json`
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
- 48/100
Hướng nghiên cứu
Bắt đầu với các thiết lập includePath và browse.path trong c_cpp_properties.json, sau đó kiểm tra điểm vào của custom provider và so sánh cách xử lý đường dẫn của chúng với forcedInclude. Hoàn thành khi các đường dẫn .c và .h cụ thể được chấp nhận từ cả hai nguồn cấu hình mà không có lỗi thư mục và chỉ các tệp được yêu cầu được phân tích.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello,
currently only folders can be specified in browse.path and includePath.
This leads to issues in bigger projects that contain smaller sub-projects.
project
├───common_include
│ ├───foo.h
│ └───bar.h
├───target_include
│ ├───foo.h
│ └───bar.h
└───main.c
As an example, here only common_include/foo.h and target_include/bar.h are required but as only folders can be defined via browse.path and includePath both */foo.h and */bar.h files will be parsed.
This may be solved by using compile_commands.json files however this is not possible in my case.
I know all the correct files that should be used in IntelliSense however I'm unable to define them as these
browse.path: Path is not a directory: c:\path\to\common_include\foo.h
includePath: Path is not a directory: c:\path\to\target_include\bar.h
errors are raised while entering specific files (applies to both .h and .c files).
At the same time forcedInclude allows to define specific files that should be included.
Would it be possible to allow specific files to also be defined in the other settings in the c_cpp_properties.json file and by a custom provider?
- 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
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.
Issue khác của microsoft/vscode-cpptools-api
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
microsoft/vscode-cpptools-api#56 · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
microsoft/vscode-cpptools-api#50 · 2 bình luận · 2 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
microsoft/vscode-cpptools-api#43 · 6 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/vscode-cpptools-api#42 · 2 bình luận · 1 reaction ·
Tất cả issue của microsoft/vscode-cpptools-api
Issue tương tự
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100