Pavel V. Talanov
7973c9bfca
Do not load Icon in LightVariableBuilder constructor
2014-05-30 14:58:50 +04:00
Valentin Kipyatkov
073dcd024c
Fixed KT-5101 Partly qualified name is inserted by code completion
...
#KT-5101 Fixed
2014-05-30 14:31:20 +04:00
Valentin Kipyatkov
4be1cc2786
KT-5079 Support smart completion for when values
...
#KT-5079 Fixed
2014-05-30 14:30:36 +04:00
Nikolay Krasko
1bc8812613
Don't add space if it has been already added or it's not yet needed
2014-05-30 00:04:10 +04:00
Nikolay Krasko
a5505a6f39
Test for showing kotlin enums with "Show Inherited" option enabled in file structure view
2014-05-30 00:04:09 +04:00
Nikolay Krasko
9c68beb7bc
Tests for showing synthetic methods in file structure view
2014-05-30 00:04:09 +04:00
Nikolay Krasko
be6d68741b
Show delegated methods when "Show inherited" enabled in file structure view
2014-05-30 00:04:08 +04:00
Nikolay Krasko
582c5874b7
Tune location string in structure view
2014-05-30 00:04:08 +04:00
Nikolay Krasko
3797210b43
Fix empty name for class initializer in project view when "Show Members" enabled
2014-05-30 00:04:07 +04:00
Nikolay Krasko
c309dbe76c
Better caching: do not recount when field true value is null
2014-05-30 00:04:07 +04:00
Nikolay Krasko
3494853cc3
Add location string showing where method or property is defined
2014-05-30 00:04:06 +04:00
Nikolay Krasko
f1f13d1f2a
Show members from supertypes in file structure view (KT-4448)
...
#KT-4448 Fixed
2014-05-30 00:04:06 +04:00
Nikolay Krasko
d941deb17c
Enable members sorting in file structure view
2014-05-30 00:04:05 +04:00
Nikolay Krasko
58d9375a25
Set up rendering for structure elements
2014-05-30 00:04:04 +04:00
Nikolay Krasko
2d6dc5db68
Revise JetStructureViewElement
...
- remove 'my' prefix
- inline ItemPresentation
- use descriptor renderer instead of custom one
2014-05-30 00:04:04 +04:00
Nikolay Krasko
dfd66440b4
Tests for file structure
2014-05-30 00:04:03 +04:00
Nikolay Krasko
63d5897d93
Add structure view source roots
2014-05-30 00:04:03 +04:00
Nikolay Krasko
484fa3b7cd
Fix invalidating built-ins psi in consecutive test runs
2014-05-30 00:04:02 +04:00
Nikolay Krasko
dd00d7d004
Introduce utility method for working with multifile tests
2014-05-30 00:04:02 +04:00
Nikolay Krasko
82ddbb9d39
Minor: remove warnings
2014-05-30 00:04:01 +04:00
Alexander Udalov
796912bfcb
Provide implicit receiver to extension property initializer
...
This is safe because initializers for extension properties are forbidden
anyway, we'll just won't be generating noisy error messages about non-existent
'this'
2014-05-29 21:24:06 +04:00
Alexander Udalov
a78b7fb31f
Don't add initializer to extension property on override/implement
2014-05-29 21:24:06 +04:00
Alexander Udalov
d78d4bc44c
Disallow extension properties with backing fields
...
#KT-1682 Fixed
2014-05-29 21:24:05 +04:00
Alexander Udalov
ea31f372aa
Check for syntax/diagnostic errors in some tests
2014-05-29 21:24:05 +04:00
Alexander Udalov
2b5bc6b63d
Fix logic of forcing method return type to be wrapped
...
Return type must be wrapped if any super-method in the hierarchy, not just the
direct super-method, returns a reference type (as opposed to a primitive type)
Actually there was a test reflecting this, but it wasn't running because of an
unfixed diagnostic error
2014-05-29 21:24:02 +04:00
Alexander Udalov
33f8c49275
Minor, change test case according to its name
2014-05-29 21:07:34 +04:00
Alexander Udalov
6210e45fbc
Minor, improve test case for KT-1157
...
Multithreaded version was not working correctly and was throwing NPEs in the
log sometimes
2014-05-29 21:07:34 +04:00
Alexander Udalov
8a84d07645
Fix warnings in JVM codegen tests
...
Add generics where needed, add nullability annotations, etc.
Also delete some testcases from ArrayGenTest which will never be supported
2014-05-29 21:07:34 +04:00
Svetlana Isakova
beb7dc4524
Supported moving a labeled lambda outside parentheses
2014-05-29 17:18:47 +04:00
Svetlana Isakova
41df522234
Merge pull request #472 from wutalman/move_lambda
...
KT-4889: (Bug fix) Intention to move lambda outside parentheses now handles commas
2014-05-29 17:11:41 +04:00
Alexey Sedunov
4678a5866a
Light Classes: Track original declaration for Kotlin light fields
...
#KT-4902 Fixed
2014-05-28 21:06:01 +04:00
Alexey Sedunov
ab5e0c8c9c
Move: Retain imports when moving top-level declaration
...
#KT-5049 Fixed
2014-05-28 21:06:00 +04:00
Andrey Breslav
df413c0b47
cast() method in DiagnosticFactory
2014-05-28 14:53:30 +04:00
Natalia Ukhorskaya
d6cc62e12c
Merge remote-tracking branch 'origin/pr/465'
...
Conflicts:
libraries/tools/kotlin-gradle-plugin-core/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinPlugin.kt
2014-05-28 12:12:07 +04:00
Andrey Breslav
caeb978c7a
Fix for EA-41250 - E: _JetLexer.zzScanError - Could not match input
2014-05-27 18:49:31 +04:00
Andrey Breslav
e50eb73fb1
Throw exceptions (not errors) from lexer
...
+ Add more data to the exception message
2014-05-27 18:17:46 +04:00
Evgeny Gerashchenko
453fdb0dbe
Moved tool window factory into tool window class.
2014-05-27 16:37:32 +04:00
Evgeny Gerashchenko
cd3ffb6564
Removed resolve tool window since it is not used.
2014-05-27 16:37:31 +04:00
Natalia Ukhorskaya
3557977588
Evaluate expression: ClassCastException trying evaluate kotlin expression from java file
...
EA-56624 Fixed
2014-05-27 13:42:56 +04:00
Natalia Ukhorskaya
0c2120b578
Evaluate expression: add debug expression inside block for function literals
...
EA-56887 Fixed
2014-05-27 13:42:55 +04:00
Natalia Ukhorskaya
545b8ac7c3
Add information about codeFragment and sourceFile for exceptions from Evaluate Expression
2014-05-27 13:42:55 +04:00
Natalia Ukhorskaya
ec6809ccae
Evaluate expression: pass this as first parameter
2014-05-27 13:42:54 +04:00
Nikolay Krasko
a2f369b610
Update to IDEA 135.909 (13.1.3)
2014-05-27 12:34:51 +04:00
Alexander Udalov
cc94010d07
Fix broken test data file
2014-05-26 16:49:10 +04:00
Alexander Udalov
afd3127054
Create and store necessary codegens in MemberCodegen
2014-05-26 16:48:20 +04:00
Alexander Udalov
5b99b0ceb0
Make ClassBuilderOnDemand extend ClassBuilder
...
Introduce DelegatingClassBuilder, refactor RemappingClassBuilder to use it
2014-05-26 16:48:20 +04:00
Alexander Udalov
9e325b3ebe
Remove heuristic from PackageCodegen
...
Implement the logic in a more straightforward way, move the heuristic to
JavaElementFinder where it was also used
2014-05-26 16:48:19 +04:00
Alexander Udalov
9dd81bdb3d
Refactor PackageCodegen and ClassBuilderOnDemand
...
Make ClassBuilderOnDemand non-abstract and create its instance directly in
PackageCodegen's constructor
2014-05-26 16:48:19 +04:00
Alexander Udalov
4ee7d2e72a
Simplify ClassFileFactory
...
Get rid of outdated assertions, mark createText() as TestOnly, add
NotNull/Nullable annotations.
Inline useless forClass/forTraitImpl/... methods, because this way it's simpler
and some code was already using newVisitor() anyway
2014-05-26 16:48:18 +04:00
Alexander Udalov
ae27ac1661
Minor, reorder code in ExpressionCodegen
2014-05-26 16:48:18 +04:00