`FileUtilRt.LARGE_FOR_CONTENT_LOADING` was used in 2 roles: as just 'big file, load with caution', and also 'do not cache file content in VFS' -- but those roles are quite different really, and should not be mixed =>
- `PersistentFSConstants.MAX_FILE_LENGTH_TO_CACHE` is now the limit for VFS caching: default value 1Mb, `-Didea.vfs.max-file-length-to-cache=...` to override
- `FileUtilRt.LARGE_FOR_CONTENT_LOADING` is still used for everything else
(cherry picked from commit f7642bf36cba9984f5a6438c88fcecbe769335a8)
(cherry picked from commit 77ef2bc348054154fba9b612f75bcc41ac880f64)
IJ-CR-150186
GitOrigin-RevId: e8a95f377142a793f171d5ba055ab54dc9bc3d6c
+ previously we limited max file size to cache _on_load -- but not on save, so if huge file is !readOnly, its saving could easily overflow VFSContentStorage -> now all ways to VFSContentStorage have same limits
(cherry picked from commit 0a5e639f35ae41901a7312d25e2e33be49aa4e97)
(cherry picked from commit 61ba8143c82cf1f32c7ae8d1d82e00505b7f91b0)
IJ-CR-150186
GitOrigin-RevId: c8161c5b36cdcbe0b441b5e85b4268f42d9854a6
We now allow spaces in project path (`validatePath`) but convert them to underlines for `projectName` (both changes are in `ProjectPathFlows`).
(cherry picked from commit cc875f7b4e6d2354fba79387a0fc9161a6d267e1)
GitOrigin-RevId: 620e5bca8a406c9588f3e4f54260e5e3162bf686
It allows avoiding the case when a callback triggers some event that leads to animation cancelling and re-call of
callbacks
(cherry picked from commit a194f54a52e35892e69e0e1baa9b03b4b063b0a5)
IJ-CR-149651
GitOrigin-RevId: 9a38c193c6af2e129e792a253d0972c772883bf4
Delegate the popup building and opening to the `LineStatusMarkerPopupService` and control that opened popup is disposed
before creating the new marker panel
(cherry picked from commit fff881f00d75ce4d4b9fa0fc5fa2e2407f7e8813)
IJ-CR-149651
GitOrigin-RevId: 3458a2e0f1e7830d5c67aa539839182840e9d64c
Add "Copy" as well to the context menu
(cherry picked from commit 7a64bba4ba719d3a5a45e9ca51ecf27ca8ed9bd0)
IJ-CR-149651
GitOrigin-RevId: 4dac3794ff4e2716cfdf5fed1fbc6b5cd1c1550f
- use VARTYPE_UNKNOWN for all unknown types and `getExprType` must always return non-null type
(cherry picked from commit ebe50921fe40561ef6219ff4a51448a910f90c3a)
GitOrigin-RevId: b85b5de42549a32a7b445c5bce1df889f6e4a808
It was marked as internal in 9f89109681d1c68, but it appears that some plugins use ReformatCodeAction.reformatDirectory, which accepts an interface extending OptionalReformatActions. A proper API should be written instead, which takes a builder for formatting options instead of requiring to implement these interfaces, but until it's done, it's ok to use OptionalReformatActions directly.
(cherry picked from commit da63da8e791643d96f0f12f20e164fe32542de0c)
IJ-CR-150019
GitOrigin-RevId: 616b6bdb966e2cda1982700457cf17f250d46a99
`versionString` might be `null` if python in severe broken.
Such pythons shouldn't be here, and we will fix it as soon as we introduce PythonInterpreterService
(cherry picked from commit d4658e07833d6f886991e794f90e5a16f28e50c3)
IJ-CR-150093
GitOrigin-RevId: e0fe53bdacbd014afa67115c9c9414a0cba9ba59
2024-11-24 19:09:46 +00:00
Snapshot dependency; Vitaly Provodin; Ultimate / 243 / Service / Promote JBR 21 Runtime to IntelliJ 243, build #21.0.5b631.28
This makes it possible to get an incomplete JDK in the new project wizard for detected JDKs, and initiate JDK paths setup in the background.
#IDEA-363220 Fixed
#IDEA-358703 Fixed
(cherry picked from commit 4b62235b1243df8d2bc8ff24bb7932ee954c7633)
GitOrigin-RevId: 130c333fd60ff654d550a5db1bf232de9c3adec0
Extract code to method to simplify next refactoring.
(cherry picked from commit 7928c74167a0b72fb74ecc04ac509f02dba7b2ac)
IJ-CR-149723
GitOrigin-RevId: 8fffd1bbb9ea8d130bf6dd17a9cf8ebaefa04b51
Extract code to method to simplify next refactoring.
(cherry picked from commit 7928c74167a0b72fb74ecc04ac509f02dba7b2ac)
IJ-CR-149723
GitOrigin-RevId: 2e19e9ea475668313bd4f25babd1ff06a34071ff
We need to overwrite it in PyCharm for PY-75549
(cherry picked from commit 61aeaeab41a2d0eef8d0b1683edcb5c1c36911cf)
IJ-CR-149723
GitOrigin-RevId: af69920d60e8232b796076a50d9d96e435fcee07
Fix exceptions from appearing by wrapping in read-action
(cherry picked from commit 9b0b142f2f186dd8da3d64594d498e99b19988d1)
IJ-CR-150010
GitOrigin-RevId: b041d82901b3840ad9100199883a7c1a6b5b3204
Also adds intellij.devkit.junit.skip.settings.from.intellij.yaml option to fallback to the previous behaviour.
(cherry picked from commit 3d60faf7632e3e4f497650ced02aa1f7b60e63a0)
GitOrigin-RevId: 0e087b02cf3070d02c76f5056cf7089e119e37b5
Now we can use a custom main class from JUnitDevKitPatcher to run tests in dev-mode,
similarly to com.jetbrains.rider.test.devServer.RiderTestNGDevMainKt and then use com.intellij.rt.junit.JUnitStarter.
IJ-CR-149961
(cherry picked from commit a6255c22c1ec972cbfc35837af31503fe81ac2a9)
GitOrigin-RevId: 47d1329fca6e9061fd7f43626321813e3783b7e3