Details
-
Task
-
Resolution: Out of scope
-
P2: Important
-
None
-
None
-
None
Description
The following examples show a fundamental limitation of the current code model:
function foo() { return new Date } var x = foo() x.<complete fails>
function foo(a) {
a.<complete fails>
}
foo(new Date)
To offer useful completion in these cases we either need to annotate functions with information about return and argument types or implement intricate static analysis.
Attachments
Issue Links
- resulted from
-
QTCREATORBUG-6094 "Follow Symbol Under Cursor" should work for variable and function name in js file.
- Closed