Mark Punzalan
a9f19c4a45
FIR IDE: Move ChangeVariableMutabilityFix to idea-frontend-independent.
2021-02-11 11:11:00 +01:00
Andrei Klunnyi
690fb47cbb
KT-44079 [Sealed Interfaces]: move refactoring update
...
The idea behind this commit is that Move Refactoring should warn
developers in case their intention potentially breaks sealed
hierarchies (members must share the same module and package).
Provided algorithm has two goals:
- prevent destruction of correct hierarchies
- help in fixing broken ones
2021-02-03 10:04:26 +00:00
Dmitry Gridin
b9c33a0c6e
[i18n] copy-paste message from RefactoringBundle to fix missing resource in 202
...
^KT-44675 Fixed
2021-02-02 20:23:04 +07:00
Pavel Kirpichenkov
b9d5c1bc39
Move KotlinSdk to idea-analysis module
2021-01-14 17:28:14 +03:00
Andrei Klunnyi
521bebee0f
KT-44043 [Sealed interfaces]: quickfix for top level abstractions
2021-01-14 10:25:32 +00:00
Dmitriy Novozhilov
69e1d60b08
[IDE] Drop coroutines combo box from compiler configuration tab
2021-01-12 16:47:47 +03:00
Andrei Klunnyi
f8cca288ab
KT-44075 Sealed interfaces: New Kotlin Class/File menu update
...
^KT-44075 Fixed
2020-12-24 13:07:52 +00:00
Andrei Klunnyi
3e8016ed25
KTIJ-717 [Java side inspection]: "implementation of Kotlin sealed"
2020-12-21 11:44:16 +01:00
Toshiaki Kameyama
5abb6bc7a5
Add quickfix for SENSELESS_NULL_IN_WHEN to remove redundant when branch
...
#KT-24556 Fixed
2020-09-29 23:58:29 +09:00
Toshiaki Kameyama
75e8849c94
Add quick fix for INLINE_CLASS_CONSTRUCTOR_NOT_FINAL_READ_ONLY_PARAMETER
...
#KT-34533 Fixed
2020-09-29 23:58:26 +09:00
Toshiaki Kameyama
bc580d2fd9
Introduce "Unused result of data class copy" inspection
...
#KT-34121 Fixed
2020-09-25 17:18:41 +02:00
Igor Yakovlev
d534d92123
[FIR IDE] Implement FIR for KotlinUsageTypeProvider
2020-09-25 17:26:22 +03:00
Toshiaki Kameyama
d9cf4ee732
Add intention to evaluate compile time expression
...
#KT-40251 Fixed
2020-09-22 10:46:54 +02:00
Igor Yakovlev
e30f09d513
[FIR IDE] Separate find usages logic from descriptors
2020-09-15 11:25:06 +03:00
Vladimir Dolzhenko
6f03e42ef7
Revert back Inspection: convert initialized val to non-null type
...
Relates to ^KT-35757
Relates to ^KT-19321
2020-09-09 23:38:21 +02:00
Toshiaki Kameyama
8420c0b7c7
Add "Redundant nullable return type" inspection
...
^KT-19321 Fixed
2020-09-04 09:07:22 +02:00
Vladimir Dolzhenko
4f4db68a61
I18N fixes after merging convert initialized val to non-null type inspection
...
Relates to ^KT-35757
2020-09-03 22:01:11 +02:00
kvirolainen
18fbf5729d
Inspection: convert initialized val to non-null type
...
^KT-35757 Fixed
2020-09-03 16:30:28 +02:00
Enteerman
c3aeaa9052
Inspection: Simplify Nested forEach/onEach in also/apply to onEach
...
^KT-40283 Fixed
2020-09-03 15:29:32 +02:00
Dereck Bridie
94970e2d1e
Intention to replace a = b with b.also { a = it }
...
^KT-22420 Fixed
2020-09-03 15:11:36 +02:00
Enterman
d09b20f11d
Inspection to replace !string.isBlank() with string.isNotBlank()
...
#KT-40769 Fixed
2020-09-03 14:20:35 +02:00
Vladimir Dolzhenko
99924ea5e4
Fix Typo: equals() & hashCode(), toString() are written with the first uppercase letter
...
^KT-41390 Fixed
2020-08-26 14:59:31 +02:00
aleksandrina-streltsova
5515465760
Move: Support method moving
2020-08-19 12:11:53 +03:00
Natalia Selezneva
54d96a2dd7
UI for standalone gradle scripts
...
^KT-39790 Fixed
2020-08-05 15:22:22 +02:00
Dmitry Gridin
a5e9401a0a
[configuration] change updater number to 1.4.* and 1.5.*
...
#KT-40639 Fixed
2020-08-04 11:13:30 +07:00
Andrei Klunnyi
7a69cf587e
KT-32368 Rework Inline hints settings // HintType cleanup
2020-07-14 10:03:50 +00:00
Andrei Klunnyi
d6692a8062
KT-32368 Rework Inline hints settings // flattern parameter name hints menu
2020-07-14 10:03:49 +00:00
Andrei Klunnyi
533507de25
KT-32368 Rework Inline hints settings // split KotlinInlayParameterHintsProvider
...
Platform supports 2 interfaces for inlay hints providers:
- InlayParameterHintsProvider [1]
- InlayHintsProvider [2]
KotlinInlayParameterHintsProvider as an implementation of (1) and a
source of "Inlay Hints" menu has the following limitations:
- Platform treats component as a source of "Parameter hints" submenu
that cannot be split. Once can only add or remove its nested checkboxes.
- Only a single instance of (1) can be defined.
To have a separate menu items for "Inlay Hints" existing
KotlinInlayParameterHintsProvider was split. New providers
implementing (2) were extracted from it:
- KotlinReferencesTypeHintsProvider
- KotlinSuspendingCallHintsProvider
- KotlinLambdasHintsProvider
TODO: HintType move as a separate commit
2020-07-14 10:03:45 +00:00
Toshiaki Kameyama
d2deff4864
Add "Replace with 'equals(..., ignoreCase = true)'" inspection
...
#KT-40016 Fixed
2020-07-08 12:38:30 +02:00
Roman Golyshev
91fa5d38b3
KT-39869 Fix review suggestions
...
- Review: https://jetbrains.team/p/kt/review/1349
2020-07-06 18:04:00 +00:00
Roman Golyshev
75de352ce2
KT-39869 Add ObsoleteKotlinJsPackagesInspection inspection
...
- This inspection allows to migrate from `kotlin.dom|kotlin.browser`
to `kotlinx.dom|kotlinx.browser` packages respectively
- This inspection is available from the import statements, and also
from the `Run migrations` action
- ^KT-39869 Fixed
2020-07-06 18:04:00 +00:00
Toshiaki Kameyama
efdeb7b449
Introduce "Add '== true'" quick fix for TYPE_MISMATCH
...
#KT-39930 Fixed
2020-07-02 19:31:43 +07:00
kvirolainen
5b1d019bb0
Added Incomplete destructuring inspection
...
#KT-21223 Fixed
2020-06-30 11:47:27 +02:00
Guillaume Darmont
e72a06bdf4
Add specific highlight for Enum class
...
#KT-39844 Fixed
2020-06-25 21:53:19 +02:00
pavlospt
597bc061e2
Add Kotlin Data Class, Sealed Class and Annotation file templates
...
#KT-20775 Fixed
2020-06-24 16:25:51 +02:00
Dmitry Gridin
b657d60bd6
Suggest Create Class before Create File
...
#KT-37528 Fixed
2020-06-23 13:29:09 +00:00
Andrei Klunnyi
558dfc6d9a
KT-36801 IDE: Unsupported language version values
2020-06-22 13:01:42 +00:00
Andrei Klunnyi
b08f501aac
KT-38027 Support Code Vision feature in Kotlin
2020-06-05 19:15:34 +02:00
Roman Golyshev
4c8f9e4e06
KT-39311 Fix fix.change.package.family bundle message
...
- ^KT-39311 Fixed
2020-06-05 19:37:35 +03:00
Svyatoslav Scherbina
b7a08494ae
Add quickfix for adding CancellableException to @Throws suspend fun
2020-06-05 19:07:52 +03:00
Pavel Kirpichenkov
7fff8f82e2
Changes after review
...
- Replace leaking ModuleResolverTracker with use of ModuleDescriptor.Capabilies
- Provide API for retrieving ResolverForProject from ResolutionFacade
- Update names
2020-06-03 20:58:07 +03:00
Pavel Kirpichenkov
db1210fc67
Introduce components for library-to-source resolution in IDE
...
#KT-24309 In progress
2020-06-03 20:58:07 +03:00
Toshiaki Kameyama
343af60cb4
Add intention to expand boolean expression
...
#KT-38597 Fixed
2020-06-02 23:52:06 +03:00
Toshiaki Kameyama
afd544cbab
Introduce "Redundant 'asSequence' call" inspections
...
#KT-35893 Fixed
2020-06-02 22:17:54 +03:00
Natalia Selezneva
fd07d5f301
Scripting setting: auto reloading of script dependencies is now per definition
2020-06-01 15:12:53 +03:00
Roman Golyshev
7fb5acc718
KT-18538 Fix inspection to detect unnecessary grand-base class qualifier
...
- Add separate option to enable/disable this inspection, as it is not
obvious if it should be always enabled or not
- This option can be used to detect all unnecessary qualifiers in
tests
- Add possibility to configure inspections via `settings.xml` in the
`AbstractMultiFileLocalInspectionTest.kt`
- ^KT-18538 Fixed
2020-06-01 08:59:37 +00:00
Dmitry Gridin
bf6dffdf38
Introduce KotlinOtherSettingsPanel
...
#KT-39180 Fixed
#KT-38036 Fixed
2020-05-27 11:24:10 +00:00
Roman Golyshev
eb838b0fa0
KT-39179 Replace ApplicationBundle with KotlinBundle
...
- Used bundle messages are moved to JavaBundle in platform >= 201
- ^KT-39179 Fixed
2020-05-26 13:00:12 +00:00
gcx11
50fc9d3692
KT-10974 - code review changes
2020-05-25 10:40:24 +03:00
Dmitry Gridin
ee141ae57b
TrailingCommaInspection: add dependency to settings
...
* Change severity to `INFO`
* Mark useless comma as unused symbol
* Add dependency on `Use trailing comma`
#KT-39069 Fixed
#KT-38568 Fixed
2020-05-21 13:42:29 +00:00