Commit Graph

3474 Commits

Author SHA1 Message Date
Alexey Sedunov 4a19d4f77b Fix "Move statement" for the cases when nested closure is used (KT-3735) 2013-07-08 19:16:58 +04:00
Nikolay Krasko 21fa398380 KT-3750 When without else
#KT-3750 Fixed
2013-07-08 13:04:58 +04:00
Nikolay Krasko 37e4402822 Complete only imported classes on auto-typing and first completion and set up invocation count 2013-07-04 21:22:22 +04:00
Nikolay Krasko f0a10b70c1 Fix wrong unnecessary completion for the case of force completion
#KT-1187 Fixed
2013-07-04 20:49:31 +04:00
Nikolay Krasko 86274466c5 Add ability to search kotlin classes in selected scope 2013-07-04 20:49:29 +04:00
Nikolay Krasko 03053711f4 Refactoring: Move CompleteSession class to upper level 2013-07-04 20:49:27 +04:00
Nikolay Krasko 141c544775 KT-3729 Quick documentation support
#KT-3729 Fixed
2013-07-04 20:48:26 +04:00
Nikolay Krasko c8f79e1966 Move project descriptor to common place 2013-07-04 18:49:49 +04:00
Evgeny Gerashchenko 8a51f908f7 Made keywords not bold in Darcula (as in Java). 2013-07-02 14:06:08 +04:00
Evgeny Gerashchenko 06bfb1d017 KT-3472 Can't navigate to source by clicking on a SAM constructor
#KT-3472 fixed
2013-07-02 14:06:08 +04:00
Evgeny Gerashchenko b7b74cd3b8 Combining two color keys for KDoc tags (plain KDoc + KDoc tag). 2013-07-02 14:05:35 +04:00
Nikolay Krasko 8cf66b8a14 Fix deprecation warnings 2013-07-01 15:01:36 +04:00
Evgeny Gerashchenko 104f15adc4 Moved Java-related keys to JavaBindingContext. 2013-06-25 20:17:47 +04:00
Evgeny Gerashchenko 1f2676becd Ignoring SAM adapters when checking for unimplemented methods or methods to override. 2013-06-25 20:17:45 +04:00
Alexander Udalov 9b3115a10b Fix EA-47308
Don't always cast PsiFile to JetFile, first check if it really is a Kotlin
source
2013-06-25 18:22:20 +04:00
Nikolay Krasko 69dffe8358 Optimize searching for kotlin classes 2013-06-25 17:33:09 +04:00
Alexey Sedunov 8f7d623682 Rename: Fix spelling mistake 2013-06-21 19:32:20 +04:00
Alexey Sedunov d019c23395 Implement general expresion remover 2013-06-21 19:32:14 +04:00
Alexey Sedunov 0b634cc918 Implement Unwrap/Remove for try expressions 2013-06-21 19:32:09 +04:00
Alexey Sedunov 9d46c90165 Implement Unwrap/Remove for lambdas 2013-06-21 19:32:03 +04:00
Alexey Sedunov 8964e0e152 Implement Unwrap/Remove for conditionals and loops 2013-06-21 18:18:08 +04:00
Alexey Sedunov fa01d59ef8 Fixed moving of classes without body 2013-06-21 18:18:07 +04:00
Alexander Kirillin 07ede8898b EA-46365 2013-06-21 16:58:26 +04:00
Alexander Kirillin 9b9c85cdca EA-46366 2013-06-21 16:58:26 +04:00
Alexander Kirillin 7e628a6d02 EA-46007 2013-06-21 16:58:26 +04:00
Nikolay Krasko b0484c9680 Refactorings in counting parameters tips 2013-06-20 14:56:50 +04:00
Nikolay Krasko e7bdee7994 Fix color for highlighting resolved method 2013-06-20 14:56:49 +04:00
Nikolay Krasko 1c2ee72322 Lazy analyze in counting parameters tips 2013-06-20 14:56:49 +04:00
Svetlana Isakova 041505f5b8 report UNRESOLVED_REFERENCE_WRONG_RECEIVER
mentioning candidates with wrong receiver
2013-06-20 13:43:03 +04:00
Svetlana Isakova 342e9ebe7a KT-3563 Compiler requiring java.io.File, and it's unclear why
#KT-3563 fixed
2013-06-20 13:43:02 +04:00
Nikolay Krasko 935c5ec16d Add folding doc and multiline comments 2013-06-18 17:46:02 +04:00
Nikolay Krasko 9c604267f8 Extract setting configurator to utility class 2013-06-18 17:46:01 +04:00
Alexey Sedunov 6f942a21de Move intention-related classes and tests to "intentions" directory 2013-06-13 20:19:38 +04:00
Alexey Sedunov 57252ea491 Add missing tests 2013-06-13 20:19:36 +04:00
Alexey Sedunov 12ea273ac0 Simplify unfolding of properties, fix caret position 2013-06-13 20:19:35 +04:00
Alexey Sedunov 3ab393e460 Implement split/join property declaration 2013-06-13 20:19:34 +04:00
Alexey Sedunov da2055862e Move common code transformation classes 2013-06-13 20:19:32 +04:00
Alexey Sedunov f9c4606128 Introduce 'when' subject: consider equality right-hand side as subject candidate 2013-06-13 20:19:32 +04:00
Alexey Sedunov e13508c22b Add support of backticks in JetPsiMatcher 2013-06-13 20:19:31 +04:00
Zalim Bashorov 1e0f926d39 Fixed the expected test result for OverrideImplementTest#testFunctionWithTypeParameters. 2013-06-11 15:50:16 +04:00
Zalim Bashorov 9e4f01319b Swapped some CodeStyle options because must first be "... before ..." then "... after..." 2013-06-11 13:59:23 +04:00
Zalim Bashorov 03b039b302 Fixed the default Kotlin CodeStyle.
By default add space before colon when it placed between types (inheritance, type constraint, type parameter).
Added example of inheritance to the Sample.
2013-06-11 13:49:09 +04:00
Evgeny Gerashchenko 9b19685ec1 Merge branch master into pr/269 2013-06-10 17:40:37 +04:00
Jack Zhou 8f24d1e18b Create from usage: Removed a redundant check. 2013-06-08 18:48:41 -07:00
Nikolay Krasko d50300dedc Navigate to super for objects 2013-06-07 17:24:19 +04:00
Nikolay Krasko 994107ee0a Mix class object scope to member resolution scope in lazy resolve 2013-06-07 17:24:17 +04:00
Alexey Sedunov 3f2ff3eb24 Add code transformations for if/when in local property initializers 2013-06-07 17:05:05 +04:00
Alexey Sedunov 70b4fb48bc Add file parameter to Transformer 2013-06-07 17:04:19 +04:00
Natalia.Ukhorskaya afa3ead160 Add kotlin annotations for android SDK 2013-06-07 11:05:57 +04:00
Alexey Sedunov ef2af3a4e8 Fix brace node extraction from class initializer 2013-06-05 16:03:51 +04:00