Commit Graph

138 Commits

Author SHA1 Message Date
Valentin Kipyatkov e98edbcbac Code cleanup to remove deprecated symbol imports that have ReplaceWith 2015-08-31 15:48:25 +03:00
Valentin Kipyatkov e8dc9ede31 Implemented HiddenDeclaration annotation (doc-comment to be added!) 2015-08-29 10:54:59 +03:00
Stanislav Erokhin 4c7bafce45 Global replace JetScope to LexicalScope 2015-08-29 01:45:56 +03:00
Valentin Kipyatkov fbb37f0154 Refactored ReferenceVariantsHelper to allow specifying receiver 2015-08-28 16:22:46 +03:00
Valentin Kipyatkov cff817d03b Moved class 2015-08-28 16:22:45 +03:00
Valentin Kipyatkov ab783e052f No override for private to this 2015-08-27 23:21:22 +03:00
Valentin Kipyatkov dcfe9b98d7 Fixed bug with duplicated members in Override Members dialog 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov ccfa48b564 MInor 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 40638de67c Override members does not generate qualified super when not needed 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov dd6702b832 Minor 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 9497856d8e KT-8868 "Implement members" generates unqualified reference for member class/interface
#KT-8868 Fixed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 14763a7ffa Renames 2015-08-27 23:21:21 +03:00
Stanislav Erokhin d92e71861e Changed JetScope to LexicalScope in ClassDescriptorWithResolutionScopes and DeclarationScopeProvider 2015-08-27 12:01:13 +03:00
Stanislav Erokhin aaebe70342 Improved logic of finding conflicts for refactoring actions 2015-08-27 12:01:08 +03:00
Valentin Kipyatkov 0f332bd8b9 Refactored sorting in completion
Also changed semantics of DeclarationDescriptor.importableFqName - it now returns null when descriptor cannot be referenced by import + dropped DeclarationDescriptor.importableFqNameSafe
2015-08-25 18:56:16 +03:00
Valentin Kipyatkov 68c0c83879 Better sorting: current package is preferred 2015-08-25 18:56:16 +03:00
Valentin Kipyatkov 9837d383a9 Completion and add import popup to use same sorter
#KT-8842 In progress
2015-08-25 18:56:16 +03:00
Pavel V. Talanov 608345df7b Improve ResolutionFacade api: it stores moduleInfo and provides moduleDescriptor
Remove some redundant parameters passed along with ResolutionFacade
2015-08-21 21:11:59 +03:00
Pavel V. Talanov d7c1798ee6 Move ResolutionFacade to ide-common module 2015-08-19 21:18:42 +03:00
Pavel V. Talanov dd0823010f Refactor: Make ResolutionFacade.getFileTopLevelScope an utility 2015-08-19 21:18:42 +03:00
Pavel V. Talanov 0d78c8acb5 Refactor: Make ResolutionFacade.resolveImportReference an utility 2015-08-19 21:18:41 +03:00
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