Stanislav Erokhin
c24c3daf54
Allowed shorthand parameter list with type reference in lambda.
2015-03-18 16:06:44 +03:00
Evgeny Gerashchenko
2fcee37b58
Temporarily disabled "Unused symbol" for companion objects.
2015-03-18 15:20:45 +03:00
Pavel V. Talanov
41b65205b0
default -> companion: fix message for quick fix
2015-03-18 14:35:53 +03:00
Denis Zharkov
25de64c6ab
Support class rename in place of secondary ctor call
2015-03-18 10:56:31 +03:00
Denis Zharkov
4b564fcc51
Do not show "Convert to extension" intention for secondary constructors
...
#KT-6969 Fixed
2015-03-18 10:56:30 +03:00
Denis Zharkov
d1308ebf84
Don't report unused symbol if secondary constructor used
...
#KT-6997 Fixed
2015-03-18 10:56:29 +03:00
Dmitry Jemerov
615258877a
Merge pull request #595 from JetBrains/rr/yole/render-markdown
...
render Markdown and support link navigation in KDoc comments
2015-03-18 08:39:35 +01:00
Denis Zharkov
6c46606f2b
Fix constructors redeclaration message
...
#KT-6966 Fixed
2015-03-17 23:18:34 +03:00
Denis Zharkov
22425de5cb
Setup spacing rules for secondary constructors
...
#KT-6968 Fixed
2015-03-17 23:18:34 +03:00
Denis Zharkov
9e5192e0e3
Prohibit val/vars/modifiers on secondary constructor parameter
...
#KT-6962 Fixed
2015-03-17 23:18:33 +03:00
Dmitry Jemerov
853fce4b71
render Markdown and support link navigation in KDoc comments
2015-03-17 19:55:49 +01:00
Pavel V. Talanov
a50b218c6a
default -> companion: Replace some missed usages of "isDefault"
2015-03-17 17:10:53 +03:00
Evgeny Gerashchenko
3ec6ffc906
KT-7007 Go to declaration doesn't work inside enum class
...
#KT-7007 fixed
2015-03-17 16:10:51 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Michael Bogdanov
5c6b9b1bc6
New smap test
2015-03-16 18:52:04 +03:00
Natalia Ukhorskaya
50c535de85
Debugger: Alt + click on variable name in declaration should open a popup with it's value
...
#KT-6875 Fixed
2015-03-16 14:45:47 +03:00
Evgeny Gerashchenko
5a262b976e
Fixed overridden/implemented line markers in abstract classes.
2015-03-16 14:11:42 +03:00
Evgeny Gerashchenko
22a41e8012
Introduced category for default object usages.
2015-03-16 14:11:41 +03:00
Evgeny Gerashchenko
510974e07c
Supported renaming default objects with default names.
2015-03-16 14:11:41 +03:00
Evgeny Gerashchenko
ccd1701f78
Supported renaming of default object. Named only objects are supported
...
yet.
2015-03-16 14:11:39 +03:00
Evgeny Gerashchenko
3a8ded5b58
Finding class by class id instead of fq name in rename tests.
2015-03-16 14:11:38 +03:00
Evgeny Gerashchenko
c875584d0c
Supported default objects in unused symbol inspection.
2015-03-16 14:11:38 +03:00
Evgeny Gerashchenko
9bcf9dceef
Supported default objects in class usages.
2015-03-16 14:11:37 +03:00
Alexey Sedunov
40799a0a43
PSI Unifier: Unify references which correspond to the same declaration
...
#KT-5996 Fixed
2015-03-13 23:16:59 +03:00
Alexey Sedunov
bff709da10
Convert to Expression Body Intention: Do not remove declaration type if it affects the type of body expression
2015-03-13 23:16:58 +03:00
Alexey Sedunov
9cb42944d1
Extraction Engine: Generate function/property accessor with expression body (whenever applicable)
...
#KT-6405 Fixed
2015-03-13 23:16:57 +03:00
Alexey Sedunov
9d8cfd04d9
Extraction Engine: Suggest function names based on the name of the result variable (if applicable)
...
#KT-6291 Fixed
2015-03-13 23:16:55 +03:00
Pavel V. Talanov
c0a031eafe
Support secondary constructors in decompiled text
...
Build cls stubs for secondary constructors
2015-03-13 20:17:32 +03:00
Ilya Ryzhenkov
e448f40756
Rename Stream<T> to Sequence<T> and provide migration path via deprecated types and functions.
2015-03-12 22:56:43 +03:00
Stanislav Erokhin
639003b8a8
Allowed function parameter without type declaration in the parser
2015-03-12 17:11:52 +03:00
Stanislav Erokhin
d9882a6d0b
Move inference parameter type in FunctionDescriptorResolver
2015-03-12 17:11:52 +03:00
Stanislav Erokhin
983e1bc932
Added function as expression support to parser
2015-03-12 17:11:44 +03:00
Stanislav Erokhin
560c32c0f1
Added diagnostic error when in function declaration name was omitted
2015-03-12 17:11:44 +03:00
Stanislav Erokhin
a33450395c
Resolve parenthesized element as expression
2015-03-12 17:11:43 +03:00
Stanislav Erokhin
3b92cab9e0
Changed containing declaration for PropertyDeclarationInnerScope
2015-03-12 17:11:43 +03:00
Alexey Sedunov
84ad6c394e
Create from Usage: Respect smart-casts when suggesting parameter type candidates
...
#KT-6781 Fixed
2015-03-11 23:34:00 +03:00
Alexey Sedunov
b033c17426
Caller Hierarchy: NPE fix
...
#EA-66031 Fixed
2015-03-11 23:33:59 +03:00
Alexey Sedunov
f0b0fd07c5
Create From Usage: Add support of star projections/incorrect type arguments
...
#EA-62661 Fixed
2015-03-11 23:33:56 +03:00
Alexey Sedunov
ab5a691612
Create From Usage: Place generated declarations next to original element container if they have common parent
...
#KT-6687 Fixed
2015-03-11 23:33:55 +03:00
Alexey Sedunov
fe9b08f93d
Create From Usage: Place local variable declaration right before its usage
...
#KT-6704 Fixed
2015-03-11 23:33:54 +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
2987e72d29
Do not report redeclaration when outer class and default object's members clash
...
Previously we prohibited classes and properties with the same name (now it's unnecessary)
Add test for backends that they support qualified (by default object name) member references inside class body
2015-03-11 21:06:05 +03:00
Denis Zharkov
1703e16913
Add quickfix: remove 'init' modifier
2015-03-11 17:45:26 +03:00
Denis Zharkov
f07566d30d
Add warning for initializers with obsolete syntax
...
Expected 'init' keyword before class initializer
2015-03-11 17:45:26 +03:00
Denis Zharkov
9be45af267
Complete this/super before delegation call
2015-03-11 17:45:26 +03:00
Denis Zharkov
50c8c6f68b
Basic completion within secondary constructors
...
body and delegation call
2015-03-11 17:45:26 +03:00
Denis Zharkov
3ba94d7352
Parsing: secondary constructors
2015-03-11 17:45:22 +03:00
Dmitry Jemerov
07381b765f
rename Numbers.kt to Primitives.kt as it now contains Char which is not a number
2015-03-11 12:40:39 +01:00
Pavel V. Talanov
a701cb2bd9
Add quick fix to replace all 'class object's in project
2015-03-10 18:21:33 +03:00
Pavel V. Talanov
81f9d34d1a
Add quick fix for deprecated 'class object' syntax
2015-03-10 18:21:33 +03:00