Dmitry Jemerov
baa43a2a55
Show line markers for sealed classes
...
#KT-16755 Fixed
2017-05-10 14:27:22 +02:00
Dmitry Jemerov
f64aaed205
Allow updating of fold region for imports when it's collapsed
...
#KT-12856 Fixed
2017-05-10 14:26:15 +02:00
Dmitry Jemerov
66ce2a6998
Render anonymous objects in Show Expression Type
...
#KT-17304 Fixed
2017-05-10 14:25:03 +02:00
Dmitry Jemerov
b33c544fdf
Enable rainbow highlighting for destructuring declaration entries
...
#KT-17652 Fixed
2017-05-10 14:25:02 +02:00
Mikhail Glukhikh
382bf9a500
ConvertReferenceToLambda status refactoring
...
Intention is not registered now; inspection is enabled by default now,
but has highlight level of "No highlighting"
2017-05-10 14:56:38 +03:00
Mikhail Glukhikh
759e6643c6
ConvertLambdaToReference refactoring
...
Intention is not registered now; inspection is enabled by default now,
but has highlight level of "No highlighting"
Inspection does not depend on text length now
So #KT-14335 Fixed
2017-05-10 14:56:37 +03:00
Mikhail Glukhikh
1d722e01f0
Get rid of local version of RemoveModifierFix
2017-05-10 14:56:36 +03:00
Mikhail Glukhikh
02345670b2
Get rid of local version of AddModifierFix
2017-05-10 14:56:35 +03:00
Mikhail Glukhikh
bb76783654
Minor (import removed)
2017-05-10 14:56:33 +03:00
Alexey Sedunov
f70bac019a
Change Signature: Fix TypeInfo comparison
...
#KT-13437 Fixed
2017-05-10 14:49:53 +03:00
Alexey Sedunov
8bbf8e185a
Move: Filter out usages with visibility error before refactoring
...
If declaration is already invisible before move,
no visibility conflict should be reported
#KT-17571 Fixed
2017-05-10 14:49:52 +03:00
Alexey Sedunov
0a5f9d8181
Move: Specify conflict containing declaration more precisely
...
Also do not render class fqname for member declarations
#KT-17547 Fixed
2017-05-10 14:49:51 +03:00
Kirill Rakhman
dbcf796e90
Add Smart Enter processor for object expessions ( #1079 )
...
Fixes #KT-17807
2017-05-10 11:49:08 +03:00
nd
e20e097a63
Stricter type checks in 'convert to range' intention ( #1073 )
...
#KT-17079 #KT-17762 Fixed
2017-05-09 10:31:32 +03:00
Nadia Humbert-Labeaumaz
e76f1acc0b
Remove "Move to class body" intention for annotation parameters ( #1076 )
...
#KT-17708 Fixed
2017-05-09 10:27:37 +03:00
Yuli Fiterman
4393e2d518
KT-7848 -- unmerged changes ( #1075 )
...
* KT-7848 Initial implementation of literal copy/paste processor for Kotlin
* KT-7848: Tests
* KT-7848: fix issues caught in unit tests with recognizing invalid template entries
* KT-7848: check for KtFile
* KT-7848: fix capitalization for test data file names
* KT-7848: Initial changes according as per review
* KT-7848: TemplateTokenSequence tests
* KT-7848: fix off by one error caught in test
* KT-7848: Reformat with keep empty lines in code -> 0
2017-05-08 18:50:41 +03:00
Yuli Fiterman
99b1bb98dc
KT-7848: Literal copy/paste processor for Kotlin ( #1074 )
...
* KT-7848 Initial implementation of literal copy/paste processor for Kotlin
* KT-7847: Tests
* KT-7847: fix issues caught in unit tests with recognizing invalid template entries
* KT-7847: check for KtFile
* KT-7847: fix capitalization for test data file names
* KT-7847: Initial changes according as per review
2017-05-08 17:18:28 +03:00
Kirill Rakhman
8e00af5642
Add intention to convert top level val with object expression to object declaration ( #974 )
...
* Add intention to convert top level val with object expression to object
Fixes #KT-14137
* fix intention description
2017-05-08 16:35:03 +03:00
nd
93b5eec71e
Convert to secondary constructor is not applicable to data classes ( #1071 )
...
#KT-15942 Fixed
2017-05-08 16:24:37 +03:00
nd
c9f475b402
Detect redundant semicolon before empty import list ( #1072 )
...
#KT-16577 Fixed
2017-05-08 16:14:22 +03:00
shiraji
56d712a02a
Introduce quick-fix adding label to 'return' in closures #KT-16851 Fixed
2017-05-05 23:27:10 +03:00
Mikhail Zarechenskiy
429f0e4f68
Adapt changes in IDE after moving SAM adapters to synthetic scope
...
The main change is that now to get static sam adapters one should do it using synthetic scopes and static scope of container
2017-05-05 21:30:10 +03:00
Denis Zharkov
6e114a90dc
Adjust debugger to the new suspend function strategy
...
Now it's impossible to determine by descriptor if there is
a state machine for function, but at the same time
it doesn't really matter here since there is no LINENUMBERs
in doResume of continuation implementations for named suspend
functions
#KT-17585 Fixed
#KT-16603 Fixed
2017-05-05 14:14:38 +03:00
Kirill Rakhman
cd07aea5e3
Add quickfix for adding 'lateinit'
...
Fixes #KT-17650
2017-05-05 11:09:07 +03:00
Yan Zhulanow
254e8156ac
NoArg: Initialize properties in noarg constructor (KT-16692)
2017-05-04 18:46:42 +03:00
qx
a5dea7ef1c
Fixes after review: used getParentOfType
2017-05-04 16:11:18 +03:00
qx
079380c70d
Fixes after review: renamed to isMemberExtensionDeclaration
2017-05-04 16:11:18 +03:00
qx
0ba4a82ca6
Fixes after review: ConvertMemberToExtensionIntention.convert moved to companion object
2017-05-04 16:11:18 +03:00
qx
f163788821
Fixes after review: got rid of unused parameters
2017-05-04 16:11:17 +03:00
qx
f6fe1c50c2
Used ConvertMemberToExtensionIntention in MigrateExternalExtensionFix instead of manually creating extension method
2017-05-04 16:11:17 +03:00
qx
8ba61ce7aa
Fixed KT-15270 Quickfix to migrate from @native***
2017-05-04 16:11:17 +03:00
qx
71de20b9e6
Retain javascript name from @native annotation
...
As the first part of KT-15257 JS: quickfix to migrate from @native to external
2017-05-04 16:11:16 +03:00
qx
c364e79557
Implemented @native-* annotation migration quickfix for extension functions
...
As the first part of KT-15270 Quickfix to migrate from @native***
2017-05-04 16:11:16 +03:00
Mikhail Glukhikh
35754a98e7
KT-17497 related: introduce fix for REDUNDANT_ELSE_IN_WHEN
2017-05-04 14:17:42 +03:00
Dmitry Jemerov
7812a17f13
Mark Kotlin plugin as a JPS plugin so that JPS extensions are loaded
...
The Kotlin output parser for the Gradle build output in Android Studio
is loaded through the JPS extension manager, and the Kotlin JPS
plugin doesn't exist in Android Studio, so we need to use this
mechanism.
#KT-17596 Fixed
2017-05-02 21:26:45 +02:00
Mikhail Glukhikh
28283bad3e
Introduce special CAPTURED_VAL_INITIALIZATION for members
2017-05-02 19:59:37 +03:00
Mikhail Glukhikh
1efa45f79e
Minor: deprecation fix
2017-05-02 19:01:37 +03:00
Mikhail Glukhikh
0798e43524
Consider only source-compatible modules in allImplementingModules use-sites
...
So #KT-17400 Fixed
So #KT-15680 Fixed
So #KT-15660 Fixed
Likely also #KT-16838 Fixed
2017-05-02 19:01:31 +03:00
Pavel V. Talanov
55a0e138fc
Refactor: extract AnnotationDescriptor.annotationClass utility
2017-05-02 15:40:20 +03:00
Pavel V. Talanov
0571c62943
KtLightElements: make light annotations lazier
...
Allow to get annotation list and to invoke `findAnnotation` without building delegate
Introduce KtLightNullabilityAnnotation which holds nullability information and is built
before delegate is built
2017-05-02 15:40:17 +03:00
Pavel V. Talanov
03b68666e4
KtLightClassForSourceDeclaration: use psi based resolve to speedup isInheritor checks
2017-05-02 15:40:17 +03:00
Pavel V. Talanov
901aa9c18b
PsiBasedClassResolver: use ImpreciseResolveResult instead of Boolean?
2017-05-02 15:40:14 +03:00
Pavel V. Talanov
8f4c969933
KtLightElement is no longer PsiNamedElement
2017-05-02 15:40:14 +03:00
Yan Zhulanow
ce145c015d
Android Extensions: rename plugin JAR file names in plugin artifact
...
Rename compiler plugin to 'android-extensions-compiler' in order to have the same name in dist and IDEA plugin.
Rename IDEA plugin to 'android-extensions-ide' to make things clear.
2017-04-28 19:43:36 +03:00
Dmitry Jemerov
d49e9d7064
Fix override navigation from properties defined in primary constructor
...
EA-91185 - CCE: KotlinLineMarkerProviderKt$OVERRIDDEN_PROPERTY$.browse
2017-04-28 12:02:20 +02:00
Dmitry Jemerov
c22e0d88f0
More generic solution for testing line marker navigation
2017-04-28 12:02:19 +02:00
shiraji
6f94f45409
Disable "Make constructor internal" for annotations #KT-17599 Fixed
2017-04-28 10:55:13 +03:00
shiraji
d542aef7e4
Disable "Make constructor private" for annotations #KT-17600 Fixed
2017-04-28 10:54:54 +03:00
Mikhail Glukhikh
19021ec1aa
VarianceChecker refactoring: move checkClassOrObject to IDE
2017-04-27 20:58:40 +03:00
Dmitry Neverov
9dd217eee3
Introduce intention to name anonymous parameter #KT-17191 Fixed
2017-04-27 20:58:38 +03:00