Commit Graph

435403 Commits

Author SHA1 Message Date
Aleksey Dobrynin
3d708aa8d7 [java, completion] generate a provider method while using jigsaw services IDEA-347698
GitOrigin-RevId: 146fa445dcb5426eba5d8fa1d4e1a61d892cee18
2024-02-29 10:42:41 +00:00
Ivan Semenov
9760eeb0e6 [action] do not throw an exception when stub is returned instead of editor
GitOrigin-RevId: d756e71268a5151d14ab12301503467417c219e8
2024-02-29 10:29:51 +00:00
Alexander Bubenchikov
9d6d9c82cf [maven] IDEA-347512 - do not ask for status of task if job already was cancelled and server shut down.
GitOrigin-RevId: 072824216b959fe024534165f9430b43bbf0fe80
2024-02-29 10:29:16 +00:00
Nikita Kudrin
95694b801f [starter] Readme update
GitOrigin-RevId: e22eced6da0752c8b2242c87e1b7fbffd4512e8d
2024-02-29 09:41:44 +00:00
Sergei Tachenov
95462befc6 IJPL-747 Preserve order of intentions in FileLevelIntentionComponent
The regression was caused by introducing background NBRAs
here, which complete in an unpredictable order, and therefore
the links were also added in an unpredictable order.

Fix by first computing availabilities of all actions,
and only once they're all computed, iterate over them
again and add available actions, preserving their order.

GitOrigin-RevId: 0801266c2e0f748f4fd018caf722815dec38450f
2024-02-29 09:33:22 +00:00
Sergei Tachenov
7b6ca2dd59 EA-1105665 Catch toNioPath exceptions for Project View sorting
When getting a timestamp, if we get an exception trying to
get the real path of a file, fall back to VirtualFile.timesamp
instead.

GitOrigin-RevId: 403af24f74426ba741925dca28cf2b92bdcda59c
2024-02-29 09:33:17 +00:00
Nikita Kudrin
7c7e7bb432 [starter] Readme update
GitOrigin-RevId: 71af46167f44b71049fcb69384069ea77e834027
2024-02-29 09:25:29 +00:00
Vladimir Krivosheev
e84b32f062 replace 'Path.of(path)' with 'Paths.get(path) - don't use Java 11 API in core-api
GitOrigin-RevId: e4f6a7ae38b98661cea074b1f39271119ca476ac
2024-02-29 09:03:43 +00:00
Gregory.Shrago
2452489d60 fix bookmark actions position in RemDev
"EditorGutterVcsPopupMenu" group is not available on client.

GitOrigin-RevId: cf4249ffaa599075dd9f7383d7b17b983b3aa47e
2024-02-29 05:24:12 +00:00
Ruslan Cheremin
d66e908238 [vfs][monitoring] added more OTel.Metrics for VFS.contentStorage
+ VFS.contentStorage.recordsReadSize, VFS.contentStorage.recordsDecompressionTimeUs

GitOrigin-RevId: ebc8b7b30dafaf6297b386dd917566b9103e8eaf
2024-02-29 03:48:40 +00:00
Ruslan Cheremin
f0bf4c97ee [vfs][monitoring] fixed typo in OTel.Metrics for VFS.contentStorage
+ Use recordsStoredSizeCounter instead of incorrectly used recordsStoredCounter

GitOrigin-RevId: 5ba30dc14fe00a353fbd47b1ea1f07d9062c46f2
2024-02-29 03:48:40 +00:00
Ruslan Cheremin
35099aba13 [vfs][logging] IDEA-345792: scan more records for diagnostics if garbage is already found
GitOrigin-RevId: cf563ec2c6e76033ccda2b635d6609c46f902273
2024-02-29 03:48:40 +00:00
Mikhail Shagvaliev
c767ad2cbf [platform] Propagate events from app tool registrar to project tool registrar
GitOrigin-RevId: a3533b859d25265c3f3c5e3ef0a94e379cbacfd7
2024-02-29 03:44:26 +00:00
Mikhail Shagvaliev
b1b001b3d2 [psi-viewer] move PsiViewerKotlinTypeNode to internal package
GitOrigin-RevId: 15f7d1ccbc41814769206705f0477cfb63599da7
2024-02-29 03:44:26 +00:00
Mikhail Shagvaliev
4e3e762e3d [qodana] Move Psi viewer JS extension from PSI viewer plugin since the module must be accessible on community
GitOrigin-RevId: 21632ecf4dd90fca6ffe98ee2813710a0ecff016
2024-02-29 03:44:26 +00:00
Mikhail Shagvaliev
afbbf30d42 [qodana] QD-8459 Wait for initialization of dynamic inspections in qodana
- ProjectInspectionToolRegistrar#dynamicInspectionsFlow: initial value is `null`, when is not `null` it's considered initialized
- use `ProjectInspectionToolRegistrar` where it's missing
- set category FlexInspect for .inspection.kts, include this category to bundled profiles
- introduce Qodana project level inspection registrar since now there is platform one

GitOrigin-RevId: 1db1cd6aff95406f7f7dd5558187250a38842492
2024-02-29 03:44:26 +00:00
Mikhail Shagvaliev
9476a90553 [qodana] QD-8373 Additional PSI APIs for the .inspection.kts users
- implement these additional APIs as extension functions
- add their package to .inspection.kts default imports: `inspectionKtsDefaultImportProvider`
- add them to the PSI viewer: `psiViewer.apiMethodsProvider`
- such introduced APIs: resolve of type for JS and Kotlin
- implement PSI Viewer tree properties nodes for JS and Kotlin types

GitOrigin-RevId: 5549aa4aaf71a10f6ffc7fea8cc029c7c986fd2d
2024-02-29 03:44:26 +00:00
Mikhail Shagvaliev
4bc00a1bf0 [qodana] QD-8229 Add "Properties" tab to PSI viewer
- call methods of PSI nodes (and not only nodes) using reflection, show results in PSI viewer
- improve UI of PSI viewer dialog

GitOrigin-RevId: 76158504788f00de8f72db85eccf26d30a1aa353
2024-02-29 03:44:25 +00:00
Mikhail Shagvaliev
a5a94825e6 [platform] Make HighlightInfo#toolId final
GitOrigin-RevId: da96aeda8dd7835e85005f423aac25ad22581e69
2024-02-29 03:44:25 +00:00
Mikhail Shagvaliev
41e37bdeb8 [platform] Add toolId to equals of HighlightInfo, otherwise we encounter problems if two tools have same messages, ranges and severities
GitOrigin-RevId: ee1c2e52df6a487f4cfe8a8b7ed78201032ba9da
2024-02-29 03:44:25 +00:00
Mikhail Shagvaliev
58b4d1ba37 [qodana] QD-8216 Implement *.inspection.kts inspections
- provide inspections as a `Flow` via `DynamicInspectionsProvider` EP

GitOrigin-RevId: 59fdb6af5583f606e060a80319881d15604fd02a
2024-02-29 03:44:25 +00:00
Sergey Pak
a4f4693783 IDEA-346771 New Import Settings: when settings with no default keymap are imported, this keymap applies after the manual restart only
GitOrigin-RevId: ee0fcbbc9c8d22af0118d2d50e04bc1b1e889f29
2024-02-29 01:46:38 +00:00
Roman Shevchenko
1409dd6438 [project] getting rid of outdated 'idea.jre.check' system property
GitOrigin-RevId: 9efd749fb8ae8294ee47e62b0e354549e02be4f6
2024-02-29 00:59:19 +00:00
Denes Daniel
a7e3f62dea [gradle] IDEA-338741 - Improve scope conflict handling on Gradle import
Signed-off-by: Denes Daniel <pantherdd@gmail.com>

closes https://github.com/JetBrains/intellij-community/pull/2679

GitOrigin-RevId: 451c197112ec512148ed749fc31b0c463b413d98
2024-02-29 00:28:17 +00:00
Yuriy Artamonov
96318d8f9b [llm] LLM-2178 Remember if AI Assistant was disabled before migrations
GitOrigin-RevId: ef01e7cda0fe664d9aef5475864e5e313ab7d34c
2024-02-28 23:34:25 +00:00
Pavel Porvatov
85a5d2324d LLM-2286 Implement LLM installer plugin
GitOrigin-RevId: f803d4d20a509db91f77553654095fa1f5b2449c
2024-02-28 23:28:30 +00:00
Pavel Porvatov
5b581ee3c4 LLM-2286 Implement LLM installer plugin
GitOrigin-RevId: 0d40e74fd4b4f1cc9142dc0a71da304ae7862450
2024-02-28 23:28:27 +00:00
Sergey Pak
9ab2cd331b IDEA-346802 Don't copy app-internal-state.db during upgrade/settings import
GitOrigin-RevId: fe1e2a6631780cae4c21cce2ea00e2d270b76ec6
2024-02-28 22:57:34 +00:00
Sergey Pak
e5d9a607a5 IDEA-347041 New Import Settings: disabled plugins from other IDE are enabled after import
GitOrigin-RevId: 4a560b27a99e1a19ac2b8e8870ff569b6857b463
2024-02-28 22:57:33 +00:00
Aleksandr Krasilnikov
5f2b765f31 PY-70771 PyCharm: add ProjectFromVersionControlAction to the Project Widget
GitOrigin-RevId: 9291cb77b450d6b79d088b343f34aa63e2b0a5b7
2024-02-28 21:48:51 +00:00
Aleksandr Krasilnikov
405199581b PY-70771 PyCharm: add ProjectFromVersionControlAction to the File menu
GitOrigin-RevId: 74fd97cea99f5434d1db07d8fb6c8a9c2bd8e2d6
2024-02-28 21:48:51 +00:00
Andrey Cherkasov
944c0ef45a LightServiceMigrationInspection's are zero-tolerant
^IDEA-347769

GitOrigin-RevId: 8803f20bcab257309f0a5b7eeca8fc2498125f20
2024-02-28 21:41:41 +00:00
Andrey Cherkasov
ddbd7f1e83 A service can be converted to a light one: suppress warnings
^IDEA-347767

GitOrigin-RevId: b222da2939c5d58c10062fb1af964760e5f6132a
2024-02-28 21:41:38 +00:00
Andrey Cherkasov
dcf594c7ad [devkit] LightServiceMigrationInspection: don't issue warnings on services registered more than once
to make the inspections zero-tolerant in order to avoid new warnings until problems with services registered more than once aren't fixed.

^IDEA-254577

GitOrigin-RevId: 92da8e870e8b6f7db0a630d8df125a3d3089d4f3
2024-02-28 21:41:28 +00:00
Andrey Cherkasov
32e4248809 [devkit] LightServiceMigrationInspection: configurationSchemaKey must not be specified
^IDEA-254577

GitOrigin-RevId: db3871b563b94f9d55cf607326ebca8743756e60
2024-02-28 21:41:25 +00:00
Andrey Cherkasov
3323eb5bc3 [devkit] LightServiceMigrationInspection: fix tests
^IDEA-254577

GitOrigin-RevId: e7633864e0d8541f6bbf563b2909d2b4e150a6e2
2024-02-28 21:41:21 +00:00
Kate Botsman
d7e1df97cf GTW-2076 Fix Cannot search for settings that come from host's IDE
To search for settings `SearchableOptionsRegistrar` is used. It can return a list of configurables based on the provided sentence.
To be able to provide the correct result, the `SearchableOptionsRegistrar` stores the mapping from a word to suitable configurable.

These words are either parsed from `searchableOptions.xml` files or provided by `SearchableOptionContributor`s
Files and contributors for host's settings exist only on host's side, therefore, the search is unavailable for them.

To enable search for host's settings, we need to provide the correct mappings (all host's configurables are already synced)
We can do so by initializing `SearchableOptionsRegistrarImpl` on app session creation and sending all processed options to frontend

GitOrigin-RevId: f3ae1c4c106cf6d633f80d5e923d481605d5250a
2024-02-28 21:37:33 +00:00
Andrei Klunnyi
16d33572b1 [kotlin] Pre-push handler: IDEA becomes a valid YT-issue prefix
GitOrigin-RevId: 06640f204509a4e5f0d409341b0f1a4fe1527aa8
2024-02-28 21:32:36 +00:00
Vladimir Dolzhenko
636b710cc3 [kotlin] Migrated VcsCodeVision inlay hints to K2
#KTIJ-28959 Fixed

GitOrigin-RevId: 396b6fe8fa8c4482b6bfd771ea1469fc2c1e5599
2024-02-28 21:25:06 +00:00
Vladimir Dolzhenko
a50a10f873 [kotlin] Fix add module dependency on unresolved reference in imports
#KTIJ-28475 Fixed

GitOrigin-RevId: dc0fdc562cc9b5a49e4a033b0368bb7d9c6a97d4
2024-02-28 21:25:01 +00:00
Vladimir Dolzhenko
a9e531fc08 [kotlin] Move to a proper module
#KTIJ-28675
#KTIJ-28676
#KTIJ-28677
#KTIJ-28679
#KTIJ-28680
#KTIJ-28681
#KTIJ-28683

GitOrigin-RevId: 23f566e76d14ede4a5274602d6097b762cacca09
2024-02-28 21:24:56 +00:00
Vladimir Dolzhenko
6a1a560950 [kotlin] Use test data file name for the psi offsets
#KTIJ-28675
#KTIJ-28676
#KTIJ-28677
#KTIJ-28679
#KTIJ-28680
#KTIJ-28681
#KTIJ-28683

GitOrigin-RevId: 7a363ede932c3f6cdca00a3b5297a2d73d737c54
2024-02-28 21:24:52 +00:00
Sergey Simonchik
6dceab14ab terminal: use "Block terminal | Default background" instead of hardcoded TerminalUi.terminalBackground (IDEA-337699)
GitOrigin-RevId: 3f1eb85de4aad688aef6afdf170048960b4e75aa
2024-02-28 21:20:14 +00:00
Sergey Simonchik
b380dbcc0f terminal: use @JvmField in BlockTerminalColors for better Kotlin-Java interop
GitOrigin-RevId: 1d18bd94342d72058ecfaf86d3f01924feca32ab
2024-02-28 21:20:13 +00:00
Ivan Migalev
b8d16437bf (IDEA-343506) Settings Import: fix the resource path
#IDEA-343506 Fixed

GitOrigin-RevId: bc54d97db1c6c0addcc6afcee55db9e45dea8ab6
2024-02-28 21:14:02 +00:00
Anna.Gromova
0397c044ca IDEA-346175 New Import Settings dialog: pressing Enter while there is an opened popup shouldn't start importing
GitOrigin-RevId: a1bb3dc687d09e820f64faeab029f41e5504cb8f
2024-02-28 21:06:11 +00:00
Gleb.Marin
16a6bfb27f [ML-2247] Start Trigger Model & Enable FUS
Conceal SessionTree in the ij api

Conceal ml api methods

Conceal ml api methods

Add missing read access

Update fus logs version

Add more features & run API with coroutines

Add some documentation & deprecate old features

Make unused features selection adequate

Fix demo

Add description policy to avoid many explicit nulls

Migrate more FLCC features

Allow any format for prediction & collect context features via API

Run the filter model in PyCharm

Add call parameters concept to the API


Merge-request: IJ-MR-125256
Merged-by: Gleb Marin <Gleb.Marin@jetbrains.com>

GitOrigin-RevId: b2e845e8f3e9ec95c96edf9518cbd9b463bba7ae
2024-02-28 21:05:06 +00:00
Egor Ushakov
ac387c1274 [coroutines debugger] restored imports for correct cherry-pick
GitOrigin-RevId: a20d73a770d7760b8e8b47851fbbb69433ee2d1e
2024-02-28 21:00:55 +00:00
Alexey Belkov
7fca1d4377 [kotlin] J2K: Reuse the original test file if possible
GitOrigin-RevId: ba2c3d97eaed67c19f76ced8f49cdc7529f9fb82
2024-02-28 21:00:09 +00:00
Alexey Belkov
d7bdb01863 [kotlin] J2K: Optimize imports
GitOrigin-RevId: d376881abf5fb0ad27fbccf9b7074184ac014823
2024-02-28 21:00:04 +00:00