Roberto Raggi
2d2ec2b785
Cleanup
2010-01-25 09:31:34 +01:00
Thorbjørn Lindeijer
d3acff747c
Don't try to read the next start element after the root element
...
There can only be one root element in an XML document, and when we try
to read another one we get a premature end of document error.
2010-01-22 15:54:03 +01:00
Roberto Raggi
099f2072a2
Added a simple scanner to get the expression under cursor.
2010-01-22 14:42:59 +01:00
Roberto Raggi
f837d49ca4
Show the function arguments hint.
2010-01-22 10:58:32 +01:00
Roberto Raggi
ba3e68fcbb
Try to get the type of the qualified name id under cursor
2010-01-22 10:26:52 +01:00
Roberto Raggi
68a8b6a663
Show in the completion box only the visible IDs.
2010-01-22 09:37:44 +01:00
Roberto Raggi
33bc7d7708
Disabled the code completion of QML components.
2010-01-22 09:23:58 +01:00
Roberto Raggi
f0e69db452
Evaluate simple JS expressions.
2010-01-21 17:08:42 +01:00
Roberto Raggi
24876bfa73
Don't remove snippets.
2010-01-21 12:15:28 +01:00
Roberto Raggi
34545eeaca
Add the QML user types to the completion box.
2010-01-21 11:36:53 +01:00
Roberto Raggi
e20d5a8289
Some cleanup in the QML/JS code completion engine.
2010-01-21 11:36:53 +01:00
Thorbjørn Lindeijer
da82934da3
Fixed automatic activation of snippet completion
...
The automatic activation of snippets can be rather unexpected. Also
provided some ad-hoc icons for snippets and QML completion items.
Done-with: Roberto Raggi <roberto.raggi@nokia.com >
2010-01-21 10:59:04 +01:00
mae
5b8a678672
first iteration of snippet support for qml
...
Done with Thorbjorn and Roberto
2010-01-19 18:50:50 +01:00
Roberto Raggi
f0b1c33ba4
Added a few more snippets
2010-01-19 17:41:02 +01:00
Roberto Raggi
51a33a9f0a
Create completion items for the builtin snippets
2010-01-19 16:36:48 +01:00
Roberto Raggi
c943d8e4f1
Renamed classes and files to use the QmlJS prefix.
2010-01-18 16:59:20 +01:00
Erik Verbruggen
0f8126f62d
Changed the QML/JS editor to treat .qs/.js files as JavaScript, and invoke the appropriate parser for it.
...
Reviewed-by: Christian Kamm
2010-01-18 13:40:47 +01:00
Erik Verbruggen
96e31c2a0f
Started merging the JS and QML editor plug-ins.
2010-01-15 17:20:19 +01:00