Commit Graph

117 Commits

Author SHA1 Message Date
Pavel V. Talanov d09f4a4dbb Merge ResolutionFacadeImpl and KotlinResolveCache, rewrite JavaResolveExtension 2015-08-19 21:18:39 +03:00
Pavel V. Talanov 87f826d1b8 Refactor: IterableTypesDetector into an IDE component 2015-08-19 21:18:36 +03:00
Pavel V. Talanov 0a40b375a1 Minor: get SmartCastManager as a service in CompletionSession and KotlinIndicesHelper 2015-08-19 21:18:32 +03:00
Pavel V. Talanov 84ebc7a0f8 Rename SmartCastUtils -> SmartCastManager and make it a component 2015-08-19 21:18:30 +03:00
Valentin Kipyatkov 9b4e3b15c4 KT-8822 Override Members: do not show private members from java classes
#KT-8822 Fixed
2015-08-19 17:26:44 +03:00
Zalim Bashorov 595975a66e LookupLocation.NO_LOCATION_FROM_IDE -> NoLookupLocation.FROM_IDE 2015-08-18 12:34:18 +03:00
Zalim Bashorov 69e0f23db9 Classify Location.NO_LOCATION usages 2015-08-18 12:21:31 +03:00
Valentin Kipyatkov 377201bbcd KT-8716 Exception on attempt to implement function
#KT-8716 Fixed
2015-08-10 20:29:51 +03:00
Valentin Kipyatkov b475860327 Moved classes 2015-08-10 17:49:34 +03:00
Valentin Kipyatkov 2b61f4c552 KT-4915 Smart completion should work for auto-casted 'this'
#KT-4915 Fixed
2015-08-10 17:49:33 +03:00
Valentin Kipyatkov 44d277af87 Completion prefers items matching expected type(s) 2015-08-10 17:49:33 +03:00
Alexey Sedunov 7125989c69 Pull Up: Java -> Kotlin interoperability
#KT-5803 Fixed
2015-08-07 23:30:12 +03:00
Alexander Udalov 942ab9ef6d Make 'hasDefaultValue' an extension on ValueParameterDescriptor
To avoid storing a Boolean and a boolean. It isn't called frequently enough to
justify this wasted space for each parameter of every function out there
2015-08-07 23:01:20 +03:00
Dmitry Jemerov 79bbb820bd BuiltInsReferenceResolver: J2K 2015-07-31 19:07:43 +02:00
Valentin Kipyatkov 422a9613f1 More correct detection of real methods to override 2015-07-30 18:02:54 +03:00
Valentin Kipyatkov bccaf6b340 Moved and renamed DescriptorClassMember 2015-07-28 22:39:32 +03:00
Valentin Kipyatkov 63dc843c71 KT-8542 Override dialog: only one class from hierarchy is shown
#KT-8542 Fixed
2015-07-28 22:39:31 +03:00
Valentin Kipyatkov 29379c061a Code improvements 2015-07-28 22:39:31 +03:00
Valentin Kipyatkov a2b759ef78 More proper package name 2015-07-28 22:39:30 +03:00
Valentin Kipyatkov 421a764eb9 Converted to Kotlin 2015-07-28 22:39:30 +03:00
Valentin Kipyatkov e98ce30333 Moved OverrideMethodsHandler 2015-07-28 22:39:30 +03:00
Alexey Sedunov 3c36795984 Refactoring: Extract JetClassOrObject.getOrCreateBody() function 2015-07-28 18:48:26 +03:00
Pavel V. Talanov 3227ae5577 Inject non-context dependent CallCheckers instead of getting them from context 2015-07-23 16:15:28 +03:00
Pavel V. Talanov 985336d6cc Remove SymbolUsageValidator from contexts 2015-07-23 16:15:10 +03:00
Dmitry Jemerov c718b6f9a3 code cleanup: rest of small modules under 'idea' 2015-07-21 14:26:19 +02:00
Valentin Kipyatkov 4a8adacedd Changed policy for properties from methods like "getURL()"" 2015-07-21 08:32:50 +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 434e3ab38b Moved utility functions for JetType from IDE to core 2015-07-16 13:49:14 +03:00
Denis Zharkov 0a19fb7df2 Make project compilable after types enhancement 2015-07-09 16:36:46 +03:00
Evgeny Gerashchenko 60a3ab548c Moved filtering of excluded symbols to KotlinIndicesHelper 2015-07-08 15:30:29 +03:00
Evgeny Gerashchenko 5c56bc455e Supported excluded packages/classes in auto-import quick fix.
#KT-2413 in progress
2015-07-08 14:28:37 +03:00
Valentin Kipyatkov 646653aa9a Better deparenthesizing 2015-06-29 19:36:50 +03:00
Valentin Kipyatkov 5b997c2c43 Moved method 2015-06-29 19:36:49 +03:00
Valentin Kipyatkov db144a6121 Suggestions from expression itself to have higher priority + fixed incorect upper case naming 2015-06-29 19:36:49 +03:00
Valentin Kipyatkov 4a52247ab7 Name validation filters out invisible declarations 2015-06-29 19:36:48 +03:00
Valentin Kipyatkov 5c0195ff68 IterateExpressionIntention: checking for name conflicts 2015-06-29 19:36:48 +03:00
Valentin Kipyatkov abb729b2ed Moved and renamed classes 2015-06-29 19:36:47 +03:00
Valentin Kipyatkov e00294d17b IterateExpressionIntention uses collection expression for name suggestions too 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov 024834737d Removed unclear doc 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov f60470b3eb JetNameSuggester: no name duplicates + no full body resolve always 2015-06-29 19:36:45 +03:00
Valentin Kipyatkov bce79906ef Use of List's instead of Array's 2015-06-29 19:36:44 +03:00
Valentin Kipyatkov 343604bce0 Minor 2015-06-29 19:36:44 +03:00
Valentin Kipyatkov a2407aaaa4 Minor code improvements 2015-06-29 19:36:43 +03:00
Valentin Kipyatkov 3dd811e73e Reordered methods 2015-06-29 19:36:43 +03:00
Valentin Kipyatkov c478f1d347 Renamed methods 2015-06-29 19:36:42 +03:00
Valentin Kipyatkov a02c86bac9 Refactored NameValidator getting rid of it and replacing with a function 2015-06-29 19:36:42 +03:00
Valentin Kipyatkov 79a453f12c Renamed classes 2015-06-29 19:36:41 +03:00
Valentin Kipyatkov ffa7492240 Moved classes 2015-06-29 19:31:21 +03:00
Valentin Kipyatkov 39f38591d9 Converted JetNameSuggester to Kotlin (step 2) 2015-06-29 19:31:21 +03:00
Valentin Kipyatkov 6f9e5ed386 Converted JetNameSuggester to Kotlin (step 1) 2015-06-29 19:31:21 +03:00