Commit Graph

24756 Commits

Author SHA1 Message Date
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
Valentin Kipyatkov fac15d2933 Minor simplification in CompletionSession 2015-07-16 13:49:17 +03:00
Valentin Kipyatkov 42678bc79a Minor optimization 2015-07-16 13:49:17 +03:00
Valentin Kipyatkov 962bef6584 Moved methods 2015-07-16 13:49:17 +03:00
Valentin Kipyatkov a08fe96a8b Renamed methods 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov b33202d32d Hiding getters and setters from completion 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov 3faa0a193d Removed obsolete comment 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov 92349e41ec Reordered parameters 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov 63614c5892 Initial implementation of renaming extension property usages on getter or setter rename 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov 13f0d3ca23 Initial implementation of usage search for get/set methods in form of synthetic extension 2015-07-16 13:49:16 +03:00
Valentin Kipyatkov 73dd4a214e Reference resolve from synthetic extension usages to get/set-methods 2015-07-16 13:49:15 +03:00
Valentin Kipyatkov 2ec6f50402 Set method should not accept vararg 2015-07-16 13:49:15 +03:00
Valentin Kipyatkov 82f1eafa0b No synthetic properties of type Unit 2015-07-16 13:49:15 +03:00
Valentin Kipyatkov bfdc74ce74 Intention&inspection to use synthetic property instead of get/set method call 2015-07-16 13:49:15 +03:00
Valentin Kipyatkov a014f5c8db No synthetic properties with incorrect names 2015-07-16 13:49:15 +03:00
Valentin Kipyatkov fa02a15212 One more test for completion 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 9b3cbc6f25 Fixed completion for safe call 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 48b163758f Fixed caching 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 46a512215e Used utility 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 434e3ab38b Moved utility functions for JetType from IDE to core 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 16c4f5bedd Renamed a class 2015-07-16 13:49:14 +03:00
Valentin Kipyatkov 8bde9b098a Code refactoring 2015-07-16 13:49:13 +03:00
Valentin Kipyatkov 17442617bb Synthetic extensions suggested in completion 2015-07-16 13:49:13 +03:00
Valentin Kipyatkov 08754b9fc0 Support for synthetic extensions in codegen 2015-07-16 13:49:13 +03:00
Valentin Kipyatkov 2e351f3e4d Initial implementation of synthetic extensions resolve 2015-07-16 13:49:13 +03:00