Igor Yakovlev
5d4606daaa
[FIR IDE] Remove LightClassProvider
2021-02-01 21:21:02 +03:00
Vladimir Dolzhenko
913c298be8
Kotlin highlight passes are reworked
...
#KT-37702 Fixed
2021-02-01 13:18:38 +00:00
Ilya Kirillov
d06a5fb413
FIR IDE: disable some script stuff in FIR plugin as causes exceptions
2020-12-23 17:16:23 +01:00
Ilya Kirillov
a2befd4635
FIR IDE: add missing ClsJavaStubByVirtualFileCache service
2020-12-23 17:16:00 +01:00
Vladimir Dolzhenko
ce1b388668
Add registry key kotlin.resolve.forceFullResolveOnHighlighting
...
Relates to ^KT-41195
Relates to ^KT-38687
2020-09-30 05:56:46 +00:00
Igor Yakovlev
d534d92123
[FIR IDE] Implement FIR for KotlinUsageTypeProvider
2020-09-25 17:26:22 +03:00
Igor Yakovlev
75347d06b9
[FIR IDE] Move IconProvider in fir independed module
2020-09-15 11:25:06 +03:00
Igor Yakovlev
e30f09d513
[FIR IDE] Separate find usages logic from descriptors
2020-09-15 11:25:06 +03:00
Pavel Kirpichenkov
9d6bdc6fc4
Support modification tracking for source-dependent LibraryInfo
...
#KT-39734
2020-09-07 18:52:10 +03:00
Sebastian Kaspari
01143f24a4
Add KotlinClassConstructorInfoHandler for showing parameter info of parameterized super class constructor.
...
^KT-41617 Fixed
2020-09-07 13:23:08 +02:00
Ilya Kirillov
3cd445563e
FIR IDE: implement KotlinExpressionTypeProvider for FIR
2020-08-28 12:51:55 +03:00
Yunir Salimzyanov
70cda1b113
Refactor and fix files previously affected by 192 patchset (KTI-315)
2020-08-19 19:40:02 +03:00
aleksandrina-streltsova
5515465760
Move: Support method moving
2020-08-19 12:11:53 +03:00
Mikhail Bogdanov
125c72cb8d
New default checks for mixed hierarchies
...
Old and new schemes
2020-07-24 12:10:04 +02:00
Andrei Klunnyi
1639cadbb7
KT-32368 Rework Inline hints settings // remove non-existent ReturnHintLinePainter
2020-07-15 13:00:16 +02:00
Andrei Klunnyi
be0cde1d70
KT-32368 Rework Inline hints settings // remove suspending call hints
...
Suspending call hints were removed according to KT-30928 and KT-39271.
2020-07-14 10:03:48 +00:00
Andrei Klunnyi
5fe1eaea17
KT-32368 Rework Inline hints settings // remove outdated KotlinCodeHintsPass
...
Some time ago platform couldn't place hints at the end of a line.
This is how KotlinCodeHintsPass appeared. Class was responsible for
lambda related hints. Now that platform evolved functionality was moved
to KotlinLambdasHintsProvider.
2020-07-14 10:03:45 +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
Vladimir Krivosheev
75b1cf8a23
Explicitly specify id of KotlinNonJvmSourceRootConverterProvider
...
IDEA 2020.3 uses `id` from extension definition to avoid creating instance of converter without need.
2020-07-04 15:38:15 +02:00
Ilya Kirillov
ba7e953760
FIR IDE: Introduce plugin.xml for fir ide
2020-06-09 16:19:45 +03:00
Ilya Kirillov
72175fc40e
Fix idea.xml
2020-06-09 16:19:45 +03:00
Ilya Kirillov
66d44162e9
FIR IDE: Move common caches related stuff from plugin-common.xml to caches.xml
2020-06-09 16:19:42 +03:00
Ilya Kirillov
2290c32a83
FIR IDE: Move idea related stuff from plugin-common.xml to idea.xml
2020-06-09 16:19:33 +03:00
Ilya Kirillov
3e25375013
FIR IDE: Move jps related stuff from plugin-common.xml to jps.xml
2020-06-09 16:19:32 +03:00
Ilya Kirillov
2c0e14ba92
FIR IDE: Move index related stuff from plugin-common.xml to indexes.xml
2020-06-09 16:19:32 +03:00
Ilya Kirillov
e06f297499
FIR IDE: Move inspections from plugin-common.xml to inspections.xml
2020-06-09 16:19:31 +03:00
Ilya Kirillov
418903e9ef
FIR IDE: Make KtReference class descriptors frontend independent
...
* The new idea-frontend-independent module created
* Moved KtReference and it inheritors to that module & implement them in idea-analysis module by using descriptors frontend
2020-06-09 16:19:12 +03:00
Andrei Klunnyi
b08f501aac
KT-38027 Support Code Vision feature in Kotlin
2020-06-05 19:15:34 +02:00
Pavel Kirpichenkov
8ca5d3b6f9
Update library to source analysis mode configuration
...
Persist analysis flag in the same xml where anchor mapping reside instead
of using properties. This makes it possible to save config in VCS.
#KT-24309 In Progress
2020-06-05 11:14:02 +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
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
Toshiaki Kameyama
23c4eac45b
Introduce "Logger initialized with foreign class" inspection
...
^KT-38982 Fixed
2020-05-18 18:16:52 +03:00
Valentin Kipyatkov
5d60572cfd
Temporarily disabled optimization because of failing tests
2020-04-30 15:45:24 +03:00
Vladimir Dolzhenko
f4b6e1bff6
Reworked deprecated fileTypeFactory EP usage
...
Relates to #KT-38571
2020-04-27 14:08:17 +00:00
Vladimir Dolzhenko
639cc69920
Reworked deprecated defaultLiveTemplatesProvider EP usage
...
Relates to #KT-38571
2020-04-27 14:08:16 +00:00
Vladimir Dolzhenko
8979b98fc0
Dropping components cleanup
...
#KT-38407 Fixed
2020-04-24 09:39:49 +00:00
Vladimir Dolzhenko
4535584f16
Convert KotlinUpdatePluginComponent into a startup activity
...
Relates to #KT-38407
2020-04-24 09:39:40 +00:00
Valentin Kipyatkov
0c3c8b64ce
Optimization for faster search of references to top-level members
2020-04-23 22:12:26 +03:00
Natalia Selezneva
217696fad5
Minor: rename class
2020-04-23 20:14:00 +03:00
Natalia Selezneva
59bdf67aa2
Refactoring: extract separate manager to update script configurations of gradle scripts
...
The main goal is to extract logic that is related to Gradle scripts only to separate place.
Configurations for gradle scripts are updated during import simultaneously, there is no need to manage script configuration update for one file
Note that for Gradle less than 6.0 The DefaultScriptingSupport is used
2020-04-23 20:13:59 +03:00
Toshiaki Kameyama
b4c62cdb52
Introduce "Add missing 'class' keyword" intention
...
#KT-14884 Fixed
2020-04-15 14:53:52 +02:00
Dmitry Gridin
decbe99391
Merge KotlinCodeStyleSettingsProvider to KotlinLanguageCodeStyleSettingsProvider
2020-04-14 19:46:56 +07:00
Igor Yakovlev
75c4607e57
Rename of KotlinQuickDocumentationProvider to KotlinDocumentationProvider
2020-04-03 12:39:03 +03:00
Dmitry Gridin
a19d42b81b
i18n: update bundle for inspections
...
#KT-37483
2020-03-30 14:58:35 +07:00
Dmitry Gridin
ebc255c74d
i18n: update bundle in plugin-common.xml
...
#KT-37483
2020-03-30 14:58:34 +07:00
Mikhail Glukhikh
c518868c03
Disable UnusedMainParameterInspection by default
2020-03-27 16:46:59 +03:00
Vladimir Dolzhenko
674f1d129f
Clean up of plugin-common.xml and convert components to services
2020-03-27 07:54:14 +00:00