Dmitry Gridin
220cb95b85
Move caret to class name after creating it from "CreateFromUsage" action
...
Relates to #KT-24631
2019-03-15 17:27:06 +07:00
Mikhail Glukhikh
0f8b46b7d7
Add language version 1.2 to quick-fix tests for add explicit import
...
This fixes tests for KT-21515
2018-09-18 11:50:33 +03:00
Dmitry Savvinov
d570b863ce
Introduce deprecation of companion objects nested classes
...
Introdude deprecation as per KT-21515. Warning is reported on type
usage, that soon will became invisible. Quickfix by adding explicit
import is added.
Idea behind implementation is to mark scopes that are deprecated (see
ClassResolutionScopesSupport).
Then, during walk along hierarchy of scopes, look at deprecation status
of the scope that has provided this classifier.
Note that we also have to check if there are *some* non-deprecated
visibility paths (because we can see classifier by two paths, e.g. if
we've added explicit import) -- then this type reference shouldn't be
treated as deprecated.
2018-02-21 16:04:49 +03:00
Alexey Sedunov
e517cbcf78
Quick Fixes: Implement "Rename unresolved reference" fix
...
#KT-8795 Fixed
2015-12-08 16:20:56 +03:00
Valentin Kipyatkov
0dc92c3ee8
QuickFixMultiFileTestGenerated - shorter test data files names
2015-05-27 16:15:44 +03:00
Dmitry Jemerov
9975bb8935
replace 'trait' keyword with 'interface' in user-visible messages and code generation tools
2015-05-12 11:49:37 +02:00
Valentin Kipyatkov
837e46a9b8
Big change in quickfix tests: no stupid test data format with "before" and "after" file prefixes
2015-05-08 22:29:42 +03:00
Alexey Sedunov
2af83c58c9
Create from usage: Use separate editor for templates which should be placed in Java files
2015-02-20 19:08:14 +03:00
Alexey Sedunov
6bdff82c3a
Create from usage: Do not create functions/properties from import directives
2015-02-20 19:08:11 +03:00
Alexey Sedunov
60d02dab0f
Create from usage: Support generation of nested Java classes from usages in Kotlin code
2015-02-20 17:28:40 +03:00
Alexey Sedunov
59d646bc16
Extract Function: Generate function in property's enclosing declaration if original expression belongs to initializer of that property
...
#KT-6290 Fixed
2015-01-12 22:55:30 +03:00
Alexey Sedunov
c487cc7838
Create From Usage: Do not generate unnecessary/skip necessary empty lines
2014-11-13 17:27:24 +03:00
Alexey Sedunov
b8f68acdbb
Create From Usage: Create class by reference expression
2014-11-11 14:42:42 +03:00