Roberto Raggi
4ee8a199af
Introduced Document::isQmlDocument() and Document::isJSDocument().
2010-03-29 12:56:25 +02:00
Roberto Raggi
7c04d11f44
Automagically hide the completion box when the text under cursor matches the only item in the completion box.
2010-03-29 10:49:21 +02:00
Roberto Raggi
cbf1fe8c3a
Fixed possible crash when using completion when completing code in invalid documents.
2010-03-29 10:45:18 +02:00
Christian Kamm
81e74d23a3
QmlJSEditor: Set an icon for keyword completions.
2010-03-26 14:17:03 +01:00
Christian Kamm
b2bb919e45
QmlJSEditor: Add completion for JS keywords and Qml reserved words.
...
Task-number: QTCREATORBUG-919
Reviewed-by: Roberto Raggi
2010-03-26 13:51:46 +01:00
Christian Kamm
9ea01cf5fb
Improve Qml code model import handling.
...
* Fill the snapshot with files that could be imported.
* Implement package imports.
* The qmldir file is not parsed yet.
Reviewed-by: Erik Verbruggen
2010-03-18 11:25:37 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Christian Kamm
8d14f18ec0
Add an accessor to get the flat scope list from ScopeChain.
...
Done-with: Erik Verbruggen
2010-02-22 10:22:23 +01:00
Christian Kamm
08cfc8f28c
Pass in the whole AST path for scope creation.
...
Just the declaring member isn't enough.
2010-02-22 10:22:23 +01:00
Christian Kamm
c289897351
Make QmlJS scope building more flexible.
...
Instead of only maintaining a flat list of scopes, actually store the
global, component chain, root object, scope object, function, id and js
scopes separately.
2010-02-22 10:22:23 +01:00
Roberto Raggi
83e40337d9
Simplified the algorithm used to compute the expression under cursor.
2010-02-15 14:54:03 +01:00
Roberto Raggi
2a63387085
Renamed qmlmodelmanager.
2010-02-15 13:49:00 +01:00
Roberto Raggi
d22610c724
Renamed qmlcodecompletion.
2010-02-15 13:39:41 +01:00