Commit Graph

883 Commits

Author SHA1 Message Date
Dmitry Avdeev
14ea4457d7 IDEA-308019 Reconsider the necessity of the Eclipse projects directory on the welcome screen of IntelliJ IDEA
warning suppressed

GitOrigin-RevId: 8858cdaaf67709b82fb55f2e3ef41d23694446b8
2023-03-29 17:10:06 +00:00
Dmitry Avdeev
3edd0650f6 IDEA-308019 Reconsider the necessity of the Eclipse projects directory on the welcome screen of IntelliJ IDEA
GitOrigin-RevId: 08a94b30303d435791a20a752d9fcc0bb123bbcf
2023-03-08 18:05:11 +00:00
Mikhail Mazurkevich
dcad689cb9 [workspace model] Regenerate entities
GitOrigin-RevId: 61d0532c57fb44b39f41f8c8ffa0dab8f85eff9f
2023-02-24 13:03:20 +00:00
Nikolay Chashnikov
35691b5706 [eclipse] cleanup: simplify code to get rid of warnings
GitOrigin-RevId: 3345e82a1386dd700d614076605b9f17abbc2523
2023-02-13 17:16:19 +00:00
Nikolay Chashnikov
6d628ff59c [eclipse] i18n: extract error messages to the bundle
GitOrigin-RevId: 0f23f2cdcdb76f8e2ff953772f8735ace0e2bd9b
2023-02-13 17:16:13 +00:00
Nikolay Chashnikov
c11032d8f5 [workspace model] refactoring: change the direction of dependency between projectModel.impl and workspaceModel.jps modules
Now intellij.platform.projectModel.impl depends on intellij.platform.workspaceModel.jps module. Classes and functions which don't depend on IDE concepts were moved to workspaceModel.jps module, classes which do depend on IDE concepts were moved to projectModel.impl module. This is needed to reuse code from workspaceModel.jps module in the external build process (IDEA-252970).

GitOrigin-RevId: 086298cdf889b77dae8619a66432059f7b6435b3
2023-02-09 23:04:13 +00:00
Tagir Valeev
0892646cb9 Enhanced switch used
GitOrigin-RevId: cf148ceb6c09ad0a00d05475b55113ab36c7a0ac
2023-02-09 11:21:32 +00:00
Tagir Valeev
f456ed0604 Pattern variable can be used mass cleanup
GitOrigin-RevId: 55839bf0deca5f81d0f7eb5b1c190145a5ea0037
2023-02-07 13:58:20 +00:00
Vladimir Krivosheev
e5c177039c remove handling of Comment and ProcessingInstruction
GitOrigin-RevId: b6221e045fcfd793d1bd5971006155f35f6221dc
2023-02-02 13:11:15 +00:00
Nikolay Chashnikov
d36c4ded36 [workspace model] API: deprecate virtualFile property from 'impl' package and use the variant from API instead
GitOrigin-RevId: e6b20ca4e62951df2ae4fd53bdd71bdbb8d604e7
2023-01-31 13:52:29 +00:00
Nikolay Chashnikov
35b9b757f6 [workspace model] extract API to work with VirtualFileUrl instances
There are similar functions in projectModel-impl/.../utils.kt, but they are located in impl package, and don't have proper JvmName so their usages from Java code don't look good.

GitOrigin-RevId: e0e6d41ac84b066c6deaba0c2fc1c2eece30624b
2023-01-27 16:19:55 +00:00
Vladimir Krivosheev
9824c28b60 avoid using old pooled threads - reuse coroutine pool
GitOrigin-RevId: ae7c8acec894b8e742924dc98a3e00976e178da9
2023-01-26 15:26:57 +00:00
Mikhail Mazurkevich
263e470819 [workspace model] Remove DummyProjectConfigLocation and extract JpsProjectFileEntitySource subclass(IJ-CR-100627)
GitOrigin-RevId: 297c964c2c2721958d99351e6b05020f2736836b
2023-01-24 17:30:02 +00:00
Alex Plate
e4c2225114 [Workspace Model] Add some loggin
GitOrigin-RevId: 9ed29844c19c46a623de1fc84f64e505fdd9dda6
2023-01-23 17:13:49 +00:00
Alex Plate
f84ef1eeb9 [Workspace Model] Refactor module loading
GitOrigin-RevId: c7cd9aab457cdbe58664597f259f218a7b948786
2023-01-23 17:13:43 +00:00
Vladimir Krivosheev
a8337613e2 cleanup
GitOrigin-RevId: 3085ed07b8eb1cf814a8b74717e23927b3d5cd4b
2023-01-23 17:01:49 +00:00
Vladimir Krivosheev
9b1e0ca951 Rename .java to .kt
GitOrigin-RevId: 22ee1256ce9f91844d239ecf9ca8435f63b88d8f
2023-01-23 17:01:49 +00:00
Alex Plate
c7ca7d2859 [Workspace Model] Update entities generator
GitOrigin-RevId: a4d7bf5d84f565b0a0846cad5b8c82fbf739539f
2023-01-20 16:37:49 +00:00
Nikolay Chashnikov
718c936157 cleanup: remove redundant '@author' tags from javadoc comments - 31
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: 618580af9a0052f23e78f701305301e6f596d42e
2023-01-18 17:03:06 +00:00
Nikolay Chashnikov
37ce2ff8a6 cleanup: remove redundant '@author' tags from javadoc comments - 10
Now we have Code Vision hints which determine the author via Git history and show it in the editor automatically, and this information is more accurate than the tags which were automatically added when files were created.

GitOrigin-RevId: c9da0e5b671b6049f85db4824ea81782e2977d77
2023-01-18 17:01:57 +00:00
Alex Plate
c99ecd259d [Workspace Model] Use builder only in top function
GitOrigin-RevId: 14fcfc71764d503d2675d18a65c8b3c33fd12801
2023-01-10 16:17:50 +00:00
Alex Plate
3c61ee2d01 [Workspace Model] Use module library collector
GitOrigin-RevId: 673ef266a584619f0c006bf581cb7a0c0e6a5bef
2023-01-10 16:17:47 +00:00
Alex Plate
ee5d5b96f8 [Workspace Model] Eclipse loading refactoring
GitOrigin-RevId: 96a766721be4ae42af1827090695e6868d80af7a
2023-01-10 16:17:44 +00:00
Alex Plate
01436b9c71 [Workspace Model] Eclipse loading refactoring
GitOrigin-RevId: 4ce990688002dc9174eef6a097b65ed69a0932e7
2023-01-10 16:17:41 +00:00
Alex Plate
64f7a58112 [Workspace Model] Partially unbind module loading form builder
GitOrigin-RevId: 2054a80f319658f690d5882223c968387f586509
2023-01-10 16:17:38 +00:00
Daniil Ovchinnikov
30fa6f95fa Kotlin 1.8 language and API versions
GitOrigin-RevId: d019dab5535d6f9405514bb0efb7ffa6cd27f5b0
2023-01-07 13:16:21 +00:00
Daniil Ovchinnikov
57a55a9c45 deprecate com.intellij.util.io.exists with error
GitOrigin-RevId: e9e931795e2a5bc8ba60408803508d72c84100ea
2023-01-06 20:27:57 +00:00
Alex Plate
3fa6ccbec4 [Workspace Model] Rewrite source roots loading with using new API techniques
GitOrigin-RevId: 12ae1a3d9ec92f560dd7b4dac3a2728ca5422fdd
2023-01-06 10:36:09 +00:00
Vladimir Krivosheev
57764d700b mark classes final
GitOrigin-RevId: 6414b6f2119c82c7567987dd30b35cab5491d9e2
2022-12-30 06:58:01 +00:00
Vladimir Krivosheev
1d7ab0ad7e use java or fastutil linkedhashmap
GitOrigin-RevId: e3406cb525983cba8952b7541c57e278e58ca7b5
2022-12-29 11:24:52 +00:00
Mikhail Mazurkevich
4364af2420 [workspace model] Get rid of redundant urls copy at before indexing
GitOrigin-RevId: 2677b470319d26d098dc277d460a189913f18c3a
2022-12-13 22:35:49 +00:00
Mikhail Mazurkevich
2b4a48b650 [workspace model] Fix new implementation of replace by source
Without this fix we didn't update references declared via extension properties at replace operation.
Now we taking it into account and all links update coming through unified `updateChildToParentReferences` which can handle explicit and implicit references to the entity.

GitOrigin-RevId: bace4f2468193c783839e3cf7cf4fe20b1a97f16
2022-12-03 14:13:10 +00:00
Tagir Valeev
ff7e3e097c Fix Constant value warnings, remove redundant code
GitOrigin-RevId: 12541943ab8ffeeeaba72dff68307477660f6ec0
2022-11-25 16:49:12 +00:00
Dmitry Avdeev
b9c3ac4cb9 EA-295111 - IAE: EclipseProjectDetector.getWorkspaces
GitOrigin-RevId: 9f697a76edb66ee5d72865d42acfc3ab7e79e341
2022-11-16 14:26:58 +00:00
Mikhail Mazurkevich
535c8b4869 [workspace model codegen] Make instantiation of entities simpler from Java
GitOrigin-RevId: b6343a20511ade431480aae8d8dd7a8a147caa1b
2022-11-10 19:10:42 +00:00
Mikhail Mazurkevich
6661f81e2c [workspace model] IDEA-304968 Avoid creating new entity data at requesting entities from MutableEntityStorage if not needed
GitOrigin-RevId: 85af8ad01b6acaab1b8ba19dde5f8ea3199313e2
2022-11-03 18:55:00 +00:00
Mikhail Mazurkevich
a81f4b6930 [workspace model] IDEA-304968 Get rid of redundant thread local variable occupation
GitOrigin-RevId: 42d7e5c83eacadbcb8b828aeaa077162d7aa369f
2022-11-03 18:54:53 +00:00
Alex Plate
62f296839e [Workspace Model] Remove entity source variable from the base class
GitOrigin-RevId: 4d1a1bb2868cbc121666ca497529e60b1e88c10d
2022-10-25 14:11:04 +00:00
Mikhail Mazurkevich
fe7432a327 [workspace model] IDEA-300481 Rename PersistentEntityId to SymbolicEntityId
GitOrigin-RevId: 7bae4a6812902b2f7cc8214d7df68c95ebfe8b4f
2022-10-18 13:31:17 +00:00
Mikhail Mazurkevich
67dcc8eea9 [workspace model] IDEA-300481 Rename com.intellij.workspaceModel.storage.bridgeEntities.api to com.intellij.workspaceModel.storage.bridgeEntities
GitOrigin-RevId: 6a6cefa7605694dfe4b0fe15bc8fc21847d0f9c9
2022-10-18 13:31:11 +00:00
Mikhail Mazurkevich
424dc8695a [workspace model] IDEA-300481 Rename ModifiableWorkspaceEntity to WorkspaceEntity.Builder
GitOrigin-RevId: b7e708abb0b8ae0725300fe09950cf2e9fc46836
2022-10-18 13:31:02 +00:00
Daniil Ovchinnikov
45d44ea146 @JvmDefault: use -Xjvm-default=all
GitOrigin-RevId: 461876a557e97c9fd17fe5324c38ea268d18162e
2022-10-13 14:13:50 +00:00
Tagir Valeev
adb060863f Text blocks used
GitOrigin-RevId: 7db538c0a10131a3f946436c85b42fe7d7dc5b10
2022-09-29 12:58:29 +00:00
Alex Plate
15ee25f520 [Workspace Model] Create ExcludeUrlEntity and use it in content roots and libraries
GitOrigin-RevId: b936e27c9a23a31f7d56fc46d02d698af9b549a7
2022-09-26 10:41:58 +00:00
Alex Plate
026ac915f2 [Workspace Model] Detach entity data from builder when we add an entity in the storage
GitOrigin-RevId: ddf111543f1c8f1117c15b1bf6592e7ae7e2805c
2022-09-22 08:23:05 +00:00
Mikhail Mazurkevich
d20621899d [workspace model] Replace EntityStorage.findModuleEntity to ModuleBridge.findModuleEntity
GitOrigin-RevId: 3b4c8ff43c82e476b2bc6da56569bcc3d4bdaf68
2022-09-20 16:38:38 +00:00
Mikhail Mazurkevich
3a627110bf [workspace model] IDEA-302024 Allow collection modification for entity without store
GitOrigin-RevId: c6f2c6b929853b5b872312602868644c544caed5
2022-09-19 21:44:40 +00:00
Mikhail Mazurkevich
5e4fc80c11 [workspace model] IDEA-301665 Avoid storage leak via link to MutableEntity in MutableWorkspaceCollection. Also restrict collection modification outside modifyEntity
GitOrigin-RevId: 603dfe6b856fc995cbe4796e1526b3055ee5e50b
2022-09-16 17:13:56 +00:00
Mikhail Mazurkevich
f07dff6e3b [workspace model] Return VirtualFileUrl#virtualFile property back to make a clear distinguish between it and VirtualFile.toVirtualFileUrl
More information about distinguishes described in KDoc

GitOrigin-RevId: 9d6495a4b997bef8bf8492cf83adc2ad510965dc
2022-09-15 18:38:12 +00:00
Vladimir Krivosheev
0af2e7b5c5 fix - reduce member visibility (public -> private)
GitOrigin-RevId: fe8a4740e27d192798a9fa55ff41112d1b633e49
2022-09-14 15:09:45 +00:00