Commit Graph

23115 Commits

Author SHA1 Message Date
Valentin Kipyatkov 88cd129549 Fixed other parameter references broken in new parameter values in conventional Change Signature 2020-04-07 22:17:04 +03:00
Valentin Kipyatkov 0adfa0357a Converted all test method bodies into blocks - otherwise IDE is too slow 2020-04-07 22:17:04 +03:00
Valentin Kipyatkov c76571413b Added test for new parameter value referencing another parameter 2020-04-07 22:17:04 +03:00
Vladimir Dolzhenko aed4f9909d KotlinCopyPasteReferenceProcessor clean up
Relates to #KT-37971
2020-04-07 19:55:25 +02:00
Vladimir Dolzhenko 7327028052 KotlinCopyPasteReferenceProcessor clean up
Relates to #KT-37971
2020-04-07 19:52:00 +02:00
Kirill Shmakov 5460327c8d Fix tests for KT-38079 2020-04-07 20:49:54 +03:00
Kirill Shmakov 2b8b5af18b Adapt exception line numbering for file link (KT-38079)
#KT-38079 Fixed
2020-04-07 19:48:03 +03:00
Konstantin Tskhovrebov 608a669da1 Fix dependency for idea-fir module. 2020-04-07 16:09:02 +03:00
Konstantin Tskhovrebov 2f6099feb9 Add KotlinNativeRunConfigurationProducer. 2020-04-07 16:09:02 +03:00
Konstantin Tskhovrebov f451506055 Disable all main run gutters for common module. 2020-04-07 16:09:02 +03:00
Konstantin Tskhovrebov e1a88de314 Add native run tasks data to KotlinTarget. 2020-04-07 16:09:02 +03:00
Dmitry Gridin b548c5bf93 RemoveRedundantQualifierNameInspection: add regression test
#KT-35898
2020-04-07 15:57:34 +07:00
Konstantin Tskhovrebov 2726f7f5ed Fix Klib file check.
#KT-37876
2020-04-07 12:47:54 +07:00
Igor Yakovlev 8531c1e9a5 Fixed WordSelectionTest.testDocComment test data 2020-04-07 02:12:32 +03:00
Vyacheslav Gerasimov 1ab23abe93 Build: Write plugin version the same way CI does 2020-04-06 23:52:01 +03:00
Vladimir Dolzhenko 659378f806 Do not use synchronized for fetchAnalysisResultsForElement
Relates to #KT-37467
2020-04-06 19:25:52 +02:00
Dmitry Gridin d4491af96f i18n: update bundles
#KT-37483
2020-04-06 23:17:45 +07:00
Dmitry Gridin 0e45c03211 i18n: update bundle for quickfixes
#KT-37483
2020-04-06 23:17:45 +07:00
Dmitry Gridin 9b25d1f47a TrailingCommaPostFormatProcessor: should reset user data after invocation
#KT-37870 Fixed
2020-04-06 14:12:46 +00:00
Vyacheslav Gerasimov d88134069d Build: Move writing ide plugin version to the idea module 2020-04-06 14:06:16 +03:00
Mikhail Glukhikh 59dd57dcf7 Unmute working test from FirReferenceResolve group 2020-04-06 13:41:17 +03:00
Vladimir Dolzhenko dd0bb9abf1 Do not resolve references pasted into the same origin
#KT-37993 Fixed
2020-04-06 09:53:24 +00:00
Dmitry Gridin 423a9dd70d i18n: make text from intention lazy
#KT-37483
2020-04-06 15:02:40 +07:00
Anton Yalyshev f451cb93da Fix collectors name to match it to the whitelist 2020-04-05 20:53:21 +03:00
Anton Yalyshev 947e181b90 Remove refactorings logging as now it's done in the platform collector 2020-04-05 20:53:21 +03:00
Vladimir Dolzhenko e73a573885 Fetch analysis results if it is available
The general idea is to try to fetch a full analysis if it is existed in PerFileAnalysisCache instead of go to ResolveElementCache and do analysis there. Do not perform analysis if it is not in PerFileAnalysisCache.

#KT-37467 Fixed
2020-04-04 22:36:08 +02:00
Dmitry Gridin 3742fe4871 i18n: fix some tests
#KT-37483
2020-04-04 10:23:24 +07:00
Dmitry Gridin dc51a268aa ReplaceWithAnnotationAnalyzer: should throw ControlFlowException 2020-04-04 10:08:45 +07:00
Dmitry Gridin de1fa40c7e CodeInliner: fix KNPE
#KT-22733 Fixed
#KT-36225 Fixed
#EA-206694 Fixed
2020-04-04 00:46:15 +07:00
Nikolay Krasko b89a7325b2 Remove https://dl.bintray.com/kotlin/kotlin-eap repository from gradle tests 2020-04-03 19:31:31 +03:00
Nikolay Krasko 01e10324f0 Eliminate 1.3.60-eap-76 usages from tests 2020-04-03 19:31:31 +03:00
Dmitry Gridin 7938a992dd i18n: make text from intention lazy
#KT-37483
2020-04-03 22:18:45 +07:00
Dmitry Gridin 25dfc6dd63 i18n: make text from intention lazy
#KT-37483
2020-04-03 22:06:00 +07:00
Roman Golyshev d8ca21d728 Add KotlinContextFeatureProvider to the plugin.xml for 201 platform
- Without it we do not have `file_type` and `plugin_version` features in
the statistics from EAP builds
- See KT-36313
2020-04-03 17:33:30 +03:00
Igor Yakovlev 75c4607e57 Rename of KotlinQuickDocumentationProvider to KotlinDocumentationProvider 2020-04-03 12:39:03 +03:00
Igor Yakovlev a71fd0e6d9 Support for showing rendered doc comments in editor
Fixed #KT-37361
2020-04-03 12:38:51 +03:00
Ilya Goncharov d4ece2b23b [Gradle, JS] Fix ktor version in web mpp wizard
#KT-37980 fixed
2020-04-03 09:45:26 +03:00
Ilya Goncharov 1b294ce5a5 [Gradle, JS] Fix DSL for project wizards
#KT-37936 fixed
#KT-37937 fixed
2020-04-03 09:45:08 +03:00
Toshiaki Kameyama 1f6b7dd88d "Redundant suspend modifier": fix false negative with only recursive call
#KT-35829 Fixed
2020-04-03 01:17:15 +03:00
Ilya Kirillov e3871a9961 Wizard: fix project editor width on the second step
#KT-37821 fixed
2020-04-03 01:09:41 +03:00
Ilya Kirillov 126cd38360 Fix testdata of RemoveSingleLambdaParameter quickfix 2020-04-02 22:25:20 +03:00
Toshiaki Kameyama cc0cb30b53 "Remove single lambda parameter declaration": do not suggest when lambda is directly under 'if/when'
#KT-35995 Fixed
2020-04-02 22:10:57 +03:00
Matthew Gharrity 5786578f38 Fix NPE in ProjectRootsUtilKt.isKotlinBinary
Fixes KT-37933
2020-04-02 17:48:25 +03:00
Toshiaki Kameyama a96b359a09 "Remove braces from 'if' statement": do not suggest when lambda is directly under 'if'
#KT-35994 Fixed
2020-04-02 12:52:11 +03:00
Toshiaki Kameyama 30366148bf Convert to block body: adjust line indent
#KT-22368 Fixed
2020-04-02 12:48:05 +03:00
Toshiaki Kameyama 1bc72f0b32 "Surround with lambda" quickfix: suggest for suspend function
#KT-34371 Fixed
2020-04-02 12:45:47 +03:00
Ilya Kirillov db2c2cc8d9 Wizard: fix generated project path & name
#KT-37927 fixed
2020-04-02 01:25:38 +03:00
Ilya Kirillov 00e5e96fe3 Wizard: fix write action scope in IdeaJpsWizardService
#KT-37925 fixed
2020-04-02 01:25:37 +03:00
Vladimir Dolzhenko 10df7ee31a Get rid of getInstanceIfNotDisposed
Relates to #EA-216005
2020-04-01 17:17:26 +00:00
Dmitriy Dolovov 5e1e9876fd IDE: Don't use direct refs on IdePlatformKindResolution EP instances 2020-04-01 23:10:55 +07:00