Dmitry Jemerov
e64a270d1a
more renames to get rid of "Jet" in class and method names
2015-11-09 19:07:11 +01:00
Valentin Kipyatkov
4c5d5ed18f
Do not show "assertFailsWith" in any smart completion
2015-11-09 15:37:47 +03:00
Valentin Kipyatkov
63b5966212
Top-level callables are added one by one
2015-11-09 15:37:47 +03:00
Valentin Kipyatkov
b73c574d19
Correct completion after "super."
...
#KT-8406 Fixed
2015-11-05 17:47:54 +03:00
Stanislav Erokhin
2c3f58eeb7
Renamed methods in MemberScope from getSmth to getContributedSmth
2015-11-05 14:34:00 +03:00
Stanislav Erokhin
21fdd2ffc3
Created common supertype for LexicalScope & ImportingScope -- HierarchicalScope
2015-11-04 12:41:33 +03:00
Valentin Kipyatkov
c11bf32594
More correct shadowed declarations filtering in completion
2015-11-03 11:46:19 +03:00
Pavel V. Talanov
dc1fbe89ec
J2K ValueParameterDescriptor inteface in one go
2015-11-02 18:38:30 +03:00
Valentin Kipyatkov
4c6f6c2a2e
Minor refactoring: excludeNonInitializedVariable() moved into ReferenceVariantsHelper
2015-10-30 12:03:52 +03:00
Valentin Kipyatkov
3e3d86aebb
A little bit more correct filtering
2015-10-30 12:03:51 +03:00
Valentin Kipyatkov
c9048266c8
Fixed extensions completion for runtime receiver type in debugger (broken by previos changes in extensions completion)
2015-10-30 12:03:51 +03:00
Valentin Kipyatkov
9feed9c3ef
Fixed filtering of shadowed declarations after changes in extensions treatment
2015-10-30 12:03:50 +03:00
Valentin Kipyatkov
be5569d31a
Performance optimization in completion: do not analyze all extensions available from imports - use index
2015-10-30 12:03:50 +03:00
Alexander Udalov
4d909d9012
Move LexicalScope to frontend
2015-10-29 21:16:05 +03:00
Alexander Udalov
86bc21da30
Make getUpperBoundsAsType an utility, remove from TypeParameterDescriptor
2015-10-28 19:17:53 +03:00
Valentin Kipyatkov
91ff27f78c
Rename
2015-10-27 18:24:56 +03:00
Valentin Kipyatkov
59fa639ab4
Refactored ReferenceVariantsHelper to not require KtSimpleNameExpression
2015-10-27 18:24:55 +03:00
Valentin Kipyatkov
4fcd35a5a9
Introduced LexicalScope for file top-level to obtain ownerDescriptor
2015-10-26 19:30:05 +03:00
Valentin Kipyatkov
c239e84aa0
Removed hack for package directive completion
2015-10-26 19:30:05 +03:00
Valentin Kipyatkov
a5982281af
Temporary fix for problem with ownerDescriptor in ImportingScope
2015-10-26 19:30:05 +03:00
Valentin Kipyatkov
95a0372b43
Using PsiElement.getResolutionScope instead of LEXICAL_SCOPE from BindingContext
2015-10-26 19:30:04 +03:00
Valentin Kipyatkov
6af71caaa9
Moved PsiElement.getResolutionScope utliity into ide-common
2015-10-26 19:30:04 +03:00
Valentin Kipyatkov
ed6f845377
Added utility functions for synthetic extensions in scope
2015-10-26 19:30:04 +03:00
Valentin Kipyatkov
c09cf63424
Added utility functions for functions and variables in scope
2015-10-26 19:30:03 +03:00
Valentin Kipyatkov
5f06f53bfd
Renames
2015-10-26 19:30:03 +03:00
Valentin Kipyatkov
470e9ba776
Fixed
2015-10-26 19:30:01 +03:00
Valentin Kipyatkov
44415cf321
Less use of RESOLUTUON_SCOPE from BindingContext
2015-10-26 19:30:01 +03:00
Valentin Kipyatkov
3eb1cff36a
Less use of KtScope
2015-10-26 19:30:00 +03:00
Valentin Kipyatkov
375ecb4026
Refactored CompletionKind removing duplication with CallType
2015-10-22 18:48:14 +03:00
Nikolay Krasko
2f26480e6b
Auto-imports for index functions, += like operators, invoke, delegates and components
...
#KT-9482 Fixed
#KT-9397 Fixed
#KT-8060 Fixed
2015-10-21 14:06:04 +03:00
Dmitry Jemerov
d6a3870101
rename Kt to Kotlin in KtType, KtIcons
2015-10-20 16:23:31 +02:00
Dmitry Jemerov
49033e0002
rename Jet* classes to Kt*
2015-10-19 21:35:30 +02:00
Valentin Kipyatkov
1730069d5e
Corrected implementation of DeclarationDescriptor.canBeReferencedViaImport() to include object members
2015-10-19 18:40:13 +03:00
Valentin Kipyatkov
ddcab047ce
Added CallType.ANNOTATION
2015-10-15 19:20:09 +03:00
Andrey Breslav
1c00b933a5
@Deprecated(..., level = HIDDEN) supported
...
isAnnotatedAsHidden() moved to front-end
2015-10-13 01:44:46 +03:00
Valentin Kipyatkov
ee7425c1de
Checking "infix" modifier in completion and import popup
2015-10-12 15:10:39 +03:00
Dmitry Petrov
7e9e427d4c
Java 8 rules for method overrides:
...
- report errors on implementing methods of Any in interfaces
- update testData
~~~
Java 8 override restrictions: interface can't implement a method of 'Any'
- update compiler sources
2015-10-12 14:12:31 +03:00
Valentin Kipyatkov
21b2631558
KT-9500 Prohibit java.lang.Deprecated in completion + no duplicates for built-ins in completion
...
#KT-9500 Fixed
2015-10-09 16:42:07 +03:00
Natalia Ukhorskaya
ccbb015606
Completion for evaluate expression: add only imports from code fragment to scope when analyzing it
2015-10-09 12:58:39 +03:00
Svetlana Isakova
63d9e287b7
Converted JetTypeReference to Kotlin
2015-10-09 11:05:52 +03:00
Ilya Gorbunov
3106458cc4
Replace assert with lazy assert, times with repeat.
2015-10-07 22:36:23 +03:00
Natalia Ukhorskaya
7776aa77c8
Completion for codeFragments: do not add runtime types variants if receiver type is the same as runtime type because they are already added by regular completion
2015-10-07 20:29:58 +03:00
Valentin Kipyatkov
a75b3e6cf1
Auto-import popup does not suggest to import non-operator functions when operator required
2015-10-05 15:33:48 +03:00
Valentin Kipyatkov
b03a297ed0
KT-9326 IDE tries to resolve name in qualified this to any class in project/classpath
...
#KT-9326 Fixed
2015-10-05 15:33:47 +03:00
Valentin Kipyatkov
1bb6dae444
Auto-import fix should suggest declarations that cannot be used in this position
...
This also should fix KT-9122 Assertion error when psi modified from IDE
#KT-9122 Fixed
2015-10-05 15:33:46 +03:00
Valentin Kipyatkov
cbf5be5c08
No callable reference to generic callables
2015-10-03 10:40:54 +03:00
Valentin Kipyatkov
184d59a645
No shadowed declaration filtering for callable references (as well as imports)
2015-10-03 10:40:53 +03:00
Valentin Kipyatkov
1bc132bc1a
No members&extensions after non-qualified "::" because it will be soon unsupported by the compiler
2015-10-03 10:40:52 +03:00
Valentin Kipyatkov
08335a2ac9
Callable reference completion for non-imported callables
2015-10-03 10:40:51 +03:00
Valentin Kipyatkov
c0bfca4f89
A::class and A::class.java supported in smart completion too
2015-10-03 10:40:51 +03:00