Commit Graph

447330 Commits

Author SHA1 Message Date
Ruslan Cheremin
bd2766f742 [vfs] content writing moved out of lock
since VFS content storage based on append-only-log, writing/reading of content doesn't need external locking -> could be moved out of locks, there used -> makes the locked region shorter, thus reducing contention

GitOrigin-RevId: f5432f7d4039092b1c333fe21d7b327553668903
2024-06-29 14:42:20 +00:00
Ruslan Cheremin
eb2e311653 [vfs] throw exception if AppendOnlyLog.read(NULL_ID)
+ NULL_ID is incorrect, but an appropriate check was missed before -> added it

GitOrigin-RevId: ab543ac547d558794127b936372d6bb395f99001
2024-06-29 14:42:20 +00:00
Ruslan Cheremin
c5dfa1bff8 [vfs][refactoring] dont' rely on VFS length while reading file content from actual FS
GitOrigin-RevId: 8a33854ded2566fa77f8315270a272cdcc891505
2024-06-29 14:42:20 +00:00
Ruslan Cheremin
237319782b [vfs] moved IO outside of lock in .contentsToByteArray()
GitOrigin-RevId: cdad04875185c165cefb4a79d18e0879b14b1693
2024-06-29 14:42:20 +00:00
Nikolay Plyusnin
e2447d3dba [dotnet, inlays] optimize imports
GitOrigin-RevId: 014723779366506f5f51834bcd74f70a1cc9b86a
2024-06-29 13:30:54 +00:00
Nikolay Plyusnin
febb90a878 [dotnet, inlays] restore API compatibility
GitOrigin-RevId: 5d2b5c6c3f5cd3d2d746e0554ef78c0399343587
2024-06-29 13:30:54 +00:00
Nikolay Plyusnin
4aed217fd8 [dotnet, inlays] support AFTER_LINE_END inlays in rider
GitOrigin-RevId: b31ef5562404c4540486accc7597b76fa0fd201c
2024-06-29 13:30:54 +00:00
Nikolay Plyusnin
01a0db3047 [dotnet, inlays] adjust inlay width to next text-equal width
GitOrigin-RevId: 9d3e207ef07df6671ebb4bb1f278fc1915622b6b
2024-06-29 13:30:53 +00:00
Nikolay Plyusnin
5b2556c776 [dotnet, inlays] support custom icon scale for block inlays
GitOrigin-RevId: 87f09546d5325e78e640c3627221fb8564cd4f51
2024-06-29 13:30:53 +00:00
Nikolay Plyusnin
7c5f6e7e55 [dotnet, inlays] support tooltips for block inlays
GitOrigin-RevId: 98a6d1ca7f44a01a7e5a6ab5b9121875d0c49d7e
2024-06-29 13:30:53 +00:00
Nikolay Plyusnin
32ac463a88 [dotnet, inlays] initial interlines support in rider
GitOrigin-RevId: f515c44a40d11fe8cd87fbf2ebc5228f011b32ab
2024-06-29 13:30:53 +00:00
Nikolay Plyusnin
c44130e554 VerticalListInlayPresentation: simplify size tracking
GitOrigin-RevId: 31eee7ab77e90e5a51fc20dcadcd43fa64f74de1
2024-06-29 13:30:53 +00:00
Tagir Valeev
46b202f267 [searcheverywhere] Remove redundant null check
GitOrigin-RevId: 154194be770091ed4d5820e8697a5ff5e55085ff
2024-06-29 11:29:00 +00:00
Tagir Valeev
680c9462df [lombok] Remove unused MessageFormat argument
GitOrigin-RevId: 078ea42a00abf92e6b20777a47ee792c4f6dc50a
2024-06-29 11:29:00 +00:00
Vitaly Provodin
1c8a9240f7 Updating versions of project dependencies: runtimeBuild->21.0.3b517.1
GitOrigin-RevId: eb8a0d9a68f2fee03867982cfd15b2ab41443e7c
2024-06-29 07:45:46 +00:00
Vitaly Provodin
613cb801ff Updating versions of project dependencies: jdkBuild->17.0.11b1325.1
GitOrigin-RevId: c8a1d096835a480722d2d74500a82f3d94ad4215
2024-06-29 07:19:32 +00:00
Anastasia Katsman
71ec794d34 [driver-tests]: make UiComponent.toString a bit more readable
GitOrigin-RevId: a09adce49ba9ea7e02da8117c336f08ff0dc268a
2024-06-29 00:22:20 +00:00
Anastasia Katsman
f73244e0ad [driver-tests]: add text PopupItemRef.toString
GitOrigin-RevId: 0fd0cc029a6c8179efa6b63a43158a96227e8419
2024-06-29 00:22:20 +00:00
Anastasia Katsman
271209076c [ui-tests]: add exception if the click was not successful in the end
GitOrigin-RevId: 60443ec4c17e571b6479d30b4a555407b456bc7c
2024-06-29 00:22:20 +00:00
Anastasia Katsman
a35909acb2 [driver-tests]: make sure there is logging for all clicks and they are not doubled
GitOrigin-RevId: 13cc8aa84757ff39abf89346e960fbb1de991b2c
2024-06-29 00:22:20 +00:00
Anastasia Katsman
74bda450d0 [driver-tests]: add ProjectViewToolWindowUi
GitOrigin-RevId: 6a282ef7d396bf545a89504c9537e98f15d7ffc0
2024-06-29 00:22:20 +00:00
Anastasia Katsman
58be39ad5d [driver-tests]: renameApi to correspond kotline guidelines
GitOrigin-RevId: 7343d4b8dd5d7811e5773aef8589e34798b8c4b7
2024-06-29 00:22:19 +00:00
Jinseong Jeon
f87c9af24d K2 UAST: make nullity computation compatible with K1 UAST
In particular, for flexible type due to platform type, it's unknown.

^KTIJ-30464 fixed

GitOrigin-RevId: cb7327a4f6291b94d627b3929c2b10b348b060c5
2024-06-29 00:21:55 +00:00
Bart van Helvert
b291e01c7a [jvm] Enable Assert between inconvertible types inspection by default
Enable the inspection by default but disable AssertJ support because it has too many problems. #IDEA-348567

GitOrigin-RevId: 3dea62277fb224cdc5474e39b28cb4eb94aa8c3c
2024-06-29 00:21:55 +00:00
Bart van Helvert
e40fab017a [kotlin] Fix conflict checking for qualified chains
When retargeting multiple elements in the qualified chain we lose the attached usage infos. #KTIJ-30466 Fixed

GitOrigin-RevId: b2a7310a863b4d34ac8dcf48a046a67ad11dfe00
2024-06-29 00:21:55 +00:00
Bart van Helvert
6c58aa0e5a [kotlin] Don't run module accessibility checker for internal visibility conflicts
The visibility conflict checker can already find such conflicts.
#KTIJ-30460 Fixed

GitOrigin-RevId: f2f10cfd2531e2fff5af5493547a084c803c9006
2024-06-29 00:21:55 +00:00
Oleg Taratukhin
8a841d4f84 [ai-completion] ML-3574 remove common leading indents from multi-line suggestions
GitOrigin-RevId: 4c1d8723485b5f5f64dcaac904efab61fe871c56
2024-06-29 00:16:09 +00:00
Oleg Taratukhin
0c280a3e37 [ai-completion] ML-3574 add diagnostic information to reports
GitOrigin-RevId: 393504bb18a68168b46fa9c999a0bd6e5b98dce9
2024-06-29 00:16:09 +00:00
Vladimir Dolzhenko
644e554def [kotlin] Fix navigation tests
the expected string directive should not be present in a target file

#KTIJ-30463

GitOrigin-RevId: 1bd7c49c75b67d47f93cbaa1e5f7412dc098467b
2024-06-28 23:57:18 +00:00
Alexander Lobas
6905b886c2 IJPL-157523 IDE Language list is updated only on 'Settings' dialog reopen
GitOrigin-RevId: eb7ea53e39749e8b4259f459d3dc8b4ffcf18393
2024-06-28 22:13:48 +00:00
Gregory.Shrago
c733f9149e add missing ActionWrapperUtil.actionPerformed call
GitOrigin-RevId: c26565fa1111bfcfab51900c3fa9d1e5918ffc76
2024-06-28 21:34:18 +00:00
Vladimir Lagunov
941ea922df IJPL-149878 IJent WSL FS: show VM options dialogs at most once
GitOrigin-RevId: 5afb5390988dc91962ff39247332a1a30541ccd6
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
98845870c6 IJPL-149878 IJent WSL FS refactoring: use tracing FS everywhere in IjentWslNioFsToggler
It fixes the benchmark test that used to measure IJent in case of the alleged WSL test.

GitOrigin-RevId: 7a7006ce3a60961ecf8b0ab8a4bc2fb4aa48bb01
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
70f6a49e54 IJPL-149878 IJent WSL FS refactoring: explicitly define IjentWslNioFsToggler.unregisterAll
GitOrigin-RevId: a8f71609450d594e120de7cb1ec76d095a3e3ec5
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
1eacd1d1af IJPL-149878 IJent WSL FS refactoring: don't initialize IJent in every WSL during IjentWslNioFsToggler initialization
Instead, the file systems are assigned to WSL distribution explicitly by calling `enableForAllWslDistributions`.

This change removes a race condition between FS enabling/disabling in the benchmark tests.

GitOrigin-RevId: 9c06b1f713068f061fdb8c09080c3c9a81aeee15
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
3d9dc83f8e IJPL-149878 IJent WSL FS refactoring: encapsulate methods in IjentWslNioFsVmOptionsSetter
GitOrigin-RevId: 0f58e40340abb3add4753b5a3b407ca4544560b6
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
026a563625 IJPL-149878 IJent WSL FS refactoring: hide coroutine scope of IjentWslNioFsToggler
As a consequence, `IjentInProjectStarted.execute` suspends the calling coroutine until all IJent server-side applications start. It also looks fairer because starting IJents is required for project initialization.

GitOrigin-RevId: ea7914aced38c3ece0ab8a59e8bde8b51ccd47ce
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
5ce0d4c891 IJPL-149878 IJent WSL FS refactoring: get rid of interface IjentNioFsStrategy
There were two implementations. One of them did nothing.

It was easily replaced with a nullable class.

GitOrigin-RevId: 0070d7c08c56ef4ccf530d2b13c9d8e1c09585a7
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
79eeb3ca76 IJPL-149878 IJent WSL FS refactoring: move VM options util functions to IjentWslNioFsVmOptionsSetter
The functions were in `IjentWslNioFsToggler` and they were non-static. It led to problems:
* Checking VM options required to initialize the service `IjentWslNioFsToggler` which initializes the filesystem, causing race conditions in enabling/disabling code in the benchmark test.
* If something has "vmoptions" in the name, it should be in "vmoptions" class, especially when such a class exists.

GitOrigin-RevId: dc228c196799300461b1b287bc5a1428bb0b91f4
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
36256755d3 IJPL-149878 Enable IJent WSL FS in IDEA Ultimate, IDEA Community
It was enabled first in f6d18f61549ec24a2bc7d307743106d9ae0ce2b0 and 4418f0d2049439b2aea050affc0a9d7d8180cc3f, and it was almost immediately disabled in d676fa4790978878885f039805b00b69624d0975 and 217de367786a4191c04679e501ce5a4340398107 due to found issues.

GitOrigin-RevId: 0ccf3e031ba29dab079e1befa61eb77a1aabae47
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
061c7a7399 IJPL-149878 Enable IJent WSL FS in WebStorm again
It was enabled first in 933cc96dbd1899c1e414b23c4819784a2ee1f9a9 and almost immediately disabled in e0dbcd659af1fd5babd844d9f40a9a5f64d9bc23 due to found issues.

GitOrigin-RevId: e0e6d076a7af10b9c17bf0aa97ffd3db3bf50aab
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
b47ab08593 IJPL-149878 IJent WSL FS: module with constants, functions to enable in particular IDEs
To enable the new filesystem, some tricky VM options must be specified. Just changing the default value of the registry key is not enough.

The new code brings tooling and constants to ease enabling the IJent WSL filesystem in specific products.

`IjentWslNioFsToggler` stops specifying `-Didea.io.use.nio2` because `com.intellij.openapi.util.io.FileSystemUtil.computeMediator` is already aware of the IJent WSL filesystem and starts to use java.nio without the explicit system property.

`IjentWslNioFsToggler` keeps reacting to the registry key changes, but forces its value into the VM options, literally ignoring the state of the registry. It was done on purpose to make the VM options file the only source of truth and to not deal with registry-vmoptions synchronization issues.

GitOrigin-RevId: 6a3c333f841f87cece56ddc26bcbc284cf1a1ecf
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
8d5b7b9a73 IJPL-149878 IJent WSL FS: add nio-fs.jar to boot class path
GitOrigin-RevId: 25987722c2454b757c78387f655cb6b82c0ff626
2024-06-28 20:15:32 +00:00
Vladimir Lagunov
0757162f27 Revert "IJPL-149878 Constants for enabling IJent WSL file system in particular IDEs"
This reverts commit 57bba690b7b97239f3069e888fb01744b3c97faa.

GitOrigin-RevId: ea3266706fdee0ac2a1467f585fb3ce0568e13ae
2024-06-28 20:15:31 +00:00
Vladimir Lagunov
389a293caa Revert "IJPL-149878 Ability to add specific VM options into Windows distributions"
This reverts commit b2ee7a1fc721f37184360f5e300bc02b3fce113a.

GitOrigin-RevId: c94a87137cbe1f51f7a243ba905506b7156cd2e1
2024-06-28 20:15:31 +00:00
Vladimir Lagunov
0037f1a872 IJent WSL classes in intellij.platform.ide.impl are internal
GitOrigin-RevId: dbd89efbef02dc96e1db4da0885e46a54ff86db3
2024-06-28 20:15:31 +00:00
Ilya Muradyan
4213cb6df8 KTNB-235, PY-64586: Plugin-level refactoring
Introduce new intellij.jupyter.py plugin that contains python-specific extensions for Jupyter support.

Merge-request: IJ-MR-137841
Merged-by: Ilya Muradyan <Ilya.Muradyan@jetbrains.com>

GitOrigin-RevId: 5f336d39c665706eebcc4b0af75b0458e95b6b6a
2024-06-28 20:09:01 +00:00
Aleksei Kniazev
f43d8d2af2 [python] fixed python sdk rename (PY-71412)
- wrap sdk modification in write action
- recreate modificator on each consequent save

GitOrigin-RevId: 5b5719e6c29151ff72ddba16718bb6d96b2bcc0e
2024-06-28 19:43:16 +00:00
Mikhail Sokolov
301c3891ef IJPL-157498 clip chart graphics to visibleRect
GitOrigin-RevId: 0c10492e4a4eba6dc0912a7fd155891a570ebe84
2024-06-28 19:12:07 +00:00
Vyacheslav Moklev
3425ff4c8e [RDCT] CWM-9114, GTW-8233: Add listener for language console prompt
Bugs that are mentioned above are caused by a prompt set after the console was converted. This commit adds an ability to add a listener that is called on a prompt update, so our converter can keep it up to date.

GitOrigin-RevId: f9d5b0b6006c3fe95f87bfb65fec3e34b7dedd95
2024-06-28 19:08:15 +00:00