Dmitry Gridin
2441ee80e4
Create RestrictReturnStatementTargetMigrationInspection
...
#KT-36262
2020-02-10 17:04:06 +07:00
Dmitry Gridin
2f3e3b9c9e
Create ProhibitJvmOverloadsOnConstructorsOfAnnotationClassesMigrationInspection
...
#KT-36260 Fixed
2020-02-10 17:04:06 +07:00
Dmitry Gridin
cbcc76c3ff
Create ProhibitTypeParametersForLocalVariablesMigrationInspection
...
#KT-36261 Fixed
2020-02-10 17:04:06 +07:00
Dmitry Gridin
8c455d9e08
Create AbstractDiagnosticBasedInspection
2020-02-10 17:04:06 +07:00
Dmitriy Novozhilov
d57fa859c8
[FIR] Implement builders for leaf nodes of FIR tree
2020-02-10 10:54:03 +03:00
Vladimir Dolzhenko
b451c25dba
Fixed MoveJavaInnerClassKotlinUsagesHandler after obsolete API drop off
...
Relates to #KT-35918
2020-02-09 08:54:44 +01:00
Vladimir Dolzhenko
5b48f63bb9
Added missed runReadAction to access psi on bg thread
...
Relates to #KT-24122
2020-02-08 15:06:51 +01:00
Vladimir Dolzhenko
ce2d32620a
Add JoinWithTrailingCommaHandler to plugin-common.xml 191, 192
2020-02-07 22:21:23 +01:00
Vladimir Dolzhenko
cfcdf05c92
Fix documentListener leakage in PluginStartupActivity
...
Relates to #KT-35918
2020-02-07 16:34:28 +01:00
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