Skip to content

Commit f0d086c

Browse files
hanniavaleraHannia Valera
andauthored
Syntax Highlighting Improvements (#4740)
* Preliminary attempt at taking in colorization suggestions and addressing feedback (included a manual visual test) * imrpoved approach (additive to refactor) * tightening list() keywords and such + added tests for generator expression ending * addressingfind_package_handle_standard_args() and find_package_check_version() colorization * took in duplicated operator regex into shared conditionalOperators rule * removed dead include escape from unquoted rule + comment * changed out the scoped stuff so that we keep a unified rule as opposed to splitting off * fixed the fetch content declare edge case --------- Co-authored-by: Hannia Valera <[email protected]>
1 parent 4df8e75 commit f0d086c

3 files changed

Lines changed: 606 additions & 118 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Features:
99
- Add "Delete Cache, Reconfigure and Build" command that chains cache deletion, reconfiguration, and build into a single action. [#4723](https://github.com/microsoft/vscode-cmake-tools/pull/4723)
1010

1111
Improvements:
12+
- Improve CMake syntax highlighting with command-scoped keyword rules, expanded variable recognition, and better generator-expression support. Remove obsolete deprecated-keyword entries that caused false positives on user-defined names. [#4709](https://github.com/microsoft/vscode-cmake-tools/issues/4709) [#4508](https://github.com/microsoft/vscode-cmake-tools/issues/4508) [#4613](https://github.com/microsoft/vscode-cmake-tools/issues/4613)
1213
- 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)
1314
- 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)
1415
- 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)

0 commit comments

Comments
 (0)