bc9f67b6e2
Made parser aware of object literals in statement position (they were parsed as object declarations)
Evgeny Gerashchenko
2012-02-07 21:10:35 +04:00
9e021c07a7
Adding () automatically if supertype is class.
Evgeny Gerashchenko
2012-02-07 19:15:08 +04:00
5a6c658204
Added completion in 'anonymous' live template.
Evgeny Gerashchenko
2012-02-07 17:06:30 +04:00
ce0f38d783
Added 'anonymous' live template.
Evgeny Gerashchenko
2012-02-02 21:48:43 +04:00
936ecdb65a
Replace 'enum' keyword in completion with enum class template.
Evgeny Gerashchenko
2012-02-02 21:13:03 +04:00
3eb195b428
Added 'exfun', 'exval' and 'exvar' live templates.
Evgeny Gerashchenko
2012-02-02 20:52:04 +04:00
159d396c4b
Added 'closure' live template.
Evgeny Gerashchenko
2012-02-02 19:36:27 +04:00
884e6eb54e
Added placeholders for if-else blocks and function body.
Evgeny Gerashchenko
2012-02-01 22:02:43 +04:00
4811fc9400
Added traversal over template parameters (temporarily using todo until corresponding patch is applied to IDEA)
Evgeny Gerashchenko
2012-02-01 21:56:53 +04:00
2716fe9771
Added fun template.
Evgeny Gerashchenko
2012-02-01 16:44:46 +04:00
ecdcfdb45a
Made parser aware of templates in parameters, return type positions for all functions; of name, receiver positions for extension functions.
Evgeny Gerashchenko
2012-02-01 16:41:02 +04:00
8d67d794b3
Changed JetFoldingBuilder to make it able to fold templates in any position.
Evgeny Gerashchenko
2012-02-01 16:16:22 +04:00
7880ff4b61
Made parser aware of templates in function name position.
Evgeny Gerashchenko
2012-02-01 16:15:49 +04:00
89055ebf39
Introduced constants with if and if-else templates
Evgeny Gerashchenko
2012-02-01 15:11:51 +04:00
bc6a785ef0
Added placeholders in code for templates in other contexts.
Evgeny Gerashchenko
2012-02-01 15:02:48 +04:00
3660b4668e
Commited minor changes in example-vfs.iml.
Evgeny Gerashchenko
2012-01-31 16:48:25 +04:00
05c7a52ed2
Merge branch 'master' of git+ssh://git.labs.intellij.net/jet
James Strachan
2012-02-08 11:50:27 +00:00
659fceecbe
removed unnecessary getOrElse(value) method as we can use ?: (which is neater!) though shame it doesn't work for lazy values, passing a function body which is invoked if the value is not null
James Strachan
2012-02-08 11:45:59 +00:00
01e71cbd59
Don't add import if there's general import with .* exist
Nikolay Krasko
2012-02-08 15:27:41 +04:00
e8ffaa28f3
Don't add import after insertion function with fqn
Nikolay Krasko
2012-02-08 12:53:56 +04:00
04220935e0
enabled the test for T?.getOrElse and fixed up minor glitch in assertEquals
James Strachan
2012-02-08 07:56:51 +00:00
ef269a9f81
added a simple builder API to the std.dom API
James Strachan
2012-02-07 14:10:16 +00:00
a3cd65f10e
added a little spike of a little std.dom API to make the W3C DOM API a little kooler
James Strachan
2012-02-06 16:49:49 +00:00
5057bf732e
added a helper method for easily converting from a nullable type to a non nullable type with a non-lazy value, or lazy factory function
James Strachan
2012-02-06 16:48:44 +00:00
5f8a71eb21
validate type parameter indices in FunctionDescriptorImpl.initialize
Stepan Koltsov
2012-02-08 03:25:46 +04:00
0c821f947d
split diagnostics/Override.jet test
Stepan Koltsov
2012-02-08 00:55:43 +04:00
d1409116f3
- KT-1147 Can't see local variable in completion - Disable class level keywords from method parameters list - Reorganize completion tests to separate methods
Nikolay Krasko
2012-02-07 20:05:58 +04:00
adfce7e22d
KT-274 Enumeration.iterator()
Alex Tkachman
2012-02-07 16:40:14 +02:00
d8c4e753d1
extracted separate module for translator tests
Pavel Talanov
2012-02-07 16:49:25 +04:00
a6dbd45eb7
modified outdated tests, removed changes by Natasha
Pavel Talanov
2012-02-07 16:31:24 +04:00
29d8ac593e
Merge remote-tracking branch 'origin/master'
Pavel Talanov
2012-02-07 16:13:55 +04:00
123386106a
Load jslib by class.getResourceAsStream
unknown
2012-02-07 16:09:00 +04:00
6822debe90
added try catch in applet
Pavel Talanov
2012-02-07 15:39:58 +04:00
01b3b13fa1
updated canvas helper and migrated to new code
Pavel Talanov
2012-02-07 15:37:19 +04:00
ddbd86cdf5
KT-1051 Java interoperability completion - enum tests and test for auto import directive auto insert
Nikolay Krasko
2012-02-07 14:05:08 +04:00
aa9b2db300
KT-1051 Java interoperability completion - more tests
Nikolay Krasko
2012-02-07 13:32:46 +04:00
a82b3dacb8
handling abnormal termination of the compiler
Andrey Breslav
2012-02-07 12:52:38 +04:00
7683854908
handling abnormal termination of the compiler
Andrey Breslav
2012-02-07 12:52:38 +04:00
b0046348aa
Parameter info popup after completion insertion. Do not add '(' if it's already exist in completion (+Tests).
Alefas
2012-02-07 12:43:27 +04:00