Valentin Kipyatkov
45748eb169
More correct check for ResolvedCall status everywhere in the IDE + added assert into ResolvedCallImpl
2015-10-05 15:39:08 +03:00
Valentin Kipyatkov
da7c62e788
Refactored
2015-10-05 15:33:48 +03:00
Valentin Kipyatkov
08335a2ac9
Callable reference completion for non-imported callables
2015-10-03 10:40:51 +03:00
Valentin Kipyatkov
2471647952
Minor refactoring
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
2760b0bdb9
Refactoring to make receiver type safe
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
c12520da7f
Move
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
56bb8adfd0
Refactoring to add CallType.IMPORT_DIRECTIVE and CallType.PACKAGE_DIRECTIVE
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
d38ceb50b6
Initial support for KT-7090 Completion for callable references
...
#KT-7090 Fixed
2015-10-03 10:40:49 +03:00
Pavel V. Talanov
51113c10b4
Drop some usages of KotlinBuiltIns.getInstance() in idea module
2015-10-01 17:53:02 +03:00
Stanislav Erokhin
5adec83907
Minor. Fix util function getResolutionScope.
2015-09-29 13:33:56 +03:00
Yan Zhulanow
3d65b6fec2
Add extension function for BindingContext
2015-09-25 19:20:21 +03:00
Valentin Kipyatkov
1c6ca9d036
Initial implementation of KT-5955 Completion for override methods
...
#KT-5955 Fixed
2015-09-25 18:12:18 +03:00
Stanislav Erokhin
d7a14075f1
Removed ImportPackage UI settings
2015-09-24 13:53:56 +03:00
Valentin Kipyatkov
1708ac8da3
Reused code
2015-09-18 15:44:19 +03:00
Valentin Kipyatkov
de3eeb3a4f
More correct + reused code
2015-09-18 15:44:19 +03:00
Valentin Kipyatkov
1ccbda6af4
Do not insert explicit visibility modifier if it's default
2015-09-18 15:44:17 +03:00
Denis Zharkov
9c4564a5a6
Get rid of deprecated annotations and modifiers in project code
2015-09-18 09:34:27 +03:00
Zalim Bashorov
7036b36a94
Minor: replace some usages of (old) package facade with new package parts
2015-09-10 18:49:11 +03:00
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