Christian Kamm
722ba33770
QmlJS: Add CompletionContextFinder to allow context sensitive completion
...
The plan is to use this to reduce the number of applicable
completion options, for instance for enum completion or property
names.
Done-with: Erik Verbruggen
2010-04-29 16:05:24 +02:00
Christian Kamm
bd71243407
QmlJS: Move parts of the indenter to the new LineInfo.
...
LineInfo can tell whether lines are finished or not.
Done-with: Erik Verbruggen
2010-04-29 16:05:24 +02:00
Christian Kamm
3067f441df
QmlJS: Fix switch statement indentation.
...
Task-number: QTCREATORBUG-756
2010-04-21 10:52:07 +02:00
Christian Kamm
6a12c99bd1
QmlJSEditor: Improve indentation of square brackets.
...
Task-number: QTCREATORBUG-583
Reviewed-by: Roberto Raggi
2010-04-14 15:19:56 +02:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Roberto Raggi
fd26a8c8ec
Get rid of the QmlJS prefix.
2010-02-15 12:56:03 +01:00
Roberto Raggi
80b5a6b50a
Removed useless code.
2010-01-29 15:29:45 +01:00
Roberto Raggi
fbbc27be32
Get rid off unused regexp QmlJSIndenter::label.
2010-01-29 15:01:49 +01:00
Roberto Raggi
206dafcd94
Removed unused code.
2010-01-29 14:58:41 +01:00
Roberto Raggi
913e248366
Fixed the indentation of if-else statements.
2010-01-29 11:31:41 +01:00
Roberto Raggi
fa925ccd5a
Say hello to the new incremental scanner for QML/JS.
2010-01-28 13:13:23 +01:00
Roberto Raggi
f995022af7
Insert the semicolon at the end of the trimmed line only when it is stricly necessary.
2010-01-26 12:56:05 +01:00
Roberto Raggi
e722570f06
Inserted a fake semicolon at the end of the trimmed line.
2010-01-26 11:58:20 +01:00
Roberto Raggi
e87cd6d1a8
Fixed indentation of QML/JS for-statements.
2010-01-19 13:57:59 +01:00
Roberto Raggi
6b6b827d9b
Added helper method QmlJSIndenter::tokenText().
2010-01-19 12:59:31 +01:00
Roberto Raggi
60ad6c478c
Moved QmlJSScanner::Token in the QmlJS namespace.
2010-01-19 12:54:17 +01:00
Roberto Raggi
1bc838fd2b
Handle comments at the end of braceless control statements.
2010-01-19 12:50:48 +01:00
Roberto Raggi
669c2de681
Implemented token-based version of QmlJSIndenter::matchBracelessControlStatement().
2010-01-18 18:31:17 +01:00
Roberto Raggi
c943d8e4f1
Renamed classes and files to use the QmlJS prefix.
2010-01-18 16:59:20 +01:00