CMake: Load context-sensitive help.

CMake 3 uses reStructuredText and Sphinx for documentation. Those
tools can generate Qt qch files, which makes it possible to load
the documentation in QtCreator and to enable context-sensitive
help when editing a cmake language file.

Add a simple parser to process commands. This may be extended in the
future to process variables and properties too.

Change-Id: Ic5a49a9ce828ad9a9e8ff4805b48302ee73bcc71
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com>
This commit is contained in:
Stephen Kelly
2014-06-17 11:33:58 +02:00
parent 924edb3d61
commit d70485180a
2 changed files with 44 additions and 0 deletions

View File

@@ -55,6 +55,8 @@ public:
Core::IEditor *duplicate();
TextEditor::CompletionAssistProvider *completionAssistProvider();
QString contextHelpId() const;
private slots:
void markAsChanged();
void build();