microsoft / microsoft/vscode-cmake-tools
Double-clicking on one of a target's "References" does nothing
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Brief Issue Summary
The project outline currently correctly lists referenced targets of a target correctly. But double-clicking currently does nothing.
### Expected behavior
On double-clicking a reference, open the CMake file containing the corresponding `add_executable`, `add_library` etc. call and scroll to the respective line.
This is the current behavior of Visual Studio 2022 when opening a folder containing a CMake project.
### Actual behavior
Nothing happens.
### CMake Tools Diagnostics
_No response_
### Debug Log
_No response_
### Additional Information
VS Code: 1.91.0
Tested extension version: v1.18.42
Contributor guide
Research direction
Start with the project outline's References view and its double-click interaction. Trace how referenced CMake targets are represented and located, then verify that activating a reference opens the CMake file at the corresponding add_executable or add_library line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript, vscode
- Domain
- build-system, developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100