Commit Graph

4192 Commits

Author SHA1 Message Date
Alexey Sedunov d226a11c8e Find Usages: Add support of naming conventions
#KT-1356 Fixed
2014-08-08 18:59:47 +04:00
Alexey Sedunov 8bd0dda459 Find Usages: Classify 'by-convention' usages 2014-08-08 18:59:46 +04:00
Alexey Sedunov 311166737f Associate synthetic component function descriptors with corresponding
constructor parameters
2014-08-08 18:59:45 +04:00
Valentin Kipyatkov 386e39f4a2 Fixed KT-1797 No completion for nested class name in extension function definition
#KT-1797 Fixed
2014-08-07 21:55:15 +04:00
Valentin Kipyatkov 83b33bd58b Only named parameters in completion when nothing else can be 2014-08-07 21:55:15 +04:00
Valentin Kipyatkov 3e051d617c Code completion: named parameter completion made not contributor 2014-08-07 21:55:15 +04:00
Valentin Kipyatkov c9b3c97ff5 Code completion refactoring: keyword completion made with no special contributor 2014-08-07 21:55:15 +04:00
Valentin Kipyatkov b5058fa7fd Do not shown inaccessible symbols on auto-popup 2014-08-07 21:55:15 +04:00
Valentin Kipyatkov 9168f0a91a Completion refactoring: got rid of JetPackagesContributor 2014-08-07 21:55:14 +04:00
Valentin Kipyatkov e848fee7a1 Completion refactoring: got rid of JetExtensionReceiverTypeContributor 2014-08-07 21:55:14 +04:00
Valentin Kipyatkov 8d8f22636c Completion refactoring: separated smart and basic completion's code 2014-08-07 21:55:14 +04:00
Valentin Kipyatkov 3e5b7cc2a6 Completion: all elements are first collected and then flushed to result set 2014-08-07 21:55:14 +04:00
Valentin Kipyatkov 61cb360762 Completion refactoring: no result set exposed in wrapper 2014-08-07 21:55:14 +04:00
Valentin Kipyatkov 58482066c4 Dropped code that did nothing 2014-08-07 21:55:14 +04:00
Valentin Kipyatkov 7c523df1ca Refactoring code in completion 2014-08-07 21:55:14 +04:00
Valentin Kipyatkov 727b4c56d0 Converted more completion code to Kotlin 2014-08-07 21:55:14 +04:00
Valentin Kipyatkov 620c018b54 Converted more completion code to Kotlin 2014-08-07 21:55:13 +04:00
Valentin Kipyatkov 7219a521d7 Converted more completion code to Kotlin 2014-08-07 21:55:13 +04:00
Valentin Kipyatkov 3f62a96028 Converting completion code to Kotlin 2014-08-07 21:55:13 +04:00
Valentin Kipyatkov bc7b2307f6 Completion: minor 2014-08-07 21:55:13 +04:00
Valentin Kipyatkov 5b06d4c4c8 JetLookupObject renamed to DeclarationLookupObject 2014-08-07 21:55:13 +04:00
Valentin Kipyatkov 7f0075abbd Completion: more correct detection of keyword items on sorting 2014-08-07 21:55:13 +04:00
Valentin Kipyatkov 448c3008f5 Completion: moved sorting to another package and renamed 2014-08-07 21:55:13 +04:00
Valentin Kipyatkov 752a6cef0d Completion: converted all weighers to Kotlin merging them into one file 2014-08-07 21:55:12 +04:00
Valentin Kipyatkov 3d523ba325 Refactored code 2014-08-07 21:55:12 +04:00
Valentin Kipyatkov 6221de9849 KT-5157 Code completion named parameter items should have lowest priority
KT-4157 Auto-popup code completion pre-selects wrong item

 #KT-5157 Fixed
 #KT-4157 Fixed
2014-08-07 21:55:12 +04:00
Natalia Ukhorskaya f4a0031cf0 Minor: fix warnings 2014-08-07 15:43:48 +04:00
Natalia Ukhorskaya de7b6cb3a1 Evaluate expression: support EE on method with expression body, on properties
#KT-5485 Fixed
2014-08-07 15:43:47 +04:00
Natalia Ukhorskaya 3a7f66b7eb Evaluate expression: fix exception when default package is used
#KT-5555 Fixed
2014-08-07 15:43:46 +04:00
Natalia Ukhorskaya 6fa4d8fc83 Evaluate expression: Don't evaluate something when it is not an expression
#KT-5561 Fixed
2014-08-07 15:43:45 +04:00
Alexey Sedunov 401b53d690 Extract runReadAction/runWriteAction utility functions 2014-08-05 18:18:43 +04:00
Alexey Sedunov 17dd5b9d05 Move: Do not update Kotlin usages of extension members, add imports instead
#KT-5378 Fixed
2014-08-05 18:14:39 +04:00
Evgeny Gerashchenko d0d7cb1ad7 Enabled inlining and optimization in bytecode tool window by default. 2014-08-05 14:22:58 +04:00
Evgeny Gerashchenko 89349b19ac Enabled Kotlin internal mode in IDEA run configurations. 2014-08-04 18:46:28 +04:00
Evgeny Gerashchenko 393afd1bc1 Enabled Kotlin internal mode in JetPsiChecker tests. 2014-08-04 18:35:14 +04:00
Evgeny Gerashchenko 2c7ec8a7ae KT-5531 Introduce separate 'kotlin.internal.mode' property and use it to trigger red/black rectangles and debug information in error tooltips
#KT-5531 fixed
2014-08-04 13:38:36 +04:00
Evgeny Gerashchenko d4d25f6ed0 "Copy as Diagnostic Test" is visible only in internal mode. 2014-08-04 13:38:36 +04:00
Evgeny Gerashchenko f32aecb8ff Moved "Copy as Diagnostic Test" to Tools -> Kotlin.
Renamed class and done some cleanup.
2014-08-04 13:38:36 +04:00
Evgeny Gerashchenko 670f135c75 KT-5522 Rename refactoring on implicit lambda parameter 'it' should be allowed
#KT-5522 fixed
2014-08-04 13:38:35 +04:00
Pavel V. Talanov 8496c535aa Replace ModuleDescriptorImpl implementation
Change the way modules are configured:
Add dependencies on other modules instead of adding additional package fragment providers
Refactor related code
Drop DependencyKind
Hide common new module creation in CliLightClassGenerationSupport
2014-07-31 21:25:49 +04:00
Svetlana Isakova b3ad725e8d Added 'getParameterForArgument' util function (using resolved call)
Removed similar util methods (using psi):
getParameterCorrespondingToValueArgumentPassedInCall
getParameterCorrespondingToFunctionLiteralPassedOutsideArgumentList
2014-07-30 17:14:01 +04:00
Svetlana Isakova 2ae87cae4a Function literal expression outside the parentheses wrapped into JetFunctionLiteralArgument
Extracted JetFunctionLiteralArgument.moveInsideParenthesesAndReplaceWith util function
2014-07-30 17:14:00 +04:00
Svetlana Isakova 3cc02c57fc Refactoring: moved methods to call util 2014-07-30 17:07:10 +04:00
Valentin Kipyatkov 2b67716e95 KT-5153 Smart completion should include objects from type
#KT-5153 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov be0e78b11a Fixed one more case of no-auto-insertion after "as" 2014-07-28 18:52:58 +04:00
Valentin Kipyatkov 7546a17539 KT-4914 Smart completion should work after 'as' and 'as?'
#KT-4914 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov 32dbed602a KT-4913 Smart completion should work after '!'
#KT-4913 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov 19999e6879 Smart completion for implicitly typed function body 2014-07-28 18:52:58 +04:00
Valentin Kipyatkov 91c983706a Fixed KT-5020 Smart completion should work at the initializer of a val with no explicit type
#KT-5020 Fixed
2014-07-28 18:52:58 +04:00
Valentin Kipyatkov ca25a3feaa Simplified code 2014-07-28 18:52:57 +04:00