Vyacheslav Gerasimov
e12e63572c
as31: Fix TypeParameterFindViewByIdInspection for AS 3.0
2018-04-11 16:28:19 +03:00
Alexey Sedunov
6636c4376b
as31: Kotlin Facet: Configure facet based on Android build variant (in AS)
...
#KT-19958 Fixed
2018-04-11 16:28:18 +03:00
Alexey Sedunov
a9cdccc6de
as31: Misc: Fix compilation
2018-04-11 16:28:18 +03:00
Dmitry Jemerov
8568bde4df
as31: Fix compilation
...
(cherry picked from commit bc0bc0e)
2018-04-11 16:28:17 +03:00
Dmitry Jemerov
abce7170be
as31: Implement ConvertJavaToKotlinProvider
...
(cherry picked from commit 34dfa24)
2018-04-11 16:28:17 +03:00
Vyacheslav Gerasimov
38b38511a0
as31: Fix KotlinAndroidLineMarkerProvider for AS 3.0
2018-04-11 16:28:17 +03:00
Vyacheslav Gerasimov
13b192cd47
as31: Moved getRequiredVersion to KotlinAndroidQuickFixProvider
2018-04-11 16:28:16 +03:00
Vyacheslav Gerasimov
11ee744340
as31: Drop custom Kotlin Android lint, register quickfixes with extension point
2018-04-11 16:28:16 +03:00
Vyacheslav Gerasimov
ab532732ed
as31: Fix compilation AndroidResourceReferenceAnnotator
2018-04-11 16:28:15 +03:00
Vyacheslav Gerasimov
7c30e80382
as31: Kotlin Facet: Configure facet on Gradle project sync in Android Studio 2.3
...
#KT-15909 Fixed
(cherry picked from commit 6a490bc681f968ee209580f683804b1ee3baee96)
2018-04-11 16:28:14 +03:00
Vyacheslav Gerasimov
6bca651848
as31: Fix compilation for Android Studio 2.4
2018-04-11 16:28:14 +03:00
Vyacheslav Gerasimov
a4699add8e
as31: Fix gotoResourceHelper: MyReferredResourceFieldInfo now requires module
2018-04-11 16:28:14 +03:00
Vyacheslav Gerasimov
b6abe84357
as31: Fix ResourceFoldingBuilder for AS 2.4
2018-04-11 16:28:14 +03:00
Vyacheslav Gerasimov
7c02d55b23
Remove explicit jar specification from ide modules build scripts
...
They often change between ide versions and difficult to maintain
2018-04-09 21:47:48 +03:00
Yan Zhulanow
78f2fe1eab
Pill: Add idea-android-output-parser module to JPS model
2018-04-02 19:26:32 +03:00
Yan Zhulanow
ff4cdfb43e
Remove "New Kotlin Activity" action as Android plugin can generate it by itself (#KT-22845, EA-114706)
2018-04-02 19:14:40 +03:00
Nikolay Krasko
70d236cb8d
Always configure "idea.home.path" system variable
...
When TestLoggerFactory is initialized in tests it checks that variable
and it it's not present uses classpath to search for logger configuration.
If this search is unsuccessful a lot of exceptions are written to log:
java.lang.RuntimeException: Could not find installation home path. Please make sure bin/idea.properties is present in the installation directory.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:96)
at com.intellij.testFramework.TestLoggerFactory.reconfigure(TestLoggerFactory.java:67)
2018-03-29 19:49:00 +03:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Zalim Bashorov
9970dd051f
Fix copyright's start year in generated tests
2018-03-14 15:04:58 +03:00
Yan Zhulanow
df88acaefd
Get rid of test-to-production dependencies as it's not supported in plain IDEA projects
2018-03-02 03:15:24 +03:00
Yan Zhulanow
a0c105adbe
Fixes to make the project compile when using Pill
2018-03-02 03:15:19 +03:00
Yan Zhulanow
34d1611ed4
Add Pill support to compiler and IDE modules
2018-03-02 03:15:17 +03:00
Mikhail Glukhikh
b436ee6e19
Replace some of RESOLVED_CALL & REFERENCE_TARGET usages to resolveToCall
2018-02-27 18:24:55 +03:00
Mikhail Glukhikh
84993ec3a0
Resolution API: introduce and use KtElement.resolveToCall()
2018-02-20 20:25:42 +03:00
Mikhail Glukhikh
5848bc9a44
Introduce KtClassOrObject.resolveToDescriptorIfAny()
2018-02-20 20:25:42 +03:00
Mikhail Glukhikh
eabc7c9ba8
Replace some KtDeclaration.analyze() with resolveToDescriptorIfAny()
...
Also, enhance comment on KtElement.analyze()
2018-02-20 20:25:40 +03:00
Yan Zhulanow
a171874b2f
Fix "Illegal Android Identifier" inspection reports non-instrumentation unit tests (KT-22168)
2018-02-06 22:16:00 +03:00
Yan Zhulanow
da74bcbcc0
Evaluate: Support dex in newer Android build tools
2018-02-06 22:16:00 +03:00
Yan Zhulanow
5668a7af92
Kapt: Replace original Javac diagnostic messages with those with Kotlin location mapped
...
There is no Messages dialog in newer versions of IDEA/Android Studio in which the error messages were mapped before. The new Build window shows only the original locations, so now we need to replace Java file diagnostics with ones mapped to Kotlin source files.
The side effect is that diagnostics on the same locations are automatically merged.
2018-02-06 22:16:00 +03:00
Yan Zhulanow
145ddf3b1f
Parcelable: Add CREATOR field (and other generated declarations) in light classes (KT-19300, KT-19853)
2018-02-06 22:15:59 +03:00
Pavel V. Talanov
5ab00ee9f7
HighlighterExtension can provide custom highlighting for calls
2018-02-05 16:22:19 +01:00
Natalia Selezneva
74a9881e9d
Fix "Virtual pointer hasn't been disposed" exception in tests. Add sdk to ProjectJdkTable.
2018-02-05 09:46:57 +03:00
Natalia Selezneva
847990a4f6
Tests: call super.teardown from finally block in android tests
2018-02-02 17:44:28 +03:00
Alexey Tsvetkov
7cba035f80
Ensure tasks using android sdk or android jar have proper dependencies
...
A test task, that uses android dependency but does not depend on
a corresponding configuration, would fail when it was run after
'clean' task.
I've extracted 'useAndroidSdk', 'useAndroidJar' extensions
making it harder for a developer to forget to set up task dependencies.
2018-02-02 15:40:10 +03:00
Vyacheslav Gerasimov
68b5dc756c
Remove intellij-core from testRuntime if full idea is already there
...
Looks like it makes tests flacky
2018-01-30 17:06:18 +03:00
Vyacheslav Gerasimov
89a07ded1c
Extract versions and remove unnecessary '.jar' extensions
2018-01-30 17:06:18 +03:00
Vyacheslav Gerasimov
07b191f460
Update dependency versions after migration to 173
2018-01-30 17:06:17 +03:00
Dmitry Jemerov
e83845ea72
Build changes to support Android Studio
2018-01-30 17:06:16 +03:00
Ilya Chernikov
5dc094d290
Implement correct and fast ultimate/community sdks handling
2018-01-30 17:06:15 +03:00
Ilya Chernikov
6f1e6f1f1b
Fix tests after rebasing and messing with the dependencies
2018-01-30 17:06:15 +03:00
Ilya Chernikov
7e21573cf4
Convert the rest of the project to intellij repo prepared in buildSrc
2018-01-30 17:06:13 +03:00
Ilya Chernikov
47507ad694
Switch all usages of dx.jar to the new mechanism, cleanup and refactoring
2018-01-30 17:06:13 +03:00
Ilya Chernikov
46be5e25be
Rewrite android sdk dependencies to avoid config-time tasks execution
2018-01-30 17:06:12 +03:00
Ilya Chernikov
a4f28cd94f
Make all dependencies to idea sdk intransitive
2018-01-30 17:06:11 +03:00
Ilya Chernikov
0b63e11ea8
Replace android sdk dependencies with custom project build, cleanup update_dependencies.xml
2018-01-30 17:06:11 +03:00
Ilya Chernikov
0d264793ce
Convert idea plugin modules to intellij plugin
2018-01-30 17:06:07 +03:00
Alexander Udalov
245d1de2a2
Remove runtime dependency on projectDist(":kotlin-compiler")
...
This dependency makes IDEA reindex kotlin-compiler.jar after every
Gradle build, which takes time and breaks some key IDE features
2018-01-28 10:14:24 +01:00
Dmitry Jemerov
e80dae1802
Update copyright in generated tests
2018-01-10 11:55:28 +01:00
Dmitry Jemerov
685d38218d
Extension point for detecting build system type used in project
...
Now we use a non-deprecated way to detect Maven modules
2018-01-09 18:43:19 +01:00
Alexander Podkhalyuzin
8203d1c3fe
Extracted Kotlin.JVM IDE into separate module
...
This change is required to have possibility to build plugin against
minor IDEs, which don't have Java. So we want to extract idea-jvm
2017-12-21 18:34:02 +03:00