Valentin Kipyatkov
40638de67c
Override members does not generate qualified super when not needed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov
9497856d8e
KT-8868 "Implement members" generates unqualified reference for member class/interface
...
#KT-8868 Fixed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov
9b4e3b15c4
KT-8822 Override Members: do not show private members from java classes
...
#KT-8822 Fixed
2015-08-19 17:26:44 +03:00
Mikhail Glukhikh
adf43519d6
Code mover fix: correct commas / semicolons after enum entries, relevant test fixes, extra tests
2015-08-11 10:38:20 +03:00
Michael Nedzelsky
c74577951e
minor fix in idea/testData: ImplementFunctionType.kt -> implementFunctionType.kt
2015-08-11 04:23:18 +03:00
Valentin Kipyatkov
377201bbcd
KT-8716 Exception on attempt to implement function
...
#KT-8716 Fixed
2015-08-10 20:29:51 +03:00
Denis Zharkov
41d4af2cb9
Implement rendering of raw types
...
Also add some clarification in spec
2015-08-06 08:18:18 +03:00
Valentin Kipyatkov
63dc843c71
KT-8542 Override dialog: only one class from hierarchy is shown
...
#KT-8542 Fixed
2015-07-28 22:39:31 +03:00
Valentin Kipyatkov
edcb330281
Corrected/removed tests related to on-the-fly import optimization
2015-07-22 21:16:13 +03:00
Denis Zharkov
f0833d626a
Fix intentions tests after types enhancement
...
Types became more accurate
2015-07-09 16:36:44 +03:00
Nikolay Krasko
3d8f04e4fe
Update test data: Idea can't parse description with "ctrl+ alt + b" promotion
2015-06-23 15:59:38 +03:00
Nikolay Krasko
d1e7e184b6
Do psi-only checks to avoid unnessasary resolve in creating recursion markers
2015-06-19 14:15:17 +03:00
Valentin Kipyatkov
ceb9b3d663
Fixed test data
2015-05-14 01:09:53 +03:00
Valentin Kipyatkov
734b502ad6
Fixed test data
2015-05-14 01:00:30 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Michael Bogdanov
49f063522c
Inline util functions renaming
2015-05-05 12:47:57 +03:00
Michael Bogdanov
e0aa64b8d2
Support functional expression in non-local returns
2015-05-05 12:47:56 +03:00
Dmitry Jemerov
f93eeeb563
fix tests by adding missing 'init' keywords to testdata
2015-04-29 14:07:05 +02:00
Dmitry Jemerov
0cf77dfb10
override/implement: correctly generate call to super method with vararg arguments
...
#KT-7580 FIxed
2015-04-24 14:59:46 +02:00
Dmitry Jemerov
d32ff50579
escape identifiers in generated super method call in Override/Implement
...
#KT-6669 Fixed
2015-04-15 15:44:11 +02:00
Natalia Ukhorskaya
34205c3ff0
NPE in Surround with Action on empty line
2015-04-14 10:41:40 +03:00
Evgeny Gerashchenko
53ef521a8f
Deparenthesizing this expression.
2015-04-08 16:44:45 +03:00
Evgeny Gerashchenko
d7928b7251
Added test cases with labeled diff.
2015-04-08 16:43:34 +03:00
Evgeny Gerashchenko
4c5bfaeb8b
Checking for different receiver in implicit calls. They are considered not recursive.
2015-04-08 16:37:41 +03:00
Evgeny Gerashchenko
015da2f8ca
More proper code to check if lambda is inlined. Parameter of inline function can be annotated with "noInline".
2015-04-08 15:14:15 +03:00
Evgeny Gerashchenko
6041d566d9
Line markers for recursive calls.
2015-04-08 15:14:10 +03:00
Evgeny Gerashchenko
85e9f2207e
Minor. Moved test data to subdirectory.
2015-04-08 14:38:04 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Evgeny Gerashchenko
5a262b976e
Fixed overridden/implemented line markers in abstract classes.
2015-03-16 14:11:42 +03:00
Alexey Sedunov
8a0808b133
Create From Usage: Do not generate type for local variables, but add dummy initializer instead
...
#KT-6705 Fixed
2015-03-11 23:33:52 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Valentin Kipyatkov
0a363fc371
Import is placed in some specific order on adding
2015-02-19 11:07:02 +03:00
Valentin Kipyatkov
033b626a08
Fixed test data
2015-02-09 13:02:04 +03:00
Andrey Breslav
fecf6f9fdf
Star projection information preserved in substitutions
...
#KT-6700 Fixed
2015-02-02 19:52:01 +03:00
Alexey Sedunov
2dbfd1fc4c
Move Statement: Fix comma placement for class parameter
...
#KT-6672 Fixed
2015-01-30 21:16:27 +03:00
Valentin Kipyatkov
c915eb4eac
KT-6566 Generate Override/Implement method does not work for locally declared classes
...
#KT-6566 Fixed
2015-01-14 20:59:23 +03:00
Alexander Udalov
044f7b6156
Rename jet -> kotlin in idea: refactoring, codeInsight
...
org.jetbrains.jet.plugin.* -> org.jetbrains.kotlin.idea.*
2015-01-13 01:15:08 +03:00
Valentin Kipyatkov
c882e902c3
Override property calls super when its not abstract
2014-12-23 21:38:49 +03:00
Valentin Kipyatkov
5f2446d889
Implement property uses throw UnsupportedOperationException() instead of default value or ?
2014-12-23 21:38:49 +03:00
Valentin Kipyatkov
9f845f0de4
Fixed KT-4892 Override method generates redundant type arguments in call to super
...
#KT-4892 Fixed
2014-12-18 15:41:34 +03:00
Valentin Kipyatkov
4b9bcce07a
Fixed KT-4431 Override/implement val: generate getter instead of initializer
...
#KT-4431 Fixed
2014-12-18 15:41:33 +03:00
Valentin Kipyatkov
d394625771
Fixed override/implement
2014-10-31 21:07:51 +03:00
Nikolay Krasko
1a7fd756e5
Check that removing open brace is out-of-block change
2014-10-22 18:18:10 +04:00
Nikolay Krasko
798a6bf689
Temp workaround: force out-of-block modification for properties with nullable types
...
Initializers for properties with nullable types are analyzed with binding context common for all declarations.
This can cause invalid elements are left in the cache guarded with out-of-block modification tracker. This workaround forces increment for such cases.
2014-10-22 18:18:09 +04:00
Nikolay Krasko
5cdd5f580d
Rewrite out-of-block modifier increment algorithm
...
1. Search the top-level function or property (only they can produce blocks that won't affect other declarations)
2. Check if current position is hidden by this declaration
O^2 behaviour is removed
2014-10-22 18:18:09 +04:00
Nikolay Krasko
c5852152b2
Don't ruin highlighting if there's no descriptor in resolve session
...
#EA-61683 Fixed
2014-10-14 15:38:27 +04:00
Nikolay Krasko
b06b3ab4c4
Insert empty lines after functions and properties (KT-4002)
...
#KT-4002 Fixed
2014-10-14 00:39:23 +04:00
Andrey Breslav
f202a5c31d
KT-4524 Generate implementations fails on functions with default values
...
#KT-4524 Fixed
2014-10-13 15:43:03 +04:00
Andrey Breslav
fe2fb60daf
Approximating flexible types in descriptor renderer
2014-10-13 15:38:07 +04:00
Nikolay Krasko
dc97cdb51c
Fix test
2014-10-07 13:34:55 +04:00