Each configuration in `c_cpp_properties.json` supports independent environment variables.
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
The issue describes c_cpp_properties.json configurations and proposes an environmentSetupScript setting, but names no implementation files or tests. Start by finding where configuration properties are defined and loaded, then trace how the selected configuration is applied. Done means each configuration can use its own environment setup script when selected; the issue does not specify test locations or exact behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Feature Request
Some toolchains require environment variables to be set beforehand in order to compile successfully, such as QNX.
For example, changing the c_cpp_properties.json from
{
"configurations": [
{
"name": "qnx710",
"compileCommands": "qnx710_build/compile_commands.json",
"browse": {
"path": []
}
},
{
"name": "qnx800",
"compileCommands": "qnx800_build/compile_commands.json",
"browse": {
"path": []
}
}
],
"version": 4
}
to
{
"configurations": [
{
"name": "qnx710",
"environmentSetupScript": "/opt/qnx710/qnxsdp-env.sh",
"compileCommands": "qnx710_build/compile_commands.json",
"browse": {
"path": []
}
},
{
"name": "qnx800",
"environmentSetupScript": "/opt/qnx800/qnxsdp-env.sh",
"compileCommands": "qnx800_build/compile_commands.json",
"browse": {
"path": []
}
}
],
"version": 4
}
Requiring users to import environment variables before launching VS Code would be cumbersome, because a project may contain many configurations, not just the two mentioned above, and users may frequently switch between configurations.
- Ngôn ngữ chính
- TypeScript
- Star
- 6.2k
- Fork
- 1.7k
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc 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.
Issue khác của microsoft/vscode-cpptools
-
Missing gcc __builtin_stdc_bit_width/floor/ceil signature makes intellisense wrongly report error 70Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
microsoft/vscode-cpptools#14874 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
microsoft/vscode-cpptools#14872 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
microsoft/vscode-cpptools#14871 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
debugger
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
microsoft/vscode-cpptools#14869 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Goto definition (F12) not working with (recursive) includesCó thể đã có người làm @Colengms đã nhận 6 ngày trước. Đang mởbug fixed Language Service
microsoft/vscode-cpptools#14868 · 2 bình luận · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/vscode-cpptools
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
ilan-pinto/roaring-lions#1552 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: [React Native/Android] KeepAliveService never starts when CAMERA is not granted (Android 14+)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cloudflare/realtimekit-ui#208 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
usebruno/bruno-vscode#235 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày