Alexey Sedunov
caeb594e09
Rename: Replace name identifiers via AST to prevent unwanted reformatting
...
#KT-8563 Fixed
2018-02-01 15:41:06 +03:00
Alexey Sedunov
58bf42c1dd
Rename: Support KtTypeAlias in RenameKotlinClassProcessor
...
#KT-21719 Fixed
2018-02-01 15:41:04 +03:00
Alexey Sedunov
80643c5603
Rename: Fix processing of functions without light methods
...
#KT-22461 Fixed
2018-01-29 01:34:48 +03:00
Dmitry Jemerov
43ef113b7a
Correctly apply annotation wrap before modifier keyword
...
#KT-20314 Fixed
2017-12-22 10:35:22 +01:00
Alexey Sedunov
0ab924a298
Change Signature: Fix overrider search for suspend functions
...
#KT-21288 Fixed
2017-12-19 13:47:02 +03:00
Alexey Sedunov
e1ed74008f
Rename: Fix exception on attempt to rename KtConstructorDelegationReference
...
#KT-21536 Fixed
2017-12-06 14:17:56 +03:00
Mikhail Glukhikh
7118a4bf80
Fix KNPE in "introduce variable", add some name conflict introduce tests
...
So #KT-21530 Fixed
2017-12-05 15:29:45 +03:00
Nikolay Krasko
1bc8ad7852
Don't mess up with configuring project descriptors in PullPush tests
...
This commit fixes tests in 173 branch.
2017-11-30 13:24:05 +03:00
Alexey Sedunov
354a6cbfd9
Change Signature: Keep parameter 'val'/'var' when invoked from Java
...
#KT-20901 Fixed
#KT-21159 Fixed
2017-11-30 12:49:24 +03:00
Alexey Sedunov
acbf53c42e
Move: Make applicable to type aliases
...
#KT-21071 Fixed
2017-11-27 21:19:23 +03:00
Alexey Sedunov
169a22226f
Rename: Support inplace rename of class via primary constructor
...
#KT-20146 Fixed
#KT-21371 Fixed
2017-11-27 21:19:22 +03:00
Mikhail Glukhikh
eba2fdfe89
Fix inline test
2017-10-16 21:06:18 +03:00
Alexey Sedunov
25b6dac7b5
Introduce Type Alias: Don't change non-nullable type to nullable alias
...
#KT-15840 Fixed
2017-10-16 16:04:39 +03:00
Alexey Sedunov
1c3a3cd651
Introduce Parameter: Forbid inside of default values
2017-10-16 16:04:39 +03:00
Alexey Sedunov
790b615fa1
Introduce Parameter: Fix parameter name validation
...
Respect existing parameter names and fix some exceptions
#KT-19439 Fixed
#KT-20402 Fixed
#KT-20403 Fixed
2017-10-16 16:04:39 +03:00
Alexey Sedunov
bf3769f37e
Introduce Parameter: Forbid inside of annotation entries
...
#KT-18594 Fixed
2017-10-16 16:04:38 +03:00
Alexey Sedunov
e2fd9a71df
Rename: Search text occurrences by declaration FQ name
...
#KT-17949 Fixed
#KT-15932 Fixed
2017-10-16 16:04:38 +03:00
Alexey Sedunov
21bf4d3f24
Rename: Suspend function support
2017-10-10 13:15:15 +03:00
Mikhail Zarechenskiy
c6a00af2f0
Fix test data after f3344ec
2017-10-05 10:21:26 +03:00
Alexey Sedunov
67798d73a1
Minor: Fix multi-module test data
...
This is required since "implements" dependency is now specified
explicitly in the Kotlin facet configuration
2017-10-02 18:14:04 +03:00
Alexey Sedunov
6e59cc2140
Copy: Copy entire file if it contains just a selected declaration
2017-09-25 14:40:17 +03:00
Alexey Sedunov
c8c0ab1647
Copy: Fix import insertion on declaration copying
...
#KT-19909 Fixed
2017-09-25 14:40:17 +03:00
Alexey Sedunov
0beadddb7f
Copy: Improve file copying
...
- Do not copy individual declarations if entire file is selected
(keeping original content with comments, formatting, etc.)
- Update package directive when original file packages matches
its directory
#KT-20092 Fixed
#KT-18196 Fixed
2017-09-25 14:40:17 +03:00
Mikhail Glukhikh
19b8ecab61
Migration to expect/actual: KotlinSafeDeleteProcessor
2017-09-15 18:29:13 +03:00
Mikhail Glukhikh
6e41bbc2a7
Migration: header->expect & impl->actual in IDEA test data
2017-09-15 18:29:06 +03:00
Alexey Sedunov
787bbe9a4c
Safe Delete: Support header/impl declarations
...
#KT-18433 Fixed
2017-08-15 19:08:29 +03:00
Alexey Sedunov
1215b2864b
Safe Delete: Use actual usage PSI in UsageInfo instead of declaration
...
#KT-19161 Fixed
2017-08-15 19:08:28 +03:00
Alexey Sedunov
4dbde03c3b
Rename: Support parameters of header/impl functions
...
#KT-18393 Fixed
2017-08-15 19:08:27 +03:00
Alexey Sedunov
f5c7db8270
Change Signature: Support constructors of header/impl classes
2017-08-15 19:08:26 +03:00
Alexey Sedunov
8439e15c6e
Change Signature: Support members of header/impl classes
2017-08-15 19:08:26 +03:00
Alexey Sedunov
e4f70a3568
Rename: Support members of header/impl classes
...
#KT-18885 Fixed
#KT-18898 Fixed
#KT-18899 Fixed
2017-08-15 19:08:26 +03:00
Alexey Sedunov
62ca3bab31
Move: Do not skip usages of declarations without light elements
...
#KT-18873 Fixed
2017-08-15 19:08:25 +03:00
Alexey Sedunov
f455f06a9e
Change Signature: Fix replacement of implicit Unit return type
2017-08-15 19:08:25 +03:00
Valentin Kipyatkov
996292264b
Fixed inline when multiple implicit receivers exist
...
#KT-17776 Fixed
#KT-17266 Fixed
2017-07-27 13:55:25 +03:00
Mikhail Glukhikh
d05a525d8d
Search for KtTypeAlias in safe delete processor
...
Related to KT-16046
2017-07-21 18:59:07 +03:00
Dmitry Jemerov
fbcc519098
Fix tests affected by annotation wrapping changes
2017-07-20 12:32:48 +02:00
Mikhail Glukhikh
a960fa78cb
Use expression body: add new line more accurately
2017-07-07 18:15:36 +03:00
Mikhail Glukhikh
523cbc6723
Convert to expression body: insert new-line after = for long lines
2017-07-07 18:15:07 +03:00
Dmitry Jemerov
5f9a33564a
Implement option for wrapping method annotations
2017-07-07 16:48:31 +02:00
Alexey Sedunov
50a38df8b1
Remove Parentheses: Forbid on call inside a call without argument list
...
#KT-18699 Fixed
2017-06-29 17:42:17 +03:00
Alexey Sedunov
2e8b374ce8
Move: Use KtNamedDeclaration as referrer when reporting a conflict
...
EA-103817 Fixed
2017-06-29 17:42:15 +03:00
Denis Zharkov
bc564af2fc
Regenerate mockJDK using openJDK 7
2017-06-24 17:26:01 +03:00
Alexey Sedunov
895407f5e3
Rename: Do not silently rename all parameters in function hierarchy
...
#KT-18325 Fixed
2017-06-22 19:50:54 +03:00
Alexey Sedunov
423fb9dfb3
Move/Copy: Warn about usages of JDK when moving to non-JVM module
...
#KT-18135 Fixed
2017-06-22 19:50:52 +03:00
Alexey Sedunov
1d36c49537
Copy: Copy elements and process usages under the same write action
...
In some cases doing these operations in separate write actions
may lead to invalidation of copied elements
#KT-18149 Fixed
2017-06-22 19:50:51 +03:00
Alexey Sedunov
6b18ff1d97
Copy/Move: Fix processing of calls used as callees
...
#KT-18241 Fixed
2017-06-22 19:50:50 +03:00
Dmitry Jemerov
f32dc9e84e
Put lambda parameters on the same line as opening curly brace
2017-06-14 14:18:58 +02:00
Alexey Sedunov
13212f06b4
Copy/Move: Fix processing of imported Java static members
...
#KT-18098 Fixed
2017-06-08 14:37:37 +03:00
Alexey Sedunov
a0629bfc58
Rename: Fix rename of import alias referring to object member
...
#KT-18096 Fixed
2017-06-08 14:37:35 +03:00
Alexey Sedunov
69c315443a
Rename: Disable label rename outside of reference range
...
#KT-17128 Fixed
2017-06-08 14:37:34 +03:00