Ilya Zorin
ffe80dd549
Format spaces around by keyword ( #1016 )
2017-01-09 11:19:44 +01:00
mglukhikh
238eaf0d0e
Build fix: multi-module quick fix test file rename
2017-01-05 22:30:31 +03:00
Yan Zhulanow
433dfdd1e8
Check the backing field before checking accessors in KotlinAnnotatedElementsSearcher. This should be faster, and it fixes the problem with IDEA hangs in DataBinding.
2016-12-29 21:01:54 +03:00
Mikhail Glukhikh
4774d19890
Quick-fix for header without implementation + a set of tests #KT-14908 Fixed
2016-12-29 17:42:26 +03:00
Yan Zhulanow
400759826f
Add DataBindingComponentShortNamesCache and DataBindingShortNamesCache to ignored caches for Java callables sources. Extract filteredShortNamesCaches property
2016-12-28 22:18:06 +03:00
Yan Zhulanow
6bff4a4ed4
Exclude BrShortNamesCache from processJvmCallablesByName() because of the severe lags in Java static member import quickfix. (KT-14308)
...
Also exclude Kotlin light classes cache because light classes are filtered out anyway.
2016-12-28 22:18:06 +03:00
shiraji
778289fefe
Add inspection that reports unused equals expression #KT-6217 Fixed
2016-12-28 16:41:22 +03:00
Alexander Udalov
6444ccc962
Do not skip .kotlin_metadata files with only type aliases in them
2016-12-27 14:25:06 +03:00
Alexander Udalov
64e9c85c14
Do not build file stubs for nested classes from .kotlin_metadata files
...
Stubs for nested classes are going to be built inside the stubs for the
corresponding outer classes, building them on the top level is just going to
break everything (see EA-93105)
2016-12-27 14:21:59 +03:00
Alexander Udalov
5556c59fc9
Render platform name in multiplatform diagnostic tests
...
Prepend the platform name to the diagnostic in a common module, which is
reported when sources of that common module are analyzed as a part of the
platform source set: "<!JVM:...!> ... <!>". Fix some existing tests, mostly by
adding "impl" to implementations
2016-12-26 17:06:15 +03:00
Alexander Udalov
7d3628b9be
CheckerTestUtil: introduce ActualDiagnostic to encapsulate Diagnostic
2016-12-26 17:01:20 +03:00
Alexey Tsvetkov
afa6aed699
Add test for multiplatform project import from gradle
2016-12-23 20:41:43 +03:00
Dmitry Jemerov
514fc02938
Propagate 'implement' dependencies from Gradle to IDEA project model
2016-12-22 20:57:24 +03:00
Nikolay Krasko
8a49a017ff
Use JavaRegExpHost for Kotlin RegExp injection (KT-15329)
...
#KT-15329 Fixed
2016-12-22 16:20:29 +03:00
Mikhail Glukhikh
4a1e6d3ef9
Inspection to convert two comparisons to range check #KT-5045 Fixed
2016-12-22 15:02:49 +03:00
Mikhail Glukhikh
67788e39d3
Fold initializer & if to elvis: search for variable usage inside if first #KT-14889 Fixed
2016-12-22 14:56:38 +03:00
Mikhail Glukhikh
ee1b741e84
More accurate handling of Elvis in areParenthesesNecessary #KT-15227 Fixed
2016-12-22 14:56:32 +03:00
shiraji
6d6a16f399
KT-5045: intention to convert between two comparisons and range check and vice versa
2016-12-22 14:56:10 +03:00
Nikolay Krasko
2500dc9bb1
"Go to Type Declaration" is broken for stdlib types (KT-13001)
...
#KT-13001Fixed
2016-12-21 13:13:10 +03:00
Nikolay Krasko
6ca5ba3615
Don't call getClassDescriptor for local declarations (KT-15259)
...
#KT-15259 Open
2016-12-21 13:13:10 +03:00
Nikolay Krasko
c076ad5a8d
Don't assign type parameters from original proto if type is substituted with Any (KT-15128)
...
#KT-15128 Fixed
2016-12-20 15:16:23 +03:00
Mikhael Bogdanov
5222768ba1
Adedd quickfix check if @PublishedApi stub already exists
2016-12-20 09:42:14 +01:00
Mikhael Bogdanov
c38b55612b
Support properties in @PublishedApi bridge quickfix
2016-12-20 09:42:13 +01:00
Dmitry Petrov
0fa2c54ae8
Identity comparison for primitives is deprecated (warning).
...
Identity comparison for primitive vs non-primitive is a warning (due to implicit boxing).
2016-12-20 11:00:58 +03:00
Dmitry Jemerov
5f124e9781
Don't show "Kotlin not configured" notification for projects that have Kotlin common runtime in scope
...
#KT-15331 Fixed
2016-12-19 19:21:10 +01:00
Dmitry Jemerov
bc22b67995
Index and locate .kotlin_metadata files in IDE
2016-12-19 17:40:13 +01:00
Alexey Sedunov
a84275b057
Minor: Rename "Default" platform to "Common"
2016-12-19 18:31:46 +03:00
Alexey Sedunov
332d1f6405
Multi-platform Projects: Enable multi-platform projects for platform modules which depend on common modules
2016-12-19 18:27:49 +03:00
Alexey Sedunov
df33455b95
Kotlin Facet: Detect module platform using Gradle plugin id/stdlib
...
artifact id (Gradle import)
2016-12-19 18:27:48 +03:00
Alexey Sedunov
eac0c9b2ed
Kotlin Facet: Add "Use project settings" option
2016-12-19 18:27:47 +03:00
Alexey Sedunov
4ed030d7c5
Kotlin Facet: Do not serialize default values of facet configuration
2016-12-19 18:27:46 +03:00
Mikhail Glukhikh
8f57869fc5
Line marker tests for header <----> impl
2016-12-19 17:39:16 +03:00
Mikhail Glukhikh
84ebca06bc
AbstractMultiHighlightingTest extracted (to provide both multi file / multi module tests)
2016-12-19 15:46:34 +03:00
Mikhail Glukhikh
a846e41b46
Cleanup: KotlinLineMarkerProvider
2016-12-19 15:46:27 +03:00
Mikhail Glukhikh
39ca78f584
Multi-platform navigation fix: from class to type alias & vice versa
2016-12-19 14:56:02 +03:00
Mikhail Glukhikh
5947d49dee
Multi-platform fix: no more errors for top-level impl fun / val / var in IDE
2016-12-19 14:55:49 +03:00
Denis Zharkov
5ec62108ee
Rename RestrictsSuspendExtensions -> RestrictsSuspension
2016-12-16 18:56:30 +03:00
Dmitry Jemerov
63785b5f66
Migration for JS extension functions and properties marked with @native/external
...
#KT-15269 Fixed
2016-12-16 15:36:55 +01:00
Dmitry Jemerov
ace4407032
Add 1.1 EAP repository when creating a new Gradle project with 1.1 EAP
...
#KT-15293 Fixed
2016-12-16 14:49:18 +01:00
Mikhael Bogdanov
761aa9df09
Report error when delegation method hides superttype override
...
#KT-12531 Fixed
2016-12-16 13:17:28 +01:00
Nikolay Krasko
654cecde69
Invalidate Script class finder caches as soon script classpath caches are invalidated (KT-14538)
...
#KT-14538 Fixed
2016-12-16 13:19:58 +03:00
Nikolay Krasko
f7b60e64c9
Run invalidating script caches when reindexing is ready (KT-14538)
...
Explanation why it leads to red code after new project opening
1. No script files are found after project initialization.
2. KotlinScriptDependenciesIndexableSetContributor triggers caching classpath via getAllScriptsClasspath(). Empty classpath is cached.
3. KotlinScriptDependenciesClassFinder.calcClassRoots() always get empty classpath.
#KT-14538 In Progress
2016-12-16 13:19:56 +03:00
Stanislav Erokhin
d7566d84d0
Fixed testdata.
2016-12-16 02:01:12 +03:00
Stanislav Erokhin
ab53978793
Allowed ast access for some tests.
2016-12-16 00:57:04 +03:00
Denis Zharkov
f0cda8ac8d
Fix indexing of suspend function types
2016-12-15 23:58:27 +03:00
Dmitry Petrov
9fd1ac72a9
Purge remaining traces of @AllowSuspendExtensions.
2016-12-15 23:58:19 +03:00
Stanislav Erokhin
5a353412e4
Fixed KeywordCompletionTests.
2016-12-15 23:58:18 +03:00
Mikhail Zarechenskiy
2ff04f2bc5
Import kotlin.coroutines property from gradle to facet
2016-12-15 23:58:17 +03:00
Dmitry Petrov
8e3fd0efc3
If the last argument of a function is a suspend function,
...
suggest trailing lambda variant in completion.
2016-12-15 23:58:14 +03:00
Mikhail Zarechenskiy
feefe8d6ff
Propagate coroutine settings support from facet into the language version settings
2016-12-15 23:58:10 +03:00