Alexander Podkhalyuzin
e26dcdf10b
Removed unnecessary deprecated method overrides
...
#KT-35918 Comment
2020-02-06 16:26:04 +01:00
Alexander Podkhalyuzin
4db89f073f
Remove outdated icon creation API usage
...
#KT-35918 Comment
2020-02-06 16:25:56 +01:00
Alexander Podkhalyuzin
0890e6837b
Proper check if plugin is disabled
...
#KT-35918 Comment
2020-02-06 16:25:47 +01:00
Alexander Podkhalyuzin
f3d66dcce8
proper way to distinguish JetBrains annotations
...
#KT-35918 Comment
2020-02-06 16:25:37 +01:00
Alexander Podkhalyuzin
aee3887604
removed deprecated usage for isAnnotated
...
#KT-35918 Comment
2020-02-06 16:25:29 +01:00
Alexander Podkhalyuzin
08d5471f51
isSearchForTextOccurencesAvailable usage replaced
...
#KT-35918 Comment
2020-02-06 16:25:17 +01:00
Alexander Podkhalyuzin
23fa21d37e
getUsages -> getMetrics in FUSCollectors
...
#KT-35918 Comment
2020-02-06 16:25:06 +01:00
Svyatoslav Scherbina
e699965ed6
Add infrastructure for Native-specific frontend diagnostics
2020-02-06 11:00:22 +03:00
Sergey Igushkin
764bf1cb32
Add a non-public-API mechanism to import free args for MPP source sets
...
Arguments can be set using a project extra property following the
pattern: `kotlin.mpp.freeCompilerArgsForSourceSet.$sourceSetName`.
Only a compilation's default source set free args are appended to the
compiler args during Gradle builds.
2020-02-05 20:46:26 +03:00
Pavel Kirpichenkov
2a15df6a20
[IDEA-TESTS] Update configuration tests involving LATEST_STABLE version
...
Change `LATEST_STABLE` with `VersionView.RELEASED_VERSION`
in tests checking default language configuration options.
Replace `LATEST_STABLE` with fixed version in `testDropKotlincOnVersionAutoAdvance`
as the test actually compares it with version from kotlinc.xml.
It being latest stable is not relevant.
By default the lastest stable Kotlin version is selected for module
when there is no explicit version in configuration. However, it is
the version previous to `LanguageVersion.LATEST_STABLE` during prerelease.
2020-02-05 20:15:17 +03:00
Toshiaki Kameyama
4d1937b92d
"Redundant 'suspend' modifier": do not report when function has 'suspend' calls by parenthesized expression
...
#KT-24869 Fixed
2020-02-05 14:31:13 +03:00
Roman Golyshev
31315e2c45
Add plugin_version and file_type features for ML completion
...
- This is required to be able to use ML completion infrastructure to monitor code completion quality (even without ML enhancement)
2020-02-05 12:19:49 +03:00
Vladimir Dolzhenko
6489b56fb0
Fix 192 compilation for move remove redundant imports to bg thread
...
Relates to #KT-24122
2020-02-04 18:36:38 +01:00
Vladimir Dolzhenko
dd0613bc7a
Move remove redundant imports to bg thread
...
#KT-24122 Fixed
2020-02-04 16:34:57 +01:00
Dmitry Gridin
6c439ae85a
Create TrailingCommaIntention
...
#KT-34744
2020-02-04 21:34:53 +07:00
Dmitry Gridin
195d9020a6
TrailingCommaInspection: shouldn't be associated with formatter settings
...
#KT-34744
2020-02-04 21:34:53 +07:00
Dmitry Gridin
b5d0956a5e
Move call-site trailing comma to registry
...
#KT-34744
2020-02-04 21:34:53 +07:00
Dmitry Gridin
c34b417d0c
Fix tests after disabling trailing comma
...
#KT-34744
2020-02-04 21:34:53 +07:00
Dmitry Gridin
3fb34596ae
Code style: disable trailing comma by default
...
#KT-34744
2020-02-04 21:34:52 +07:00
Ilya Kirillov
7a52cf103a
Fix change signature refactoring
...
Do not increase modification count for OutOfCodeBlockTracker when KtTypeCodeFragment is modified
KtTypeCodeFragment is used in UI for providing completion for types.
When OutOfCodeBlockModification happens it invalidates ModuleDescriptors
But change signature relies on them which causes InvalidModuleException
#KT-35903 fixed
#KT-35689 fixed
#KT-34415 fixed
#KT-34415 fixed
2020-02-04 14:15:25 +03:00
Ilya Kirillov
ed5156ee83
Wizard: do not show disable/enable checkbox for new project wizard in AS
...
#KT-36195 fixed
2020-02-04 14:15:24 +03:00
Vladimir Ilmov
c804190f36
[COROUTINE] NPE exception fix if no DebugMetadata in target jvm exists
2020-02-03 09:16:50 +01:00
Vladimir Ilmov
7175e5a927
[COROUTINE] Extra logging removed, bug in method signature fix
...
Relates to #KT-34906
2020-02-03 09:16:50 +01:00
Dmitriy Dolovov
acc3395ca5
IDE: Don't analyze incompatible KLIBs with components
...
Issue #KT-36213
2020-02-01 17:07:13 +07:00
Dmitriy Dolovov
623b554297
IDE: Fix friendly displaying of K/N KLIBs with components
...
Issue #KT-36213
2020-02-01 17:07:09 +07:00
Dmitriy Dolovov
4336096775
Use "tooling" KLIB resolve strategy in IDE and commonizer
...
Issue #KT-36213
2020-02-01 17:07:02 +07:00
Juan Chen
188abc243a
[FIR] add vararg arguments support, improve vararg parameters support
2020-01-31 16:41:25 +03:00
Vyacheslav Gerasimov
06448b6469
Revert "Set local build version to 1.4.255-SNAPSHOT"
...
This reverts commit a8650ccf
2020-01-30 18:20:27 +03:00
Kirill Shmakov
46b4620fdd
Use better wording in plugin advertiser
2020-01-30 17:53:14 +03:00
Toshiaki Kameyama
2f19ad7bdc
Redundant companion reference: fix false positive with overridden Java getter ( #2935 )
...
#KT-33771 Fixed
2020-01-30 15:55:47 +03:00
Ilya Kirillov
9f7af4b58d
Fix testdata after ebe3619251
2020-01-30 15:52:54 +03:00
Dmitry Gridin
66a15d23d8
Fix tests from LiveTemplatesTest
2020-01-30 19:04:25 +07:00
Natalia Selezneva
e33a81a968
Tests: fix gradle tests for script configuration loading
...
Introduce `testAffectedGradleProjectFiles` property
to avoid full gradle project import in some tests
2020-01-30 14:39:29 +03:00
Dmitry Gridin
96f49d8e3c
Remove trailing comma from some tests
2020-01-30 15:32:09 +07:00
Pavel Kirpichenkov
9902643a26
Remove unsupported versions from kotlin compiler tab in settings
...
KT-36146 In progress
2020-01-29 21:40:50 +03:00
Vyacheslav Gerasimov
a8650ccfd2
Set local build version to 1.4.255-SNAPSHOT
...
#KT-36128
2020-01-29 20:20:33 +03:00
Dmitriy Dolovov
9594b8db42
Rename Kotlin/Native modules for uniformity
2020-01-29 20:30:46 +07:00
Dmitriy Dolovov
abd86107d1
Include :native:frontend.native into kotlin-compiler.jar
2020-01-29 20:30:40 +07:00
Dmitriy Dolovov
b49e6ac581
Rename :kotlin-native:kotlin-native-library-reader to :native:frontend.native
2020-01-29 20:30:29 +07:00
Toshiaki Kameyama
ebe3619251
KT-33384 Intention to switch between single-line/multi-line lambda ( #2790 )
...
Add intention for single-line lambda <-> multi-line lambda conversion
#KT-33384 Fixed
2020-01-29 12:32:26 +03:00
David Schreiber-Ranner
f94d026e64
Retrieve outputFile from KotlinWebpack task
2020-01-29 12:15:04 +03:00
David Schreiber-Ranner
ae22dc352c
Fix file components order
...
The path of the webpacked JavaScript file that should be included in the server JAR is constructed by taking the webpack tasks output directory, and appending the filename of the JavaScript module. Previously, the constructor arguments were flipped, leading to an invalid path.
2020-01-29 12:15:04 +03:00
Denis Zharkov
e725f255f1
FIR: Share the same ScopeSession instance between phases
...
^KT-34563 Fixed
2020-01-29 11:31:57 +03:00
Dmitriy Dolovov
3b33df6564
Reduce external dependencies in :kotlin-native:kotlin-native-library-reader
2020-01-29 15:29:49 +07:00
Dmitriy Dolovov
cd71f250e5
Move KonanFactories out of :kotlin-native:kotlin-native-library-reader
2020-01-29 15:29:35 +07:00
Ilya Gorbunov
c37a2d3dc3
Fix completion test: add coroutines-compat jar dependency
...
Related to KT-34582
2020-01-29 09:12:43 +03:00
Ilya Gorbunov
30bccc431b
Migrate tests to release coroutines
...
where it's not essential to use experimental ones
#KT-36083
2020-01-29 09:12:41 +03:00
Ilya Gorbunov
f465e7a957
Add coroutines-experimental-compat to idea plugin dist
...
It is required as a runtime dependency to instantiate async scripting
resolvers when importing Gradle 4.9 Kotlin DSL projects.
#KT-36083
2020-01-29 09:12:41 +03:00
Denis Zharkov
70ce63c8d4
FIR: Support rewritten implicit types calculator in IDE
...
Unlike the compiler, in the IDE different files may have different
resolve state.
So using ReturnTypeCalculatorForFullBodyResolve may be not correct there
2020-01-28 17:03:50 +03:00
Igor Yakovlev
6fdd4cb134
Add scroll bar to compiler configuration tab
...
Fixed #KT-24399
2020-01-28 15:45:39 +03:00