Pavel V. Talanov
ddbf4c18d3
Minor: inject targetPlatform into ResolveElementCache
2015-08-19 21:18:33 +03:00
Pavel V. Talanov
7cbac51018
Refactor: merge ElementResolver into ResolveElementCache
...
This is a bit questionable since there are plans to use it in eclipse plugin, but we do it for now
It's possible that we can come up with a better abstraction later
2015-08-19 21:18:32 +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
2b9d49e787
Remove a couple of usages of createContainerForMacros
2015-08-19 21:18:31 +03:00
Pavel V. Talanov
0c2650c86c
Provide API to get frontend services from plugin code via resoltion facade
...
API to create ide-side services using frontend services (for now "ide services" cannot be injected into other ide services)
2015-08-19 21:18:31 +03:00
Pavel V. Talanov
84ebc7a0f8
Rename SmartCastUtils -> SmartCastManager and make it a component
2015-08-19 21:18:30 +03:00
Pavel V. Talanov
da025475a8
Make TypeIntersector a component and inject it into some points of usage
2015-08-19 21:18:29 +03:00
Pavel V. Talanov
f393ce598d
Extract TypeIntersector from TypeUtils
2015-08-19 21:18:29 +03:00
Pavel V. Talanov
52bc84cb5f
Introduce LocalDescriptorResolver which handles differences in local declaration resolution between compiler and ide environments
2015-08-19 21:18:28 +03:00
Pavel V. Talanov
2ef5e03f27
Introduce TargetEnvironment and CompilerEnvironment
2015-08-19 21:18:27 +03:00
Valentin Kipyatkov
b3adf27b81
Don't invoke applicabilityRange twice for each highlighting
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
4bf20d747a
Changes on code review
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
4876668716
Correct read/write access detection in case of plusAssign etc
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
97bf6f820a
Fix in read/write detection
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
5e97387e8d
Public utility to detect read/write access for an expression
...
Implemented ReadWriteAccessDetector which gives read/write access in Highlight Usages and Find Usages
+ More correct UsageType detection
2015-08-19 20:46:37 +03:00
Valentin Kipyatkov
1fd0578b9e
Fixed deprecated symbol usage fix for functions with optional parameters from libraries
...
#KT-8525 Fixed
2015-08-19 18:06:31 +03:00
Dmitry Jemerov
d53b990655
add missing read actions for Find Usages (EA-66822)
2015-08-19 16:58:10 +02:00
Valentin Kipyatkov
30a9a8787e
Optimize imports to use "packages to import with *" setting
2015-08-19 17:27:47 +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
Michael Nedzelsky
f42a589ddc
enable testKotlinOnlyDaemonMemory
2015-08-19 09:02:07 +03:00
Stanislav Erokhin
ec43f49ab4
Fixed completion for extension function after removing members for implicit receiver from scope.
2015-08-18 21:28:28 +03:00
Stanislav Erokhin
a1274f91ba
Minor. Inline NO_RECEIVER_PARAMETER = null
2015-08-18 21:28:06 +03:00
Stanislav Erokhin
2ee8f1c454
Change outer scope for nested class and object -- removed implicit outer class receiver.
...
#KT-5362 Fixed
#KT-8814 Fixed
2015-08-18 21:26:42 +03:00
Stanislav Erokhin
b83b298f68
Minor. move static scope from ClassResolutionScopesSupport to LazyClassDescriptor
2015-08-18 21:26:42 +03:00
Stanislav Erokhin
17d8424cee
Remove member scope from scopeForMemberDeclarationResolution
2015-08-18 21:26:41 +03:00
Stanislav Erokhin
0d8ae8f949
Use member scope for declaration instead resolution scope in LazyDeclarationResolver
2015-08-18 21:26:41 +03:00
Stanislav Erokhin
d762d75942
Created LexicalScope and FileScope.
2015-08-18 21:26:35 +03:00
Stanislav Erokhin
f5c6e8cb77
Minor. Removed unused code.
2015-08-18 21:26:34 +03:00
Valentin Kipyatkov
947db74b62
Minor
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
275299f5e2
Merged 2 tests
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
ba8c2f1084
Refactored RemoveModifierFix + some psi API refactoring
...
#EA-69237 Fixed
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
fd517d41d1
Converted to Kotlin
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
aaaf033338
Added diagnostic for EA-69526 - assert: JavaToKotlinConverter.checkReferenceValid
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
fdf7e483b0
Added diagnostic for EA-70090 - assert: PsiUtilPackage$psiUtils$bbf.getElementTextWithContext
2015-08-18 18:50:00 +03:00
Valentin Kipyatkov
469c5a24de
Rewritten ReplaceInfixCallFix
...
#EA-70093 Fixed
2015-08-18 18:49:59 +03:00
Valentin Kipyatkov
81acf72d0b
No i18n
2015-08-18 18:49:59 +03:00
Valentin Kipyatkov
b6311d7be7
Converted to Kotlin
2015-08-18 18:49:59 +03:00
Valentin Kipyatkov
4ba1f423e1
EA-70229 - IOOBE (KotlinFunctionInsertHandler): ImmutableText.findLeaf
...
#EA-70229 Fixed
2015-08-18 18:49:59 +03:00
Valentin Kipyatkov
b7c1bed809
EA-70292 - KNPE: BindingContext.TYPE_RESOLUTION_SCOPE returns null
...
#EA-70292 Fixed
2015-08-18 18:49:59 +03:00
Valentin Kipyatkov
b715e2e9f5
KT-8688 Classes in Go To class list are misaligned with Java neighbors
...
#KT-8688 Fixed
2015-08-18 18:49:58 +03:00
Valentin Kipyatkov
93619ddc00
Likely fixed EA-70294 - Uncommited document on applying intention
...
#EA-70294 Fixed
2015-08-18 18:49:58 +03:00
Valentin Kipyatkov
a7d4f600b7
Added better diagnostic for EA-70945
2015-08-18 18:49:58 +03:00
Valentin Kipyatkov
da16a4017e
Hopefully fixed EA-71700 and EA-71699
...
#EA-71700 Fixed
#EA-71699 Fixed
2015-08-18 18:49:58 +03:00
Valentin Kipyatkov
cd8fa97a20
Hopefully fixed EA-71565 and similar problems
...
#EA-71565 Fixed
2015-08-18 18:49:57 +03:00
Valentin Kipyatkov
6d163a7a8c
Used more specific API
2015-08-18 15:35:59 +03:00
Valentin Kipyatkov
ad5bd36e65
Added parameter "isStatement" for analyzeInContext and used it in UsePropertyAccessSyntaxIntention
2015-08-18 15:35:59 +03:00
Zalim Bashorov
16e1138374
LookupLocation.NO_LOCATION -> NoLookupLocation.UNSORTED
2015-08-18 12:34:20 +03:00
Zalim Bashorov
6c28dbd407
LookupLocation.NO_LOCATION_FROM_BACKEND -> NoLookupLocation.FROM_BACKEND
2015-08-18 12:34:19 +03:00
Zalim Bashorov
8e7786817d
LookupLocation.NO_LOCATION_FROM_TEST -> NoLookupLocation.FROM_TEST
2015-08-18 12:34:19 +03:00
Zalim Bashorov
595975a66e
LookupLocation.NO_LOCATION_FROM_IDE -> NoLookupLocation.FROM_IDE
2015-08-18 12:34:18 +03:00