shortcutme / Sublime-IntelliDocs

Quick function parameter hint for Sublime 3.x.
MIT License
37 stars 9 forks source link

add CMake db and script to update it #15

Closed dirk-thomas closed 4 years ago

dirk-thomas commented 9 years ago

This patch contains a script to parse the public CMake documentation (http://www.cmake.org/cmake/help/latest/) and extract:

For each entry the brief description is shown as well as a link to the documentation on cmake.org. For the commands the signatures are shown as well.

Since in CMake a single function can have different signatures I extended intellidocs.py to support lists in the syntax attribute (while continue to work with strings for compatibility with the other languages). I also updated the pattern for matching the help links since the previously generic entry devdocs.io does not work for CMake.

Please let me know if I should update the PR in any way.

dirk-thomas commented 4 years ago

Closing since there was no response, I don't use Sublime anymore, and will remove my fork.