You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short answer:
The completion of the user defined functions is difficult. I'm not planning to support it at the moment.
Long answer:
CMake is not providing any API to get function information. To get complete information of functions, parsing CMake scripts and simulating them are needed. It is roughly equivalent to making a copy of CMake. I gave up on it and took another approach which is to parsing the CMake document. It provides limited but useful information of the builtin functions.
Therefore, the current implementation of LSP cannot handle user-defined function.
Examples:
find_package_handle_standard_args
inFindPackageHandleStandardArgs
find_package_message
inFindPackageMessage
cmake_dependent_option
inCMakeDependentOption
The text was updated successfully, but these errors were encountered: