Skip to content

Commit 264d22b

Browse files
Copilotsnehara99
andauthored
Add hover tooltips for CMake policy identifiers (#4754)
* Initial plan * Add CMake policy hover tooltips with version, description, and docs link Co-authored-by: snehara99 <[email protected]> * Improve policy descriptions to include complete first paragraph Co-authored-by: snehara99 <[email protected]> * Update policies.json with CMake 4.2.3 policies (CMP0181–CMP0204) Co-authored-by: snehara99 <[email protected]> * updated policies from process.py * updated policy formatting --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: snehara99 <[email protected]> Co-authored-by: Sneha Ramachandran <[email protected]>
1 parent a8536d5 commit 264d22b

3 files changed

Lines changed: 1123 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Improvements:
1919
- Add MSVC linker error problem matching to the Problems pane. [#4675](https://github.com/microsoft/vscode-cmake-tools/pull/4675) [@bradphelan](https://github.com/bradphelan)
2020
- Use environment variables from `cmake.environment` and `cmake.configureEnvironment` when expanding `$penv{}` macros in CMake Presets `include` paths. [#3578](https://github.com/microsoft/vscode-cmake-tools/issues/3578)
2121
- Allow preset modification commands to target CMakeUserPresets.json. The target file is determined by the focused editor, or by prompting the user when both files exist. [#4564](https://github.com/microsoft/vscode-cmake-tools/issues/4564)
22+
- Display info tooltip when hovering over CMake policy identifiers (e.g., `CMP0177`), showing the CMake version that introduced the policy, a short description, and a link to the official documentation. [#4544](https://github.com/microsoft/vscode-cmake-tools/issues/4544)
2223

2324
Bug Fixes:
2425
- Reduce overly verbose logging when CMake configure or build fails. The Output panel no longer floods with duplicated output, and the channel is only revealed on error rather than unconditionally. [#4749](https://github.com/microsoft/vscode-cmake-tools/issues/4749)

0 commit comments

Comments
 (0)