Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 4.15.1
-
None
Description
Let's say I have a method in CPP like this with a description
//! This is my test function
Q_INVOKABLE void test(QString q, QString b);
and I invoke the method in QML like this
TestClass.test("String1", "String2")
Now, If I hover my mouse over `TestClass.test`, the Qt Editor just says `Function`.
Visibility of comments on mouse hover would have been more helpful for referring to the same code in the future or for someone new who would like to understand the code. Else its pretty difficult in QML side to repeatedly go and check the CPP part