Commit Graph

24074 Commits

Author SHA1 Message Date
Stanislav Erokhin d5f7fc52e0 Minor. Remove unnecessary trace parameter 2015-07-16 17:26:16 +03:00
Stanislav Erokhin 97d41be42e Support lazy perform for candidates 2015-07-16 17:26:16 +03:00
Stanislav Erokhin 7038b9d849 Add correct way for CallResolver to process CandidateResolveMode 2015-07-16 17:26:15 +03:00
Stanislav Erokhin b00dab0db5 Minor. Created CandidateResolveMode in CallCandidateResolutionContext. 2015-07-16 17:26:14 +03:00
Stanislav Erokhin 3c56787514 Minor. .java -> .kt 2015-07-16 17:26:14 +03:00
Stanislav Erokhin ce80773419 Minor. Convert CandidateResolver to kt 2015-07-16 17:26:14 +03:00
Stanislav Erokhin fdbd5efd1c Minor. remove static keywords 2015-07-16 17:26:13 +03:00
Dmitry Jemerov 649287b689 remove KDoc support in Kotlin Gradle plugin 2015-07-16 15:04:17 +02:00
Dmitry Jemerov 811f75f062 remove enclosing read action around the entire method references search, use more fine-grained read actions (KT-7917); more cleanup 2015-07-16 14:50:26 +02:00
Dmitry Jemerov f0296bc1c1 KotlinFindMemberUsagesHandler: J2K and some cleanup 2015-07-16 14:50:25 +02:00
Dmitry Jemerov c91b6dfe8b KotlinFindMemberUsagesHandler.java : rename to .kt 2015-07-16 14:50:24 +02:00
Dmitry Jemerov fbf7fa7277 KotlinFindUsagesHandler: cleanup after J2K 2015-07-16 14:50:23 +02:00
Dmitry Jemerov 6b2ea56b76 KotlinFindUsagesHandler: J2K 2015-07-16 14:50:23 +02:00
Dmitry Jemerov 3966db3430 KotlinFindUsagesHandler: rename to .kt 2015-07-16 14:50:22 +02:00
Alexander Udalov de94778846 Restore deprecated K*Function classes for compatibility
The code compiled with old compiler will work with the new runtime, but not
vice versa
2015-07-16 15:36:07 +03:00
Valentin Kipyatkov 4226b0b2b7 Better presentation for non-root packages in completion 2015-07-16 15:04:01 +03:00
Valentin Kipyatkov 16d503aed0 Even faster completion of root packages 2015-07-16 15:04:01 +03:00
Valentin Kipyatkov 136af1cd60 Optimization in completion: don't spend too much time calculating root packages 2015-07-16 15:04:00 +03:00
Valentin Kipyatkov 10b5942537 Formatting 2015-07-16 14:03:37 +03:00
Valentin Kipyatkov c1b2ea0b48 More elegant way to achieve the same + fixed KT-7746 Top level package name completion does not work inside class body
#KT-7746 Fixed
2015-07-16 14:03:37 +03:00
Valentin Kipyatkov 82c9cd790e After dot completion optimization: do not ask for packages and classes when searching extensions 2015-07-16 14:03:37 +03:00
Valentin Kipyatkov 39e6237bb0 All JetReferenceExpression's should have a reference (see JetReferenceExpression.mainReference extension) - made JetPackageDirective not a JetReferenceExpression 2015-07-16 13:49:22 +03:00
Valentin Kipyatkov 53810c67db Changes on code review 2015-07-16 13:49:22 +03:00
Valentin Kipyatkov 867b0b5075 Renamed class 2015-07-16 13:49:22 +03:00
Pavel V. Talanov a740b60134 Temporary workaround until iterable injection is supported in di
Synthetic accessors won't work in REPL until this is fixed
2015-07-16 13:49:21 +03:00
Valentin Kipyatkov 0cea5fc9b2 More informative presentation of synthetic properties in completion 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov d743924be9 Changed signatures 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov 8f3650ebdb Minor 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov f5e7483d19 Renames 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov be5c0ea28b Renamed function 2015-07-16 13:49:21 +03:00
Valentin Kipyatkov bae90e9c2b Perform and cache full resolve when partial is not supported 2015-07-16 13:49:20 +03:00
Valentin Kipyatkov 745bed74b2 Minor fix in partial body resolve 2015-07-16 13:49:20 +03:00
Valentin Kipyatkov 8d1499197e Fixed partial resolve caching to cache only for statements that are guaranteed to be processed 2015-07-16 13:49:20 +03:00
Valentin Kipyatkov 58f2d37d95 Changed element of additional resolve from single import to whole import list (as we resolve all imports anyway) 2015-07-16 13:49:20 +03:00
Valentin Kipyatkov ea25e5d02a Fixed partial resolve for default parameter values 2015-07-16 13:49:20 +03:00
Valentin Kipyatkov 02de67417a Minor code refactorings 2015-07-16 13:49:20 +03:00
Valentin Kipyatkov e612787833 More advanced partial body resolve caching 2015-07-16 13:49:19 +03:00
Valentin Kipyatkov 53e751be1f Caching of partial body resolve 2015-07-16 13:49:19 +03:00
Valentin Kipyatkov 077c8a82c7 Converted ResolveElementCache to Kotlin (step 2) 2015-07-16 13:49:19 +03:00
Valentin Kipyatkov bf7afae805 Converted ResolveElementCache to Kotlin (step 1) 2015-07-16 13:49:19 +03:00
Valentin Kipyatkov 5735248be8 Fixed highlight usages 2015-07-16 13:49:19 +03:00
Valentin Kipyatkov d1db0ce30a Fixed tests 2015-07-16 13:49:18 +03:00
Valentin Kipyatkov 27a23e8e07 Fixed package directive completion 2015-07-16 13:49:18 +03:00
Valentin Kipyatkov e52b524d9a Fixed rename of operator functions 2015-07-16 13:49:18 +03:00
Valentin Kipyatkov 28e9fbf9b8 Correct synthetic extensions for methods like "getURL" 2015-07-16 13:49:18 +03:00
Valentin Kipyatkov 22e631dda3 Naming with "is" supported for synthetic extensions 2015-07-16 13:49:18 +03:00
Valentin Kipyatkov 27b4960001 Fixed crash on searching constructor usages 2015-07-16 13:49:18 +03:00
Valentin Kipyatkov 283c8668f5 Don't use PsiElement.getReference() on JetElement 2015-07-16 13:49:17 +03:00
Valentin Kipyatkov d8d00a83bb Separated references to get/set methods on synthetic extension usage into separate PsiReference's to avoid putting usages like "x++" into "Dynamic usages" group 2015-07-16 13:49:17 +03:00
Valentin Kipyatkov f53a0b0536 Converted JetNameReferenceExpression to Kotlin 2015-07-16 13:49:17 +03:00