Alexander Udalov
98f6ea577a
Move data class-related functions to DataClassDescriptorResolver
2016-09-15 16:45:48 +03:00
Alexey Sedunov
84aa82e73c
Misc: Move conflict checking to moveConflictUtils.kt
2016-09-15 16:22:52 +03:00
Alexey Sedunov
54faac1cee
Pull Up: Drop 'override' modifier if moved member doesn't override anything
2016-09-15 16:22:51 +03:00
Alexey Sedunov
dddb4fd792
Introduce Lambda Parameter: Use IDEA-provided action
2016-09-15 16:22:50 +03:00
Alexey Sedunov
f0a298e27b
Minor: Fix NPE in MoveKotlinTopLevelDeclarationsDialog
...
#KT-13856 Fixed
2016-09-15 16:22:49 +03:00
Mikhail Glukhikh
f973be22e2
IntentionBasedInspection minor refactoring: inspectionRange --> inspectionTarget
2016-09-15 14:26:40 +03:00
shiraji
e4c873dc6a
Add inspection + intention to replace .let { it.foo() } with .foo() #KT-13551 Fixed
2016-09-15 14:26:06 +03:00
Mikhail Glukhikh
cdf4309e04
Speed search is enable in add import action #KT-13326 Fixed
2016-09-15 14:03:53 +03:00
Valentin Kipyatkov
19ef29e96c
KT-12949 Type aliases are not considered for import when there is an unresolved reference
...
#KT-12949 Fixed
2016-09-13 17:47:39 +03:00
Valentin Kipyatkov
e41ab2a270
Better presentation of aliases in completion list
2016-09-13 17:47:38 +03:00
Valentin Kipyatkov
50a0f9a4a7
KT-13266 Non-imported type aliases do not appear in completion
...
#KT-13266 Fixed
2016-09-13 17:47:38 +03:00
Valentin Kipyatkov
fcce1e3838
KT-12852 Support breadcrumbs for Kotlin
...
#KT-12852 Fixed
2016-09-13 17:46:16 +03:00
Alexander Udalov
dcc66a6400
Drop KFunctionFromReferenceImpl, make FunctionImpl an interface
...
23 invokes in KFunctionFromReferenceImpl (and consequently, in FunctionImpl)
were needed before 1576160390 : a wrapped function
reference must have had the necessary invoke to be called as an instance of a
specific function type. After 1576160390 , this is
not needed anymore because KFunctionFromReferenceImpl is now an internal
implementation detail of reflection, and no invoke is ever called on it.
2016-09-13 14:12:30 +03:00
Valentin Kipyatkov
f6b471ac01
Better tests
2016-09-13 12:02:10 +03:00
Valentin Kipyatkov
5bf701ab03
KT-13047 Autocomplete inserts a fully-qualified variable name inside a String
...
KT-12083 String interpolation -- auto {} if there is a letter after cursor
#KT-13047 Fixed
#KT-12083 Fixed
2016-09-13 12:02:10 +03:00
Alexey Sedunov
6e02051be5
Rename: Rename all overridden members if user chooses to refactor base declaration(s)
...
#KT-8867 Fixed
2016-09-12 21:03:21 +03:00
Alexey Sedunov
a77e1dabce
Move: Do not show directory selection dialog if target directory is already specified by drag-and-drop
...
#KT-13553 Fixed
2016-09-12 21:03:20 +03:00
Alexey Sedunov
23491afde2
Move to Companion Intention: Do not use qualified names as labels
...
#KT-11483 Fixed
2016-09-12 21:03:18 +03:00
Mikhail Glukhikh
222b964f3a
Minor: intention message changed for if/when -> assignment/return
2016-09-12 15:01:17 +03:00
Mikhail Glukhikh
edacc7f8d7
Quick-fix for reassignment in try / catch (fold to assignment) #KT-13778 Fixed
2016-09-12 14:45:20 +03:00
Mikhail Glukhikh
babf61ec19
Minor: message fixed in diagnostics test
2016-09-12 12:57:48 +03:00
Mikhail Glukhikh
292384fb4c
Merge pull request #948 from shiraji/quick_fix_for_final_upper_bound_2
...
KT-13674 Add quickfix to remove the final upper bound
2016-09-12 13:33:37 +04:00
Dmitry Jemerov
2a5f10855c
Merge pull request #950 from shiraji/expand_brackets
...
KT-13693 Expand selection for array brackets
2016-09-12 12:17:50 +03:00
Yan Zhulanow
471ddc5a93
Kapt: Write annotations with the "SOURCE" retention if kapt2 is enabled
...
(cherry picked from commit 6177b2b)
2016-09-10 17:36:15 +03:00
shiraji
d83b1747bb
KT-13693 Expand selection for array brackets
...
#KT-13693 Fixed
2016-09-10 18:07:04 +09:00
shiraji
7c3835bb77
KT-13674 Add quickfix to remove the final upper bound
...
#KT-13674 Fixed
2016-09-10 08:11:23 +09:00
Simon Ogorodnik
2b63bcaa19
Correct diagnostics and quick-fix for T::class with non-reified type parameter #KT-9590 fixed
2016-09-09 16:14:11 +03:00
Mikhail Glukhikh
998399bcd8
Change to star projection no longer applied for functional types #KT-13715 Fixed
...
Also EA-87648 Fixed
2016-09-09 15:00:02 +03:00
Mikhail Glukhikh
23132ad519
Convert lambda to reference intention: apply shorten references to callable reference only, not to the whole argument list
2016-09-09 14:59:57 +03:00
Mikhail Glukhikh
06b7881776
Refactoring: add braces to when entry intention is integrated into general add braces intention
2016-09-09 14:59:52 +03:00
Mikhail Glukhikh
cbc7f72f15
Minor: remove braces is now applicable for the whole loop or when entry
2016-09-09 14:59:47 +03:00
Mikhail Glukhikh
cf2839eb9a
Refactoring: remove braces from when entry intention is integrated into general remove braces intention
2016-09-09 14:59:42 +03:00
Mikhail Glukhikh
7f955fd260
Convert lambda to reference has now INFO severity
2016-09-09 14:59:37 +03:00
Mikhail Glukhikh
8b6cec6ba2
Test fix: typeFromJavaFlexibleRecursive
2016-09-08 18:54:57 +03:00
shiraji
9d768e2375
Add quickfix for FINAL_UPPER_BOUND: inline type parameter #KT-13773 Fixed
2016-09-08 17:48:01 +03:00
Nikolay Krasko
28d187ca1a
More tests for ChangeVisibilityModifierIntention
...
(cherry picked from commit e7cdba7)
2016-09-08 17:32:40 +03:00
Nikolay Krasko
1e9db3c23e
Restrict default applicability range for intentions to enclosing block
...
(cherry picked from commit bf2aade)
2016-09-08 17:32:38 +03:00
Valentin Kipyatkov
1d24fc3a7b
Refactored to ensure use of correct options
2016-09-08 16:11:12 +03:00
Valentin Kipyatkov
32e4a033db
Fixed use of options
2016-09-08 16:11:11 +03:00
Valentin Kipyatkov
fc27212456
Shorten references to use analyze() for multiple elements
2016-09-08 16:11:11 +03:00
Valentin Kipyatkov
6efb3ac009
Added TODO
2016-09-08 16:11:11 +03:00
Valentin Kipyatkov
215b870946
Added TODO
2016-09-08 16:11:10 +03:00
Valentin Kipyatkov
dd6b5ab5a7
Used analyze to multiple elements for copy/paste
2016-09-08 16:11:10 +03:00
Valentin Kipyatkov
5a5a6d47b3
Minor
2016-09-08 16:11:09 +03:00
Valentin Kipyatkov
bcfa31de2b
Implemented ability to analyze to multiple elements at once
2016-09-08 16:11:09 +03:00
Valentin Kipyatkov
36c2b01047
KT-13675 Ctrl-W: cannot select type argument in return type
...
#KT-13675 Fixed
2016-09-07 20:02:50 +03:00
Valentin Kipyatkov
73828d1411
Renamed file
2016-09-07 19:04:49 +03:00
Valentin Kipyatkov
8d16af41a9
Fixed test data
2016-09-07 19:04:48 +03:00
Valentin Kipyatkov
6d028fbcce
Supported object value access expressions
2016-09-07 19:04:48 +03:00
Valentin Kipyatkov
e8471b4f32
Added TODO
2016-09-07 19:04:48 +03:00