Closed liurui39660 closed 1 year ago
For now, only CMake properties described at https://cmake.org/cmake/help/v3.16/manual/cmake-properties.7.html are correctly highlighted. All command-specific properties (like OUTPUT for ADD_CUSTOM_COMMAND) are not recognized. Also, COMMANDS and DEPENDS are recognized here occasionally, just cause similar global properties/operators exist.
PS Planning to implement more semantic checks in the future. It just needs to input all that rules manually and it gonna take a lot of time probably...
Done in 223.1.0 (and up) of CMake Plus plugin
What happened
OUTPUT
ofADD_CUSTOM_COMMAND
is not highlighted as a CMake property.How to reproduce
CMakeLists.txt
file.Expected result
OUTPUT
is highlighted as a CMake property.Actual result
It shows the color of normal text.
System info
CLion 2019.3.4 Build #CL-193.6494.38, built on February 11, 2020 Runtime version: 11.0.5+10-b520.38 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 CMake simple highlighter: 193.3.2 CMake Plus: 193.3.1