Simon Ogorodnik
d731f97c7d
Fix KT-13021, KT-13020, Test for already fixed KT-6941
...
Fixes on javadoc to kdoc comments convert
2016-10-13 18:52:31 +03:00
Valentin Kipyatkov
7b12dd498f
KT-13780 No completion and assertion error in log
...
#KT-13780 Fixed
2016-10-13 15:10:53 +03:00
Ilya Chernikov
846797ff61
Switch to templates in the separate script runtime
2016-10-12 15:38:52 +02:00
Ilya Chernikov
fe69185cd4
Refactor script definition and related parts:
...
- simplify script definition interface, convert it to class
- create simple definitions right from base
- refactor (rename and simplify) script definition with annotated template
- simplify usages of script definition in many places
2016-10-12 15:37:50 +02:00
Ilya Chernikov
63c5133167
Remove support for xml-based script configs, other minor refactorings
2016-10-12 15:37:47 +02:00
Ilya Chernikov
0f31695a0b
Convert error on retrieving gradle plugin settings to warning - fixes #KT-13975, #EA-87275, #EA-87677 and alike
2016-10-12 15:37:47 +02:00
Simon Ogorodnik
1a7c507cc5
Fix for KT-13818
...
Javadoc @code conversion
2016-10-12 11:08:49 +03:00
Valentin Kipyatkov
59269ef1ae
ParameterName annotation on type argument used to hold parameter name
2016-10-11 23:38:51 +03:00
Alexander Udalov
6e0e8c6dc3
Pass LanguageVersionSettings instance to isHiddenInResolution
...
Unused at the moment, will be used later to check if the API version prohibits
the usage of the element
2016-10-11 17:30:12 +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
Simon Ogorodnik
18feb8f622
Return Kotlin fields and methods through KotlinShortNameCache
...
#KT-12205 Fixed
2016-09-28 13:36:20 +02:00
Mikhail Zarechenskiy
0ba2d374bc
Create standard script definition from standard template
...
Now each script without specified template has a StandardSriptTemplate
class as a base one. This allows to generalize script codegen and
resolve.
2016-09-20 15:44:44 +03:00
Alexey Sedunov
cf28dd04c8
Shorten References: Compare resolved calls when shortening receiver of qualified call expression
...
#KT-13660 Fixed
2016-09-16 13:13:30 +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
1d24fc3a7b
Refactored to ensure use of correct options
2016-09-08 16:11:12 +03:00
Valentin Kipyatkov
32e4a033db
Fixed use of options
2016-09-08 16:11:11 +03:00
Valentin Kipyatkov
fc27212456
Shorten references to use analyze() for multiple elements
2016-09-08 16:11:11 +03:00
Valentin Kipyatkov
b1a6255ac2
Renamed class
2016-09-07 19:04:47 +03:00
Alexey Sedunov
89c39b9762
Misc: Use TODO() consistently in implementation stubs
...
#KT-13589 Fixed
2016-08-29 16:20:55 +03:00
Alexey Sedunov
639186ddae
Convert Receiver to Parameter: Use template instead of the dialog
...
#KT-9490 Fixed
2016-08-29 16:20:52 +03:00
Alexey Sedunov
63092f6985
Create from Usage: Implement "Create type parameter" quickfix
...
#KT-11525 Fixed
2016-08-29 16:20:32 +03:00
Alexey Sedunov
6a2edabbd4
Create from Usage: Implement "Create type alias" quickfix
...
#KT-12904 Fixed
2016-08-29 14:13:56 +03:00
Valentin Kipyatkov
0072bf079d
Changes on review of pull request
2016-08-29 13:38:17 +03:00
Simon Ogorodnik
939b4768f5
Added tests, and fixed some bugs using it
2016-08-29 13:38:16 +03:00
Simon Ogorodnik
9d56716897
#KT-9009 fixed
2016-08-29 13:38:16 +03:00
Alexey Sedunov
238f99aa3d
Override/Implement: Make return type non-nullable (platform collection case) when overriding Java method
...
#KT-13455 Fixed
2016-08-18 19:15:31 +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
Alexey Sedunov
385640c86f
Rename: Fix name quoting for automatic renamers
...
#KT-13282 Fixed
#KT-13283 Fixed
2016-08-17 11:49:54 +03:00
Pavel V. Talanov
340fe82fa0
Minor, KotlinScriptConfigurationManager: add TODO
2016-08-16 16:49:09 +03:00
Pavel V. Talanov
10660f35d7
Add tests for script configuration machinery, namely ScriptTemplateProvider EP
...
Test highlighting and navigation depending on provided script definition
2016-08-16 16:45:59 +03:00
Ilya Chernikov
46a7c706e1
Fixes and refactorings after review
2016-08-11 09:11:11 +02:00
Ilya Chernikov
4d5b96ab8a
Change error loading script template to warning - not to show an exception...
...
because it is not an exception e.g. in case of using old gradle
2016-08-11 09:11:11 +02:00
Ilya Chernikov
c9441bd7b3
Update template(s) provider interface to support multiple templates, rename it appropriately
2016-08-11 09:08:40 +02:00
Alexey Sedunov
1b546d18ff
Override/Implement Members: Do not expand type aliases in the generated members. Retain abbreviated types during flexible type approximation
...
#KT-13244 Fixed
2016-08-10 11:45:36 +03:00
Alexey Sedunov
1a4ff598e3
Override/Implement Members: Do not make return type non-nullable if base
...
return type is explicitly nullable
#KT-13383 Fixed
#KT-13379 Fixed
2016-08-10 11:45:35 +03:00
Alexey Sedunov
f57c9279f9
Override/Implement Members: Support "Copy JavaDoc" options for library classes
...
#KT-12997 Fixed
2016-08-10 11:45:34 +03: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
Ilya Chernikov
1248230c69
Fix after review, add logging for scripting-specific behavior
2016-08-03 09:51:40 +02:00
Pavel V. Talanov
fbc5d64aab
gradleScriptTemplateProvider: fix NPE
2016-08-03 09:51:40 +02:00
Ilya Chernikov
80f7dda6c7
Update gradle script resolver environment:
...
- JVM options from IDEA config to connect/run daemon with appropriate options (need to be tested)
- A lexing function to allow gradle plugin to check whether dependency-defining part of the script is actually changed
2016-08-03 09:51:40 +02:00
Pavel V. Talanov
350abbe8cd
KotlinScriptConfigurationManager, minor: Extract utility to get transform list of file to vfs roots
2016-08-03 09:51:40 +02:00
Pavel V. Talanov
500554e58c
Clarify API so that it's possible to get single KotlinScriptExternalDependencies per script file
2016-08-03 09:51:40 +02: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
Alexander Udalov
d945c33d5e
Move some members from OverrideResolver to OverridingUtil
2016-07-25 15:55:31 +03:00
Alexander Udalov
191f532675
Remove OverrideResolver#filterOutOverriding, simplify the only usage
2016-07-25 15:55:31 +03:00
Alexander Udalov
89c5799155
Move utilities used in IDE from OverrideResolver to descriptorUtils.kt
2016-07-25 15:55:31 +03:00
Alexey Sedunov
0a8490a068
Introduce Type Alias: Suggest initial name based on extracted type
2016-07-25 12:44:30 +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
Alexey Sedunov
3ba776fffa
Code Insight: Format generated declarations
...
#KT-11176 Fixed
(cherry picked from commit 3641ad6)
2016-07-20 15:39:05 +03:00
Dmitry Jemerov
4391d833b9
do not reenter indices to avoid deadlock
...
#KT-12718 Fixed
2016-07-14 23:32:05 +02:00