Commit Graph

910 Commits

Author SHA1 Message Date
Tagir Valeev
51854f80b3 "Method can be static" fix massive application
GitOrigin-RevId: ed296b85922a6814d5c6057b5cbc720f0c546e41
2023-10-20 19:12:56 +00:00
Nikolay Chashnikov
97e876d874 cleanup: reorder import statements for workspace model classes (IDEA-320676)
Workspace model classes were moved to different packages, but the order of import statements wasn't changed, so we have many files with unsorted imports. They are often become sorted when other changes are made in these files, and such unrelated modifications complicate reviewing and may cause merge conflicts.

GitOrigin-RevId: 827744c328ddb2ac3d08ce0bcb8f8e1bb30ac4e9
2023-10-06 11:31:33 +00:00
Stepan Bagritsevich
4907beb57c [Workspace Model] IDEA-300053 Regenerate metadata storage impl with new codegen-impl version (2.3.3)
ListOf changed to arrayListOf, setOf to hashSetOf, mapOf to hashMapOf

GitOrigin-RevId: 267067923a1126d086dded311be7b2f833d08841
2023-09-25 12:12:29 +00:00
Stepan Bagritsevich
3f9d4a8586 [Workspace Model] IDEA-300053 Update CodeGeneratorVersions according to the new codegen-api 0.0.5 and codegen-impl 2.3.2 versions
Regenerate entities with new CodeGeneratorVersions versions

GitOrigin-RevId: 3292c7c36c7efff61791c9d19db38984908234af
2023-09-21 17:36:57 +00:00
Stepan Bagritsevich
538dc69c5c [Workspace Model] IDEA-300053 Regenerate entities according to the new codegen api version 0.0.4 and codegen impl version 2.3.0
GitOrigin-RevId: d96669902ada393cfd47e8603cde2cb43713652a
2023-09-21 07:33:44 +00:00
Daniil Ovchinnikov
27e155fc21 IJPL-167 bump language and API version 1.8 -> 1.9
GitOrigin-RevId: 5204df1784bbbba550476415e4ceff7368ab5fd4
2023-09-19 19:52:47 +00:00
Roman Shevchenko
18632a4398 [project] replacing even more custom Path extensions with stdlib/JRE calls
GitOrigin-RevId: 600179c80b09d62490a4ca19c3c2b6be9195fdd8
2023-09-06 14:02:32 +00:00
Vladimir Krivosheev
9649497aef reduce visibility
GitOrigin-RevId: c44a92db578b68af55eb8a4bcec564a880d91838
2023-08-12 13:14:01 +00:00
Yuriy Artamonov
4d92f1c14b [statistics] IDEA-326820 Enable counter usage collectors to be regular Kotlin object
GitOrigin-RevId: 75be9604970c01b314eaa6969fd29069c4589035
2023-07-30 14:18:19 +00:00
Vladimir Krivosheev
5cb07b0fbe convert ProjectRootManagerImpl to kotlin
GitOrigin-RevId: df246a38a0c00b4bc4febb86b537b2da3f5ce89f
2023-07-26 20:58:12 +00:00
Mikhail Mazurkevich
748f137a16 [workspace model] Update entities with the usage of the new generator
GitOrigin-RevId: 4bae953873a2583b2a8120d83ed8c1f562cfe3aa
2023-06-24 21:28:10 +00:00
Alex Plate
986f00a296 [Workspace Model] [IDEA-322889] Get rid of Obj and ObjBuilder and rename Type to EntityType
GitOrigin-RevId: 8e6ff2c69a06ecfbe8402c947e703cb987b39522
2023-06-19 14:51:38 +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
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
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
d1f070efbe [Workspace Model] [IDEA-320676] Move java entities under workspaceModel.entities package
GitOrigin-RevId: 0cc19eb22da6f12cc1d49dbb18bfe32b05161307
2023-06-19 09:35:01 +00:00
Alex Plate
055c83c4e5 [Workspace Model] [IDEA-320676] Move javaSourceRoots to a different package
GitOrigin-RevId: 684909a8211a9e0f398d7e619cd0ae599e35090b
2023-06-19 09:34:59 +00:00
Alex Plate
b4d14401c7 [Workspace Model] [IDEA-320676] Move javaModuleSettings to a different package
GitOrigin-RevId: d0c5aaabc4f76bfec75519f69aae18ec8fcc21df
2023-06-19 09:34:58 +00:00
Alex Plate
ddff13ae6e [Workspace Model] [IDEA-320676] com.intellij.workspaceModel.ide classes were moved to com.intellij.platform.workspaceModel.jps
GitOrigin-RevId: 0bc047b49df2a7dbcbd942e968e1f8f52338f749
2023-06-19 09:34:38 +00:00
Alex Plate
57c6dc422c [Workspace Model] [IDEA-320676] Rename base packages of the workspace model: org.jetbrains.deft
The rename of the packages is needed to follow the naming convention. See the attached ticket for the details.

GitOrigin-RevId: 4fc851806691afd525249276d1a1edd89a3df184
2023-06-19 09:34:33 +00:00
Alex Plate
d3c26ace36 [Workspace Model] [IDEA-320676] Rename base packages of the workspace model: org.jetbrains.deft.annotations
The rename of the packages is needed to follow the naming convention. See the attached ticket for the details.

GitOrigin-RevId: 864125c11afee880d972f81eea10fd6482fb557d
2023-06-19 09:34:32 +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
Daniil Ovchinnikov
675b19fb2c IJPL-130 rename library kotlin-coroutines-jdk8 -> kotlin-coroutines-core
GitOrigin-RevId: e987a9f48391d74e401c860a57f99634ccc21a4a
2023-05-18 22:52:00 +00:00
Vojtech Balik
a5015dbe86 [eclipse] IDEA-316314 Improve error reporting for Eclipse code style import
IJ-CR-106403

GitOrigin-RevId: 139c3da9ab3146e6356b1f15a3af69c3b095136a
2023-05-10 16:40:27 +00:00
Vladimir Krivosheev
227d75a1fc don't extend DynamicBundle
GitOrigin-RevId: 49cbebd629a92877dbeeffba8d97b0631fb9407e
2023-05-05 09:46:42 +00:00
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