Nikolay Krasko
3c8e35fa3a
Remove psi modification tracker from pooled threads (EA-86038, KT-13163)
...
IDEA 163 explicitly forbids such tricks with exceptions.
#KT-13163 Fixed
2016-07-26 17:17:06 +03:00
Nikolay Krasko
a0226f3fd8
Run SafeDeleteFix without run action to avoid "Refactorings should not be started inside write action" (KT-13207)
...
#KT-13207 Fixed
2016-07-26 13:38:24 +03:00
Nikolay Krasko
6ea5171f60
Add "Studio" as version separator (KT-13184)
...
#KT-13184 Fixed
2016-07-26 13:38:24 +03:00
Alexander Udalov
89c5799155
Move utilities used in IDE from OverrideResolver to descriptorUtils.kt
2016-07-25 15:55:31 +03:00
Alexey Sedunov
0a8490a068
Introduce Type Alias: Suggest initial name based on extracted type
2016-07-25 12:44:30 +03:00
Alexey Sedunov
0769d47f4b
Introduce Type Alias: Support type constructor extraction
2016-07-25 12:44:28 +03:00
Alexey Sedunov
b5828a5fa1
Refactoring: Allow multiple ElementKinds when choosing element to refactor
2016-07-25 12:44:26 +03:00
Alexey Sedunov
09d36291de
Misc: Update function/type alias signature preview upon changing checkbox state
2016-07-25 12:44:24 +03:00
Mikhail Glukhikh
30b0875b26
Merge pull request #906 from cypressious/make_val_private
...
Quickfix "Make primary constructor parameter a val" makes the val private now #KT-13187 Fixed
2016-07-25 09:46:42 +03:00
Mikhail Glukhikh
299097d112
KT-10903 Lambda to callable reference: use named arguments if needed, lift restriction about parameter default values
...
(cherry picked from commit 5232af5)
2016-07-25 09:40:34 +03:00
Kirill Rakhman
ce80f94830
Quickfix "Make primary constructor parameter a val" makes the val private now
...
Fixes #KT-13187
2016-07-23 14:32:25 +02:00
Yoshinori Isogai
8aaf28e240
KT-12887 Extend selection should select call's invoked expression ( #904 )
...
#KT-12887 fixed
2016-07-22 21:23:42 +03:00
Kirill Rakhman
5948b69679
AddConstModifierIntention: handle more edge cases #KT-13173 Fixed
...
(cherry picked from commit 4755596)
2016-07-22 18:07:14 +03:00
Nikolay Krasko
adbb07f30b
Do not fail on adding sources to libraries that can't be recognized (EA-73238)
...
It's valid situation when user in Gradle project had created ordinal Java module and wants to configure
it with Kotlin. We should add Gradle library to dependency but there's no need to configure sources for it.
2016-07-22 15:21:27 +03:00
Nikolay Krasko
0f4319de8e
Minor: fix warning
2016-07-22 15:21:27 +03:00
Nikolay Krasko
95d0604339
Evaluate getting text under read action (EA-82155, EA-82587)
2016-07-22 15:21:27 +03:00
Nikolay Krasko
3d0cfdf585
Don't fail if there's no modules in combobox with unconfigured modules (EA-76203)
...
Confirmed reproduction steps:
1. Open Kotlin gradle project (or do the sync) - it will be considered unconfigured until synchronisation is finished
2. Click configure and see Choose Configuration popup
3. Wait sync is finished
4. Click proposed configurator in popup
As all projects are considered configured now, single module selection will be empty
2016-07-22 15:21:27 +03:00
Alexander Udalov
6baf3ae737
Minor, inline LexicalScope.Companion.empty
2016-07-22 11:05:19 +03:00
Mikhail Glukhikh
82e69d9587
Remove setter parameter type inspection #KT-5771 Fixed
...
(cherry picked from commit 731a670)
2016-07-21 20:15:44 +03:00
Alexey Sedunov
e232905614
Fix compilation
2016-07-20 17:01:07 +03:00
Alexey Sedunov
ae06f01c95
Create from Usage: Approximate unresolvable types
...
#KT-7722 Fixed
(cherry picked from commit 917cd22)
2016-07-20 16:36:12 +03:00
Alexey Sedunov
a1e86e8bfa
Create from Usage: Show target class name in the text of "Create member" quick fix
...
(cherry picked from commit a51d3fc)
2016-07-20 15:39:19 +03:00
Alexey Sedunov
82bdd1e42b
Minor: Convert CallablePlacement to sealed class
...
(cherry picked from commit 47073b5)
2016-07-20 15:39:16 +03:00
Alexey Sedunov
e1f58c554d
Rename: Fix exception on property rename preview
...
(cherry picked from commit 7b54ad0)
2016-07-20 15:39:15 +03:00
Alexey Sedunov
1a13c21377
Create from Usage: Show receiver type in the text of "Create extension" quick fix
...
(cherry picked from commit c0d5df1)
2016-07-20 15:39:13 +03:00
Alexey Sedunov
79f73d3cc2
Minor: Fix compilation
...
(cherry picked from commit 5397e11)
2016-07-20 15:39:11 +03:00
Alexey Sedunov
2abcd17713
Create from Usage: Support "Create member/extension" corresponding to the extension receiver of enclosing function
...
#KT-10668 Fixed
(cherry picked from commit bc4c013)
2016-07-20 15:39:09 +03:00
Alexey Sedunov
49b6811b44
Create from Usage: Support "Create abstract function/property" inside an abstract class
...
#KT-7492 Fixed
(cherry picked from commit 75f6b7f)
2016-07-20 15:39:07 +03:00
Alexey Sedunov
3ba776fffa
Code Insight: Format generated declarations
...
#KT-11176 Fixed
(cherry picked from commit 3641ad6)
2016-07-20 15:39:05 +03:00
Alexey Sedunov
dd7bd2b869
Inline Property: Support "Do not show this dialog" and "Inline this occurrence" options
...
#KT-12017 Fixed
(cherry picked from commit b53d8da)
2016-07-20 15:30:14 +03:00
Alexey Sedunov
59f37a8291
Introduce Property: Do not skip outer classes if extractable expression is contained in object literal. Skip outer classes of non-inner class
...
#KT-12084 Fixed
(cherry picked from commit 2852f44)
2016-07-20 15:30:12 +03:00
Alexey Sedunov
00ad37b769
Introduce Property: Fix extraction of expressions referring to primary constructor parameters
...
#KT-12294 Fixed
(cherry picked from commit 78212a4)
2016-07-20 15:30:10 +03:00
Alexey Sedunov
c075d27731
Change Signature: Consider default value context an initial type context. Use parameter list as a type context for bodyless function
...
#KT-12413 Fixed
(cherry picked from commit f417b05)
2016-07-20 15:30:09 +03:00
Alexey Sedunov
57bc0d6734
Change Signature: Consider super call a by-name propagation site if either its class, or its primary constructor is a propagation target.
...
This fixes testJavaConstructorParameterPropagation test flickering
2016-07-20 15:30:07 +03:00
Alexey Sedunov
130e4fb745
Introduce Type Alias
...
#KT-12902 Fixed
2016-07-20 11:46:59 +03:00
Alexey Sedunov
ce0e5b4b46
Convert to Kotlin: AbstractParameterTablePanel.java
2016-07-20 11:46:58 +03:00
Alexey Sedunov
27773fbe99
Convert to Kotlin: AbstractParameterTablePanel.java (rename to .kt)
2016-07-20 11:46:57 +03:00
Alexey Sedunov
3d49b27269
Convert to Kotlin: ExtractFunctionParameterTablePanel.java
2016-07-20 11:46:57 +03:00
Alexey Sedunov
abe7b8c513
Convert to Kotlin: ExtractFunctionParameterTablePanel.java (rename to .kt)
2016-07-20 11:46:56 +03:00
Alexey Sedunov
6b0968c939
Refactoring: Extract AbstractParameterTablePanel class
2016-07-20 11:46:55 +03:00
Alexey Sedunov
9e339c12e9
Minor: Move and rename KotlinFunctionSignatureComponent
2016-07-20 11:46:54 +03:00
Alexey Sedunov
301f86cc96
Refactoring: Extend expression selection utilities to support KtTypeElement
2016-07-20 11:46:54 +03:00
Natalia Ukhorskaya
3cbe28095b
Debugger: check that label for marked object is a valid java identifier (KT-12651)
...
#KT-12651 Fixed
2016-07-19 17:52:55 +03:00
Nikolay Krasko
5ea74ed562
Remove call invokeAndWait() under read lock in debugger (KT-13037)
...
Call to invokeAndWait() in dispatch thread or in situation when read lock isn't held left untouched. Can't remove invokeAndWait() completely because without the
progress bar idea looks to be stacked on debugger start because of long search for inline functions usages (searching for breakpoints places).
#KT-13037 Fixed
2016-07-19 17:52:55 +03:00
Alexey Sedunov
ccfca0e3dd
Inline Type Alias
...
#KT-12903 Fixed
2016-07-19 15:44:35 +03:00
Dmitry Jemerov
30f00bb618
fix muted test MultiFileIntentionTestGenerated.testImplementAbstractMember_implementVarInJava_ImplementAllInJava: apply intention in deterministic order, remove trailing space in expected output file
2016-07-19 11:17:48 +02:00
Kirill
b9d235dec8
Implement quickfix for wrong long suffix
...
Fixes: KT-13134
2016-07-18 22:49:22 +02:00
Mikhail Glukhikh
9df96bdd26
KotlinJUnitStaticEntryPoint.wasSelected made public field #KT-13114 Fixed
...
(cherry picked from commit 5cafae5)
2016-07-18 17:10:41 +03:00
Mikhail Glukhikh
a3b52fd8a6
Lambda to callable reference: inspection is optional depending on text length
...
(cherry picked from commit ce0c43c)
2016-07-18 17:10:31 +03:00
Mikhail Glukhikh
220141ab2b
Convert lambda to callable reference intention / inspection #KT-10903 Fixed
...
(cherry picked from commit b620099)
2016-07-18 17:10:15 +03:00