Commit Graph

7929 Commits

Author SHA1 Message Date
Alex Plate
e4d31e9c41 [Workspace Model] Add action to print modules
GitOrigin-RevId: 3acc46a517f504a2b47c4a3d8412c0dea27a718b
2023-01-23 17:13:55 +00:00
Alexey Kudravtsev
5113ab0261 rework InternalLayerSupplier to an extension to decouple Rider from HighlightInfo internal constructor
GitOrigin-RevId: 75a4f4c9217cf71d4a35ee68d0a7a0c5db5f650d
2023-01-23 13:51:04 +00:00
Sergei Tachenov
b267d5ace7 [UI] IDEA-311071 Compact mode: Move 'Compact mode' option to Appearance level
GitOrigin-RevId: 2612a3732bc45dfa63f81a0320010d6081d3f2cb
2023-01-23 11:07:19 +00:00
Nikolay Chashnikov
4d7bcddbd8 [workspace model] refactoring: extract unrelated code from RootsChangeWatcher to a separate class
Code from RootsChangeWatcher which isn't related to firing 'rootsChanged' event is now extracted to a separate class FileReferenceInWorkspaceEntityUpdater. It's also updated to improve performance: lists of changed files are converted to local variables, so there is no need to use less efficient concurrent lists for them, and instances of ChangeApplier aren't created if there are no interesting changes (that happen in most of the cases).

This is needed to migrate the code which fires 'rootsChanged' and updates WorkspaceFileIndex to watch URLs of WorkspaceFileSet instances instead of watching URLs of workspace entities.

GitOrigin-RevId: e1528784cf9e5345cd6a7eee2bf53469149cc820
2023-01-20 17:46:55 +00:00
Alexey Merkulov
5868183903 Add possibility to customize run configuration options
Need for RIDER-83749

IJ-CR-101580

GitOrigin-RevId: 3c945ef1200bfd5797e2dfd9e11b9a1e2193ad61
2023-01-20 17:30:00 +00:00
Dmitry Matveev
10a71b8ba1 Ctrl+R, G shortcut for optimizing imports/usings. https://stackoverflow.com/q/28173817/3383471
Move to Visual Studio 2022 keymap

GitOrigin-RevId: 8769fa511da1020a1266e6c5f7d75259e312f9f7
2023-01-20 17:27:12 +00:00
Alexey Merkulov
080ba9bcf4 IDEA-306444 Add limit for recent run configurations in popup
GitOrigin-RevId: 7540e2bd69c0790e64b658fea961f537d459fb0f
2023-01-19 21:43:56 +00:00
Elena Shaverdova
51ad6cca9c Include custom WorkspaceFileIndexContributors in counting builders to reindex on Workspace model change
GitOrigin-RevId: 332a89c3d336d1a9c66a05fcf5e6e7bd9ddc923e
2023-01-19 19:15:22 +00:00
Elena Shaverdova
7cee6fd209 Include custom WorkspaceFileIndexContributors into logic with disabled IndexableFilesIndex
GitOrigin-RevId: 022c8b7b829151958e05d597a5db519225b3e16c
2023-01-19 19:15:13 +00:00
Vladimir Krivosheev
0e72f7f253 revert: ProjectRunConfigurationInitializer - use preloaded service instead of ProjectServiceContainerInitializedListener
GitOrigin-RevId: 0e5d163ea7c9381ecbaf9ce1bd786c8494bb8617
2023-01-19 18:01:19 +00:00
Vladimir Krivosheev
e1b501f042 IDEA-310408 Editor tabs are noticeably reopened after IDE loading
GitOrigin-RevId: f6a34c2cf78e5fb4b1c8c1c22aa35a866459ab25
2023-01-19 12:43:28 +00:00
Vladimir Krivosheev
53f0f4543d ProjectRunConfigurationInitializer - use preloaded service instead of ProjectServiceContainerInitializedListener
GitOrigin-RevId: 79f75c08858ae20d4c841bf71418f9d6d8603ef6
2023-01-19 12:43:25 +00:00
Dmitry Jemerov
f1f62ab5af Action to convert preview tab to normal tab (IDEA-303080)
GitOrigin-RevId: 6f9ef904a54b99f79ee0152165073ccdc6aeebdf
2023-01-18 18:31:14 +00:00
Alexander Lobas
864dec7cc6 IDEA-290850 macOS project tabs: adjust tabs position and enable in new UI
GitOrigin-RevId: 1acac7607f245b2d6327f2ade9dde9076f4b55ac
2023-01-18 16:42:23 +00:00
Artem Bukhonov
e7de40a9dc Migrate CompletionServiceImpl from per client map to per client app services.
This should fix several exceptions in tests:
CWM-6453 TypingTest: Host: 'NoCompletion' and 'Host tries to hide lookup of Client'

(cherry picked from commit f547152abdd14b3a4f719da4c5060c9ab8b842f9)

IJ-MR-101424

GitOrigin-RevId: 596d39c3d43f5878d4d27d22a5d61cbb416db680
2023-01-17 18:27:36 +00:00
Dmitry Matveev
8772272542 Visual Studio keymap. Ctrl+R, G shortcut for optimizing imports/usings. https://stackoverflow.com/q/28173817/3383471
GitOrigin-RevId: 3de1bb55e96c0b8c43e39f5ad8e2914af0de3ded
2023-01-17 09:47:21 +00:00
Elena Shaverdova
89a038dcba Support reindexing on changes in CustomSourceRootPropertyEntity, LibraryPropertyEntity, ModuleGroupPathEntity
GitOrigin-RevId: 841fab1c56518455dbac432a28fa95c003ea0b87
2023-01-17 00:07:15 +00:00
Sergei Vorobyov
36b7f04277 IJ-CR-99762 moved TrustedProjects* classes into trustedProjects from impl.trustedProjects package
GitOrigin-RevId: 559cf3cff79c4e8ae776d2b069e15e8252b586af
2023-01-16 20:42:50 +00:00
Sergei Vorobyov
07878ca21f IJ-CR-99762 renamed ProjectLocator into TrustedProjectsLocator
GitOrigin-RevId: 177c87bffdc8fb035d8b159c189ed113229e72a8
2023-01-16 20:42:44 +00:00
Andrei.Kuznetsov
52e0b1fa4d Enable registry keys: scanning.in.smart.mode, retrieve.pushed.properties.from.vfs and cache.nulls.for.pushed.properties
GitOrigin-RevId: fb3a99f26015ba8c314d8414dc217d8d66d8c0f6
2023-01-16 19:37:55 +00:00
Elena Shaverdova
6f1fa5c4e6 Switch IndexableFilesIndex.isIntegrationFullyEnabled() and shouldBeUsed() to isEnabled()
GitOrigin-RevId: d382ee577fac48f45fb1d8804c6f845baccfbf9e
2023-01-16 15:41:29 +00:00
Nikolay Chashnikov
760e483321 [project model] introduce BaseProjectDirectories service and use it instead of collecting content roots (IDEA-307392)
We have several places in code which collect content roots from all modules to detect base directories where the project files are located. This doesn't work efficiently in big projects, because they may contain thousands of content roots, but usually there will be a single top-level content. Also, some IDEs (e.g. Rider) may register individual files as content roots or not define content roots at all. BaseProjectDirectories service allows us to process top-level content roots only by default, and makes it possible to return custom base directories in some IDEs.

GitOrigin-RevId: 92f8bbea6fbedbfc9d247aca4f5eeb897d8e9ed7
2023-01-16 12:03:03 +00:00
Elena Shaverdova
66d981d137 Reuse WorkspaceFileIndex in IndexableFilesIndexImpl for IDEA-309761 IJ-MR-100948
GitOrigin-RevId: 5f722c44e74ec7941fef5e64a3953b9d5ae27470
2023-01-14 18:40:48 +00:00
Pavel Porvatov
ff5085bf28 IDEA-294643 Rounded selection: use rounded corners for the extended hint on hover
GitOrigin-RevId: 3e8d2f85dd339c6f709ba65527a9b40fce555e4a
2023-01-14 00:08:57 +00:00
Rustam Vishniakov
e44e7a36d1 [code-style] Get rid of undo() method in EditorFacade
GitOrigin-RevId: 14f899543bc6e21ebf2f3e8e35e482a4b596abd7
2023-01-13 18:57:24 +00:00
Rustam Vishniakov
c5a571b08c [code-style] Move CaretPositionKeeper to platform.ide.impl via CodeStyleManager.Listener
GitOrigin-RevId: a8f4f3f8a54d1df977d465a8dcc46b79b604187f
2023-01-13 18:57:21 +00:00
Alexey Merkulov
0399895567 IDEA-304371 Use color to paint disable icons in the new UI run widget instead of gray filter
IJ-CR-101224

GitOrigin-RevId: 81e5d8d37f31765d2bb0bde2445c592f62aff10e
2023-01-13 16:24:56 +00:00
Aleksey Pivovarov
d7ac03afd3 ui: introduce test dialog for scalable icons
GitOrigin-RevId: 938ae67b05fc3b88145f39d6d8c189ac19709b9b
2023-01-13 15:06:05 +00:00
Alexander Doroshko
5e95e59fe3 IDEA-283423 Actions on Save: add ability to disable/enable actions via File | Settings for New Projects
GitOrigin-RevId: 03e85b28883f7f362d35b8fe9b2d86c44daf9b77
2023-01-12 18:59:35 +00:00
Mikhail Sokolov
25724643e4 IDEA-285430 Main toolbar: project button is too narrow
GitOrigin-RevId: 33989fe204c690d144726eda8cbf931c3679ebdc
2023-01-12 18:01:02 +00:00
Semyon Proshev
762667a5df Remove lazy indexing code in platform (LAB-33)
GitOrigin-RevId: 35b06631dc01f58912b5f2bf93930616c45f7427
2023-01-11 16:38:05 +00:00
Rustam Vishniakov
a3e0056c1b [code-style] Move wrapLongLinesIfNecessary() methods to LineWrappingUtil
GitOrigin-RevId: 8b45cda84e4bb6ab2c3656d3b9843bd45fb673e4
2023-01-10 18:32:08 +00:00
Rustam Vishniakov
e0344d1551 [code-style] Move editor-based hard line wrapping to PostFormatProcessor
GitOrigin-RevId: 28eb751e7c41420ab1547485a37ceec6774eb4dd
2023-01-10 18:32:07 +00:00
Artem Bochkarev
1d359da14d IDEA-288324: add MoveWindowToNextDisplayAction
GitOrigin-RevId: 37a13834ed7a888d68b1d27e6e45ad043a996a89
2023-01-10 05:39:42 +00:00
Elena Shaverdova
8a8697e24e Rename classes as old names were misleading
GitOrigin-RevId: 150cbd6a3ca2ee4410b6b798ab9e5b3cf2dc57a4
2023-01-06 00:05:20 +00:00
Lamberto Basti
f03a2a10a6 [PKGS] Making Dependencies ToolWindow lifecycle scope bound to project disposal.
Merge-request: IJ-MR-100677
Merged-by: Lamberto Basti <lamberto.basti@jetbrains.com>
(cherry picked from commit 45a6c6122d5a06f7dd938ea0f316381ac01c27cf)

GitOrigin-RevId: b08d3f455d4c3fc62664b4be80305d0687d4a90e
2023-01-05 17:25:33 +00:00
Lamberto Basti
8659428601 Revert "[PKGS] Making Dependencies ToolWindow lifecycle scope bound to project disposal."
This reverts commit 45a6c6122d5a06f7dd938ea0f316381ac01c27cf.

GitOrigin-RevId: 0dd369e18c4924c320d1192e37fcd10a195b338d
2023-01-05 16:08:33 +00:00
Roman Ivanov
e123860359 [inlays] remove dependency on the project for declarative hints settings
GitOrigin-RevId: 9598c9d466389225eab5a31a6c2859a95c21363f
2023-01-05 13:00:37 +00:00
Lamberto Basti
b0143dd84d [PKGS] Making Dependencies ToolWindow lifecycle scope bound to project disposal.
Merge-request: IJ-MR-100677
Merged-by: Lamberto Basti <lamberto.basti@jetbrains.com>

GitOrigin-RevId: 45a6c6122d5a06f7dd938ea0f316381ac01c27cf
2023-01-05 11:21:37 +00:00
Konstantin Bulenkov
23b051e1eb suppress capitalisation
GitOrigin-RevId: 7aa2255316095bf9a410ae5c34fefc53c0ef6ba7
2023-01-03 21:35:13 +00:00
Konstantin Bulenkov
2c0871af90 IDEA-309778 Filename Widget
GitOrigin-RevId: 254481ec8919efa53734440c9fd9af7c8e4f6133
2023-01-03 21:35:10 +00:00
Pavel Porvatov
5906c22021 Removed deprecated Kotlin UI DSL API and MigLayout related stuff
GitOrigin-RevId: b8a184e47d12046712fc779e542bb57e605127c7
2023-01-02 16:08:45 +00:00
Konstantin Nisht
485a8e8397 [warmup] IJPL-29: Avoid direct dependencies on intellij.platform.warmup module
GitOrigin-RevId: fd3dfed4aec7e2d51bc03efe2b416cfb33a4e0d8
2023-01-02 10:54:56 +00:00
Konstantin Nisht
d24fa4a039 [warmup] IJPL-29: Remove logger as a parameter of warm-up functions
GitOrigin-RevId: 800519edf6296100bae2944719e4662579c73796
2023-01-02 10:54:53 +00:00
Konstantin Nisht
d57c774ffe [warmup] IJPL-29: Rename classes to obtain more descriptive names
GitOrigin-RevId: b1b1d68a8a4e84da7b1b678574119a5c73876f74
2023-01-02 10:54:49 +00:00
Konstantin Nisht
6e8005776f [warmup] IJPL-29: Add stub of API for warm-up
GitOrigin-RevId: f5cae5ea02e0f21d2fdf82a3fbdcc9f6bea6c291
2023-01-02 10:54:46 +00:00
Dmitry Jemerov
d62b96784c Delete the implementation of editor.maximize.on.focus.gained.if.collapsed.in.split registry key (IJ-CR-27899)
GitOrigin-RevId: 00d8c8647454ac79f2100054862e60e7f045ccc1
2022-12-29 16:03:30 +00:00
Dmitry Jemerov
136b4a5237 https://github.com/JetBrains/intellij-community/pull/1684
GitOrigin-RevId: 19b395a50e39e14523be8943ce8aa4aa876d0c74
2022-12-29 14:39:28 +00:00
Roman Shevchenko
5c2eec522d [platform] changing the way the Windows Defender checker works (IDEA-298058)
GitOrigin-RevId: 64a290b7e8d7d56854bc7ae9f6d7f665be057285
2022-12-28 14:43:53 +00:00
Evgeniy.Stepanov
cef513d820 Ability to add tab actions in project view, important for RIDER-82417
GitOrigin-RevId: bdb27ccb9ba46a70b777943b519ca3bfdb5749e1
2022-12-28 12:51:53 +00:00