Valentin Kipyatkov
aec2f19682
Renames
2016-10-04 19:28:54 +03:00
Valentin Kipyatkov
2f5e820afb
KT-8664 Hide componentX() functions for data classes from completion
...
#KT-8664 Fixed
2016-10-04 19:28:53 +03:00
Valentin Kipyatkov
7263d0a056
KT-13728 Implicitly imported functions should be above in completion then non-imported
...
#KT-13728 Fixed
2016-10-04 19:28:53 +03:00
Valentin Kipyatkov
e8f4c65455
KT-13833 javascript: Smart type completion to lower priority of dynamic type
...
#KT-13833 Fixed
2016-10-04 19:28:53 +03:00
Ilya Gorbunov
adf2c5a5ac
Classify explicitly imported names higher than default imported in completion. Related to #KT-13447
2016-10-03 20:46:46 +03:00
Valentin Kipyatkov
21c2268f70
Protection against "<caret>" missing in test data
...
Many incorrect tests fixed
2016-09-27 18:05:26 +03:00
Ilya Gorbunov
c508f75de4
Test data: change fully qualified type so that it's available as type (and not an alias) in both jvm and js runtimes to have the same output.
2016-09-24 07:08:21 +03:00
Ilya Gorbunov
b741c82a66
Fix completion tests after moving collection types in JS
2016-09-24 07:08:21 +03:00
Nikolay Krasko
ea1aac07ec
Problem: workaround thread leaking problem
2016-09-20 15:27:08 +03:00
Valentin Kipyatkov
e41ab2a270
Better presentation of aliases in completion list
2016-09-13 17:47:38 +03:00
Valentin Kipyatkov
50a0f9a4a7
KT-13266 Non-imported type aliases do not appear in completion
...
#KT-13266 Fixed
2016-09-13 17:47:38 +03:00
Valentin Kipyatkov
f6b471ac01
Better tests
2016-09-13 12:02:10 +03:00
Valentin Kipyatkov
5bf701ab03
KT-13047 Autocomplete inserts a fully-qualified variable name inside a String
...
KT-12083 String interpolation -- auto {} if there is a letter after cursor
#KT-13047 Fixed
#KT-12083 Fixed
2016-09-13 12:02:10 +03:00
Valentin Kipyatkov
b1a6255ac2
Renamed class
2016-09-07 19:04:47 +03:00
Valentin Kipyatkov
47d624ac66
Better test
2016-09-07 18:10:13 +03:00
Valentin Kipyatkov
c068bd3158
Fixed correct detection of bold members in case of multiple receivers (broken by previous changes)
2016-09-07 18:10:12 +03:00
Valentin Kipyatkov
835c60f2a5
More correct completion list sorting by receivers
2016-09-07 18:10:12 +03:00
Valentin Kipyatkov
a60d9d546d
KT-12798 DSL-friendly completion
...
#KT-12798 Fixed
2016-09-07 18:10:12 +03:00
Valentin Kipyatkov
efac7a11b3
Do not include "operator" and "infix" into completion item text for override
2016-09-07 18:10:11 +03:00
Alexey Sedunov
89c39b9762
Misc: Use TODO() consistently in implementation stubs
...
#KT-13589 Fixed
2016-08-29 16:20:55 +03:00
Ilya Gorbunov
d845092b20
Take into account excluded fq-names when determining whether type has been imported by default.
...
Related to #KT-13447
2016-08-17 12:40:50 +03:00
Ilya Gorbunov
e34bc30bd7
Exclude alias imported names from all-under imported packages when determining whether a type has been imported for completion.
...
#KT-13447 Fixed
2016-08-17 12:40:50 +03:00
Ilya Gorbunov
6f7b908dbb
Test data: change fully qualified type so that it's available as type (and not an alias) in both jvm and js runtimes to have the same output.
2016-08-17 12:40:50 +03:00
Valentin Kipyatkov
7f07890f6a
KT-13298 Suggest names for overridden properties / functions in completion
...
#KT-13298 Fixed
2016-08-16 18:17:24 +03:00
Ilya Gorbunov
738219d53e
Make Map.toSortedMap accept Map out-projected by key type as the receiver.
...
Update related completion testData.
2016-08-10 21:52:24 +03:00
Dmitry Jemerov
a4aa3cdf57
don't crash if we don't have a descriptor for the declaration under caret (EA-86248 - KNPE: KDocNameCompletionSession.doComplete)
2016-08-10 13:26:13 +02:00
Valentin Kipyatkov
6ff91d1399
KT-12793 Code completion doesn't suggest abstract protected extension methods
...
#KT-12793 Fixed
2016-08-05 19:36:52 +03:00
Stanislav Erokhin
19e4dbc37c
Refactoring. Move functionTypeResolveUtils.kt to resolution module.
2016-07-29 17:53:11 +03:00
Dmitry Petrov
2b63c6a2d5
Merge branch 'typealias_completion' of https://github.com/cypressious/kotlin into cypressious-typealias_completion
2016-07-28 18:07:43 +03:00
Pavel V. Talanov
cdbd7fbab0
Refactor: split classes in 'asJava' package into several subpackages to reflect their structure
2016-07-28 18:00:47 +03:00
Nikolay Krasko
097288d15f
Refactoring: fix weak warning about unnecessary escaped dot
2016-07-28 15:33:43 +03:00
Mikhail Glukhikh
6e391854a0
Data flow values refactoring: removed DataFlowValue.kind.isStable, renamed DataFlowValue.isPredictable -> DataFlowValue.isStable
2016-07-28 15:14:48 +03:00
Kirill Rakhman
f378089b96
Fix Completion: keyword 'typealias' is not suggested
...
Fixes #KT-13242
2016-07-27 19:02:08 +02:00
Mikhail Glukhikh
692623cb55
Cleanup: smart casts of safe call receiver applied (do NOT cherry-pick to 1.0.X)
2016-07-27 16:24:18 +03:00
Alexander Udalov
969ff43152
Merge CallableReferencesResolutionUtils.kt into DoubleColonExpressionResolver
2016-07-22 11:05:19 +03:00
Mikhail Glukhikh
90c6868f9b
renderDataFlowValue() moved to test from completion
2016-07-21 21:15:31 +03:00
Mikhail Glukhikh
9001b9bcc0
DataFlowValue & DataFlowValueFactory major refactoring, get rid of DataFlowValue.id : Any?
...
Instead, DataFlowValue now requires IdentifierInfo implementation to be created
DataFlowValue is compared using IdentifierInfo
2016-07-21 21:15:05 +03:00
Dmitry Jemerov
ef0318e038
more testdata updates due to default function template change
2016-07-20 10:44:54 +02:00
Valentin Kipyatkov
cc6b1faddd
Minor
2016-07-19 20:35:31 +03:00
Valentin Kipyatkov
cd5ffa5895
"class" and "class.java" should be available after expression too
2016-07-19 20:35:31 +03:00
Valentin Kipyatkov
a25841e9c7
Smart completion for bound callable references
2016-07-19 20:35:31 +03:00
Valentin Kipyatkov
e05aa41bbc
Completion and import popup for bound callable references
2016-07-19 20:35:31 +03:00
Denis Zharkov
2cc09f928e
Allow suspend extensions for specially annotated controllers
2016-07-06 15:25:19 +03:00
Alexey Sedunov
ffe4e760d7
Override/Implement: Implement JavaDoc/KDoc copying
...
#KT-8682 Fixed
#KT-12735 Fixed
(cherry picked from commit f4486be)
2016-06-28 15:07:19 +03:00
Alexander Udalov
3eeccb407e
Simplify and fix createReflectionTypeForCallableDescriptor
...
Previously its call sites needed to determine if the receiver type should be
ignored (e.g. if the reference is to static member or nested class constructor,
or if it's a bound reference), and 3 of 4 callers did it incorrectly. Simplify
this by passing the DoubleColonLHS instance everywhere.
Also rename it to createKCallableTypeForReference
#KT-12738 Fixed
#KT-12751 Fixed
#KT-12799 Fixed
2016-06-22 21:35:57 +03:00
Alexander Udalov
80bf6e1bee
Refactor CallableReferencesResolutionUtils.kt
...
Get rid of trace & reportOn parameters of
createReflectionTypeForCallableDescriptor: move the two checks that required
them to DoubleColonExpressionResolver and combine with other checks into a
single function that checks the validity of the referenced symbol. This also
makes these checks reported only once when invalid expressions are passed as
function arguments (previously they were also reported from
getResolvedCallableReferenceShapeType).
Also inline getReflectionTypeForCandidateDescriptor after this, and refactor
its usages
2016-06-22 21:35:57 +03:00
Pavel V. Talanov
bafe8e55ce
Create SyntheticMemberDescriptor interface
...
Implement this interface by sam adapters/constructors and use it in navigation
#KT-11708 Fixed
2016-06-20 20:15:34 +03:00
Valentin Kipyatkov
0bc5007147
KT-12369 Completion: pressing dot after class name should not cause insertion of constructor call
...
#KT-12369 Fixed
2016-06-20 16:19:02 +03:00
Valentin Kipyatkov
b9719bfe82
Fixed test so that it really tests what's intended
2016-06-20 16:19:02 +03:00
Valentin Kipyatkov
eb1dbfc652
KT-12669 Completion should show variant with () when there is default lambda
...
#KT-12669
2016-06-20 16:19:02 +03:00