-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.regressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release
Milestone
Description
Environment
- OS and Version: Win/Linux/macOS
- VS Code Version: 1.92.2
- C/C++ Extension Version: 1.22.1(pre-release)
- If using SSH remote, specify OS of remote machine: NA
Bug Summary and Steps to Reproduce
Bug Summary: No error prompted after entering invalid path(C:/invalid-path) in Compiler path under C/C++ Configurations UI
Steps to reproduce:
- Create a Test folder and open with VS Code.
- Press F1 to open command palette and type 'C/C++: Edit Configurations (UI)'.
- Type C:/invalid-path in Compiler path.
- Observe the result.
Expected behavior:
This is a regression issue; it cannot repro in C++ Extension v1.21.6
Configuration and Logs
LSP: (received) cpptools/queryCompilerDefaults (id: 20)
LSP: (invoked) cpptools/queryCompilerDefaults (id: 20)
Querying compiler for default C++ language standard using command line: C:/invalid-path -x c++ -E -dM nul
Querying compiler for default C++ language standard using command line: C:/invalid-path -x c++ -E -dM /dev/null
Querying compiler for default C language standard using command line: C:/invalid-path -x c -E -dM nul
LSP: (received) cpptools/didChangeCppProperties (id: 21)
Querying compiler for default C language standard using command line: C:/invalid-path -x c -E -dM /dev/null
LSP: Sending response (id: 20)
LSP: (invoked) cpptools/didChangeCppProperties (id: 21)
Specified compiler was not found: C:/invalid-path
Specified compiler was not found: C:/invalid-path
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\CPPWINRT\ will be indexed
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\SHARED\ will be indexed
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\UCRT\ will be indexed
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\UM\ will be indexed
Folder: C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\WINRT\ will be indexed
Folder: C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PREVIEW\VC\TOOLS\MSVC\14.42.34226\ATLMFC\INCLUDE\* will be indexed
Folder: C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PREVIEW\VC\TOOLS\MSVC\14.42.34226\INCLUDE\* will be indexed
Folder: C:\USERS\V-ERICAWU\DESKTOP\TEST\ will be indexed
LSP: Sending response (id: 21)
Discovering files...
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\CPPWINRT\
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\SHARED\
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\UCRT\
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\UM\
Processing folder (recursive): C:\PROGRAM FILES (X86)\WINDOWS KITS\10\INCLUDE\10.0.22621.0\WINRT\
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/didChangeCppProperties (id: 22)
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeCppProperties (id: 22)
LSP: Sending response (id: 22)
Processing folder (non-recursive): C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PREVIEW\VC\TOOLS\MSVC\14.42.34226\ATLMFC\INCLUDE
Processing folder (non-recursive): C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\PREVIEW\VC\TOOLS\MSVC\14.42.34226\INCLUDE
Processing folder (recursive): C:\USERS\V-ERICAWU\DESKTOP\TEST\
Discovering files: 5035 file(s) processed
0 file(s) removed from database
Done discovering files.
Populating include completion cache.
Parsing remaining files...
Parsing: 0 files(s) processed
Done parsing remaining files.
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
LSP: (received) cpptools/didChangeVisibleTextEditors
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Other Extensions
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.regressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release
Type
Projects
Status
Done