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
Alexey Sedunov
566e701131
Rename: Disable Java member rename by reference to import alias
...
#KT-18076 Fixed
2017-06-08 14:37:32 +03:00
Alexey Sedunov
9c11c42ec2
Rename: Fix inplace refactoring for declarations with backticked names
...
#KT-15859 Fixed
2017-06-08 14:37:31 +03:00
Alexey Sedunov
2f88b6ef9b
Copy: Rename only self-usages of the copied class
...
#KT-18034 Fixed
2017-06-08 14:37:30 +03:00
Mikhail Glukhikh
9c15db93d9
Inline: more accurate handling of type arguments
...
Partial revert of b8cc7c2ca6
Soften requirements in remove type arguments intention in this mode
So #KT-17622 Fixed
Related to KT-17623
2017-05-31 12:47:50 +03:00
Mikhail Glukhikh
38d6c597a3
Handle expected type more precisely in RemoveExplicitTypeArguments
...
So #KT-17623 Fixed
2017-05-31 12:46:59 +03:00
Valentin Kipyatkov
c69375ebdc
Remove redundant curly braces in string templates on inline
2017-05-26 16:37:37 +03:00
Valentin Kipyatkov
ab1b985bac
Inline Property supported for properties with setter
...
#KT-2638 Fixed
2017-05-26 16:37:36 +03:00
Valentin Kipyatkov
e6bfa55534
Inline Property also supported for properties with getter
2017-05-26 16:37:36 +03:00
Valentin Kipyatkov
940ce27925
Inline val: more correct and simple detection of write usages
...
#KT-17489 Fixed
2017-05-26 16:37:35 +03:00
Valentin Kipyatkov
55979aca74
Drop result value if it's not needed
2017-05-26 16:37:35 +03:00
Dmitry Petrov
c83b764c73
Update testData after changes in diagnostics
2017-05-26 13:58:46 +03:00
Alexey Sedunov
75b73ecbcb
Copy: Disable CopyKotlinDeclarationsHandler on non-source files
2017-05-22 13:51:08 +03:00
Alexey Sedunov
a80fb6f20f
Copy: Report module accessibility conflicts
2017-05-18 14:22:39 +03:00
Alexey Sedunov
1072495001
Copy: Support top-level declarations
2017-05-16 13:10:41 +03:00
Alexey Sedunov
4c1c1a989a
Copy: Support multiple classes in the same file
2017-05-16 13:10:40 +03:00
Alexey Sedunov
92446df14a
Copy: Support class copying
...
#KT-8180 Fixed
#KT-9054 Fixed
2017-05-16 13:10:39 +03:00
Alexey Sedunov
f2bb6e4dac
Rename: Support import aliases
...
#KT-4379 Fixed
2017-05-16 13:10:36 +03:00
Alexey Sedunov
3c94184de9
Rename: Support labeled expressions
...
#KT-7107 Fixed
2017-05-16 13:10:34 +03:00
Alexey Sedunov
f70bac019a
Change Signature: Fix TypeInfo comparison
...
#KT-13437 Fixed
2017-05-10 14:49:53 +03:00