Alex Plate
fadab6c639
[Workspace Model] Add reference to ticket with discussion to JpsProjectLoadingManager
...
GitOrigin-RevId: 4db1ad810f878e7af29442caee37b54fd538340f
2023-08-17 17:17:23 +00:00
Yann Cébron
6dcf13a305
[platform] ProjectManager.createProject: add missing @Deprecated
...
GitOrigin-RevId: feeda7e2fdcd52ae10bc0e78053c5b45b74df829
2023-08-16 09:19:49 +00:00
Roman Shevchenko
ae617f6f8f
Cleanup (minor optimization; dead code; typos; formatting)
...
GitOrigin-RevId: 35e754f16a3e6509fee308d661eeb0a1bbc37daf
2023-07-26 11:51:46 +00:00
Roman Shevchenko
21d7383ff5
[platform] completely phasing out long-deprecated LocalFileProvider
...
GitOrigin-RevId: ef55ccff3d4da85c1215d758e1e278aeab0cc737
2023-07-26 11:51:43 +00:00
Nikolay Chashnikov
79a65925c7
[settings] synchronize settings of storages with RoamingType.DISABLED in process-per-connection mode
...
Before, StreamProvider wasn't called for a storage with RoamingType.DISABLED, and this caused problems with persisting such settings in JetBrains Client when separate processes are used for different connections (CWM-8334, RDCT-366).
Now StreamProvider is used for all types of storages, and the existing implementations were changed to skip storages with RoamingType.DISABLED.
In order to keep the old behavior, when a storage which type was changed to DISABLED is deleted from StreamProvider, a new method 'deleteIfObsolete' is added and implemented in IcsManager and CloudConfigStreamProvider (SettingsSyncIdeMediatorImpl didn't do that before). This is a temporary solution to minimize the amount of code changes, it would be better to implement this logic in 'StreamProvider::write' method, but this requires getting rid of 'isAvailable' calls, so this should be done later.
GitOrigin-RevId: 2c660d18ca6ba0c66aed9c01d68bbae0bc323edb
2023-07-06 13:51:37 +00:00
Dmitry Jemerov
5061ce78a5
Suggest installing LLM plugin if it's not bundled but it was used
...
GitOrigin-RevId: dff40d7edb890f5f2d1591f7ee59a28218aed2d0
2023-07-04 15:46:00 +00:00
Alex Plate
15d01811d0
[Workspace Model] [IDEA-320676] Move several WorkspaceListener to the new module
...
GitOrigin-RevId: 11b538f3488b1fa1fd5501bc228c0516c4e384d3
2023-06-19 09:35:24 +00:00
Alex Plate
01173d5105
[Workspace Model] [IDEA-320676] Move several classes to the new module
...
GitOrigin-RevId: b86ef15549fdef4e408943fb47b6e1c1d7a9b1ea
2023-06-19 09:35:22 +00:00
Alex Plate
069e1b0932
[Workspace Model] [IDEA-320676] Move WorkspaceModel to the new module
...
GitOrigin-RevId: 16b9ef5a148ed992acffce8cc14124045e9dd376
2023-06-19 09:35:21 +00:00
Alex Plate
699114b48f
[Workspace Model] [IDEA-320676] Move BuilderSnapshot to the new module
...
GitOrigin-RevId: 36fb232ae53d7b3a372866623d58a54c9b158bb6
2023-06-19 09:35:19 +00:00
Alex Plate
f9245581a0
[Workspace Model] [IDEA-320676] Migrate bridge initializers to extension points
...
GitOrigin-RevId: c74a5b617a990637f2e5172333eea8da79b15bd5
2023-06-19 09:35:17 +00:00
Alex Plate
0ea27da5c6
[Workspace Model] [IDEA-320676] Move all packages from workspaceModel to workspace folder
...
GitOrigin-RevId: b70062397efd6347c34431c24aacd2ec2e216897
2023-06-19 09:35:12 +00:00
Alex Plate
acde44da72
[Workspace Model] [IDEA-320676] Rename jps module of workspace model
...
GitOrigin-RevId: 146fda1ce8b8e436eb48070e8cf96f2c654ea6a2
2023-06-19 09:35:11 +00:00
Alex Plate
e18c7d8a5f
[Workspace Model] Move sources of the storage under workspace package
...
GitOrigin-RevId: 013ce64337fe7b3637d731c1093a2337bbe71f22
2023-06-19 09:35:08 +00:00
Alex Plate
c3b791a11a
[Workspace Model] [IDEA-320676] Rename module intellij.platform.workspaceModel.storage to intellij.platform.workspace.storage
...
GitOrigin-RevId: f3d3180c7e8aa2b0a339acaf94dae4e2c90da12b
2023-06-19 09:35:06 +00:00
Alex Plate
bfd595ae86
[Workspace Model] [IDEA-320676] Rename package of jps model (ModuleEntity and other related entities)
...
GitOrigin-RevId: 102135a4f66c4a12c9b1f95035b1607cb933825d
2023-06-19 09:35:04 +00:00
Alex Plate
ae72bfb1d9
[Workspace Model] [IDEA-320676] Move ModuleEntity and friends to other module without changing the package
...
GitOrigin-RevId: 2f92e16012b84d5c4505c55a887df3623b460a0b
2023-06-19 09:35:02 +00:00
Alex Plate
37c54118b9
[Workspace Model] [IDEA-320676] Rename base packages of the workspace model: com.intellij.workspaceModel
...
The rename of the packages is needed to follow the naming convention. See the attached ticket for the details.
GitOrigin-RevId: 24b2328e572efa23d67133fc495855cf662ea795
2023-06-19 09:34:30 +00:00
Nikolay Chashnikov
9b16a6d5f2
[platform API] mark unused API which was deprecated in 2022.3 and earlier versions for removal (IDEA-312594)
...
GitOrigin-RevId: 83ef88a5d857a404abde02189c3c5f4c531b54c5
2023-06-12 11:00:51 +00:00
Alex Plate
ff339f0e5c
[Workspace Model] Rename updateProjectModelAsync to update
...
Rationale:
- In coroutine terms, this is not an async function. The async function should have returned Derrive.
- If we want this to be the main function for updating, it would be cool if it was named more convenient and shorter.
- If we want it to be the main function to update and the old one is not right, it would be better if the old one was called something like updateProjectModelBlocking and the new one had no suffexes about the specifics of its work.
- Now our code will look like `WorkspaceModel.updateProjectModel`. workspace model and project model in one place, there will be confusion of terms again. And since Nik says it would be nice to move away from project model altogether, I would give up this part.
GitOrigin-RevId: 16f6c69e705ffc76930fed8269cb5c757c51d119
2023-06-09 13:37:02 +00:00
Alexey Kudravtsev
2415ceb155
specify explicit types in Kotlin for open API stability
...
GitOrigin-RevId: 9cb17f88b11f08500c9555d275e5e3e8b5ac4578
2023-06-08 12:48:19 +00:00
Nikolay Chashnikov
ba7c32b862
[platform] fix ModuleUtilCore::findModuleForPsiElement for files from custom external entities (IDEA-321398)
...
If there is a custom entity with WorkspaceFileIndexContributor which excludes a root from a module content and registers it as an external root, we except that findModuleForPsiElement returns null for files under that root. However, ProjectFileIndex::getOrderEntriesForFile may return ModuleSourceOrderEntry instance for such files since RootIndex doesn't use information from WorkspaceFileIndex, so we need to explicitly take only LibraryOrSdkOrderEntry instances into account.
GitOrigin-RevId: 2ac7012f247ae9ddf4184412e4c220c389e8c293
2023-06-05 14:43:56 +00:00
Nikolay Chashnikov
98624bb77d
[platform] refine javadoc for ModuleUtilCore.findModuleForPsiElement method
...
GitOrigin-RevId: ab6bbbe2821719117733f82d71543dd2a4bc1d30
2023-06-05 14:43:50 +00:00
Dmitrii Gridin
7f76e1c40c
[project model] ModuleUtilCore: simplify code in findModuleForPsiElement
...
^KTIJ-25470
GitOrigin-RevId: 68410b56ab49f8e5261cf2bc297df2925004fecb
2023-05-31 17:59:02 +00:00
Dmitrii Gridin
06351d299b
[project model] ModuleUtilCore: drop sort from findModuleForPsiElement
...
GitOrigin-RevId: 421623fab558b2f9becb66bfdac5522bcd6530ab
2023-05-30 18:01:49 +00:00
Vladimir Krivosheev
7b11bf5bfd
CharsetToolkit not required for aalto xml
...
GitOrigin-RevId: e0165ef48d77a60df50e9093311d8b3319ad26cc
2023-05-17 16:27:33 +00:00
Vladimir Krivosheev
2f3029b767
cleanup
...
GitOrigin-RevId: a22c8c403d70185ff7f20fe398a2eb95da6a1267
2023-05-16 17:29:49 +00:00
Vladimir Krivosheev
75cd2b08c8
NotRoamableUiSettings - use SerializablePersistentStateComponent for performance reasons
...
GitOrigin-RevId: b465f006c41750d5f636d4c3d1f963a86ddda2e9
2023-05-12 09:41:08 +00:00
Mikhail Mazurkevich
246ec159cf
Revert "[Workspace Model] Use set for changelog in WorkspaceModelChangeListener"
...
This reverts commit 2a3800e2
GitOrigin-RevId: a13574ba0b51c3eac11703febd59f7adea222d03
2023-05-10 18:31:41 +00:00
Alex Plate
7b20721031
[Workspace Model] Use set for changelog in WorkspaceModelChangeListener
...
This is needed for a clearer understanding of the API: there is no ordering of changes in VersionedStorageChange
GitOrigin-RevId: 2a3800e216d81e87e836f8bd19708b5ba74f496a
2023-05-06 09:32:47 +00:00
Vladimir Krivosheev
2cfc2774ea
use coroutineScope, remove deprecated ModuleComponent.projectClosed and ModuleComponent.projectOpened
...
GitOrigin-RevId: 33e4a350c55d460ac14727cd2310e2e500a3ba22
2023-05-05 12:54:56 +00:00
Vladimir Krivosheev
1642beb2fc
cleanup - use writeAction
...
GitOrigin-RevId: d1ac3d431fb45030ec9de01540ba8cdee14e920f
2023-05-05 09:46:43 +00:00
Vladimir Krivosheev
227d75a1fc
don't extend DynamicBundle
...
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +00:00
Alex Plate
5b32c5e55f
[Workspace Model] Add some comments regarding the new API
...
GitOrigin-RevId: 5cdbbc526b7353eb8e8c2fe8e2b94b1eb1fb2ccf
2023-05-04 17:44:53 +00:00
Nikolay Chashnikov
f531ffb3b1
[platform] API cleanup: remove deprecated unused ProjectFileIndex::isIgnored method (IDEA-312594)
...
GitOrigin-RevId: 11c071415b694d92ac30f0a78ff41c38c84704f0
2023-05-04 15:48:12 +00:00
Yuriy Artamonov
a77f41df03
[devkit] IDEA-311137 Do not load inspections in irrelevant projects
...
GitOrigin-RevId: a42535636c5c728b874e27258b6e80ce0b6cc4f8
2023-05-02 21:38:25 +00:00
Vladimir Krivosheev
de25003551
WorkspaceModelCacheImpl and GlobalWorkspaceModelCacheImpl - do not use Alarm and Disposable
...
GitOrigin-RevId: ef4bce99f7b9a2d99c973c9fa73322bf44a0623a
2023-05-02 11:36:49 +00:00
Nikolay Chashnikov
44888d83cb
[project model] API cleanup: remove unused method ModifiableRootModel::replaceEntryOfType
...
It had no usages, and its implementation had always thrown an exception.
GitOrigin-RevId: 41604e614e473a0414f1094f38f38921a1391533
2023-05-01 13:05:51 +00:00
Nikolay Chashnikov
35321099f8
[project model] API: remove 'Experimental' flag from ModifiableRootModel::addLibraryEntries and addModuleEntries methods
...
These methods improve performance in some cases (see IDEA-274168), and their API wasn't changed for several releases, so they can be considered as stable.
GitOrigin-RevId: 2f3810c278fd0c6d5759fad488c4f0a70c385d43
2023-05-01 13:05:49 +00:00
Vladimir Krivosheev
c91328002e
mark SettingsSavingComponent as Internal
...
GitOrigin-RevId: 12b5282fe7e3f08926ec28f98057c57b21b85892
2023-04-27 13:06:45 +00:00
Vladimir Krivosheev
b0ad9fd175
ExtensionNotApplicableException must be used only for extensions
...
GitOrigin-RevId: f88f6f9a3fad75d1d818170484f438481c678632
2023-04-27 13:06:41 +00:00
Vladimir Krivosheev
ef2f9fd96f
commitComponents - don't use EDT if possible (part 6)
...
GitOrigin-RevId: 349234bb3fa9858a2c3d37203c84bd78ee722860
2023-04-27 13:06:40 +00:00
Vladimir Krivosheev
dcce103dff
commitComponents - don't use EDT if possible (part 3)
...
GitOrigin-RevId: d09ae783d2a2e2f0f86198f4b7a41114148f778c
2023-04-27 13:06:36 +00:00
Vladimir Krivosheev
05807baf03
commitComponents - don't use EDT if possible (part 2)
...
GitOrigin-RevId: 6385f207571e237cb9e33c52b4f3dff08f4d88d9
2023-04-27 13:06:34 +00:00
Mikhail Mazurkevich
a5d30ea62e
[workspace model] IDEA-318790 Fix review notes
...
GitOrigin-RevId: 849f4df5b6ab8ead76663fcaa8e22f24b7116594
2023-04-26 20:23:41 +00:00
Vladimir Krivosheev
3f3e985ff0
IDEA-318843 storage tracker per project
...
GitOrigin-RevId: 8d045ad6b7fd94a8dedf3ddd84dca6a0b589bee1
2023-04-26 15:03:33 +00:00
Mikhail Mazurkevich
055d9293cd
[workspace model] IDEA-318790 First iteration of introduction async API for model updating
...
GitOrigin-RevId: 30e6699609180c9201bdab2946e6c1ee67de2f09
2023-04-26 13:04:57 +00:00
Andrei.Kuznetsov
026b76a599
Remove useless project.getMessageBus() invocation
...
GitOrigin-RevId: 7b772b2c86fcee80697607558d31fb917bc30377
2023-04-14 14:18:51 +00:00
Kirill Likhodedov
8b426e592f
settings-sync: add a javadoc to SettingsCategory
...
GitOrigin-RevId: 2e174ac56f36572c665bb77c917c7c52ab866102
2023-04-12 10:48:35 +00:00
Alex Plate
b5b2341f72
[Project Model] Clean up ContentEntry API
...
GitOrigin-RevId: 9483662ae084a74d4197e66a87f12ba709e07903
2023-03-31 17:08:51 +00:00