microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.46k stars 449 forks source link

CMake Quick Start command asks user to browse a CMakeLists.txt #3710

Closed suikan4github closed 4 months ago

suikan4github commented 5 months ago

Brief Issue Summary

In the WSL environment, when a user creates a new project in an empty directory, the CMake Quick Start command asks the user to browse an existing CMakeLists.txt. This makes users confused.

This browse request is not explained in the document. So, it could be a bug.

Note: I saw this issue only once in a user account. So, you may need to create a new VM to see.

Environment

Procedure to reproduce

Please see the procedure to reproduce :

  1. From the bash, launch vs code.
  2. Run the CMake Quick Start command from the command pallet.
  3. Select a kit.
  4. You will see the message to browse the existing CMakeLists.txt.

Screenshots

Launch the VS Code from an empty directory, and start the CMake Quick Start command. ( procedure 1 and 2 )

Select a kit (3).

You will see the message to browse the existing CMakeLists.txt(4)

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response

v-frankwang commented 5 months ago

@gcampbell-msft Following the steps given by the user, this issue we can reproduce on top of the latest VSCode and you can get some information below:

ENV: VS Code: 1.88.1 CMake tools: 1.18.27 C/C++:1.20.1

Repro steps recording: repro

gcampbell-msft commented 5 months ago

@qarni FYI.

gcampbell-msft commented 4 months ago

@qarni I believe this is fixed with #3717. Closing. However, please confirm if not fixed.