Commit Graph

22370 Commits

Author SHA1 Message Date
Vladimir Dolzhenko a17027e330 Fixed incompatibility with 191 and 192
Fixed #KT-35918
2020-02-06 22:49:08 +01:00
Dmitry Gridin f428bbb782 TrailingComma: Join Lines should remove trailing comma
#KT-34744
#KT-36084 Fixed
2020-02-06 23:55:59 +07:00
Dmitry Gridin cb66625688 TrailingComma: fix case of when without expression or property
#KT-34744
#KT-36393 Fixed
2020-02-06 23:55:59 +07:00
Dmitry Gridin 6739d03823 TrailingCommaPostFormatProcessor: change recursive checker
#KT-34744
2020-02-06 23:55:58 +07:00
Dmitry Gridin 5054bc65a5 Introduce TrailingCommaHelper
#KT-34744
2020-02-06 23:55:58 +07:00
Vladimir Dolzhenko 4d93b3d5ab Dropped unused UsageDescriptor
#KT-35918 Comment
2020-02-06 16:42:26 +01:00
Vladimir Dolzhenko a0c9b275aa Removed deprecated usage of treeBuilder from currentProjectViewPane
It is outdated behaviour as all nested members have to appear as
children of file rather children of its package

#KT-35918 Comment
2020-02-06 16:28:56 +01:00
Vladimir Dolzhenko 617807beea Removed deprecated usage of ScratchFileService.isInScratchRoot
#KT-35918 Comment
2020-02-06 16:28:46 +01:00
Vladimir Dolzhenko 7c8f3b2b3b Use LightJavaModule.getModule instead of deprecated getModule
#KT-35918 Comment
2020-02-06 16:28:36 +01:00
Vladimir Dolzhenko dd8a120d45 Use JList#getSelectedValuesList() instead of deprecated getSelectedValues()
#KT-35918 Comment
2020-02-06 16:28:26 +01:00
Vladimir Dolzhenko 670e016d34 PluginStartupComponent reworked into startup activity and service
As BaseComponent is deprecated in a platform

#KT-35918 Comment
2020-02-06 16:28:18 +01:00
Vladimir Dolzhenko df23274aa5 Use Application.addListener(listener, disposable)
#KT-35918 Comment
2020-02-06 16:27:51 +01:00
Vladimir Dolzhenko 45e288be49 Drop deprecated file from @Storage
#KT-35918 Comment
2020-02-06 16:27:42 +01:00
Vladimir Dolzhenko ff7221e1c4 Cleaned up from deprecated CallerMethodsTreeStructure(PsiMethod)
#KT-35918 Comment
2020-02-06 16:27:31 +01:00
Alexander Podkhalyuzin 13d8603c4b Fixed incompatibility with 192
#KT-35918 Comment
2020-02-06 16:27:19 +01:00
Alexander Podkhalyuzin 2408977a68 Fixed bunch file
#KT-35918 Comment
2020-02-06 16:27:04 +01:00
Alexander Podkhalyuzin 46526ab53c Removed deprecated icons usages
#KT-35918 Comment
2020-02-06 16:26:54 +01:00
Alexander Podkhalyuzin d880a507dd Removed deprecated usage
#KT-35918 Comment
2020-02-06 16:26:45 +01:00
Alexander Podkhalyuzin 35fa812a19 Removed MethodNodeBase usage
#KT-35918 Comment
2020-02-06 16:26:36 +01:00
Alexander Podkhalyuzin dd73629db1 Obsolete API usages removed from 193 branch
#KT-35918 Comment
2020-02-06 16:26:28 +01:00
Alexander Podkhalyuzin 312c7bc9bf Proper override in move
#KT-35918 Comment
2020-02-06 16:26:13 +01:00
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