Commit Graph

421534 Commits

Author SHA1 Message Date
Vladimir Krivosheev
e0580de9af IDEA-335157 cleanup
GitOrigin-RevId: b6887791c62244681633a9ce3b0f0ef9b25c3c72
2023-10-18 00:05:14 +00:00
Vladimir Krivosheev
5afd693a2e IDEA-335157 cleanup
GitOrigin-RevId: 6b70d6c25694ac77ab7c82c1f464a4a7c22e798c
2023-10-18 00:05:10 +00:00
Pavel Karateev
904c6d68ea [python] PY-63580 Sync sys with the latest typeshed to include sys.monitoring
Introduced by 838dd3a5ba

GitOrigin-RevId: 1ba68c25956ede8c6a8afe3cd8560720d8ed7b95
2023-10-17 23:24:36 +00:00
Dima Golovkov
4ee70e797b Add preview and readerMode icons for IntUI
GitOrigin-RevId: 2ba4f91fc216d4387cb564e94bba2a50664ba630
2023-10-17 23:06:35 +00:00
Andrei.Kuznetsov
ca200abd96 Fix ProjectIndexingDependenciesService.completeToken being invoked too often and too early
Before (incorrect): `completeToken` was invoked after each origin-scanning task is finished. After (correct): `completeToken` is invoked once after all the origins are scanned.

GitOrigin-RevId: fbdf88496e638683747465af84e8157cef85fd77
2023-10-17 22:57:42 +00:00
Maksim Zuev
dc0a165764 [debugger] IDEA-334404 Filter synthetic source positions related to lambdas
Line breakpoint should stop only at the line, not in the lambda positions

GitOrigin-RevId: f0abf91b23f15d52de18c38cc0bfa6439acd8b12
2023-10-17 21:52:08 +00:00
Ivan Migalev
cf2d95ef40 Build infrastructure: fall back to single-byte encoding in case of process output reading errors
GitOrigin-RevId: 615450cd7cac07b73c1a90df1f62ff70ee2a58e3
2023-10-17 21:29:07 +00:00
Ruslan Cheremin
e8b97f16d8 [vfs] fixed ContentHashEnumerator issues over page borders
+ ContentHashEnumeratorOverDurableEnumerator: ids are only consequential inside page, on page border there was a break in continuity -- fixed

GitOrigin-RevId: 1664659debf71826048885eff26c448c66512d4f
2023-10-17 21:02:48 +00:00
Ruslan Cheremin
e038a587e7 [cleanup] added ByteArraySequence.toString()
GitOrigin-RevId: 98b61c1d7ca458111096e9da404d601e282ffcfa
2023-10-17 21:02:48 +00:00
Ruslan Cheremin
07509f74d7 [vfs] strict modCount update on file attribute change
+ file.modCount wasn't always updated on file attribute change -> now it is always updated, even on attribute delete (not needed now, but for completeness)
+ remove long-unused AbstractAttributesStorage.getLocalModificationCounter()

GitOrigin-RevId: a4acb1718ae23ba64ad3d83ea3bb96f90fe04410
2023-10-17 21:02:48 +00:00
Nikolay Kuznetsov
cda099ac5d [rdct] send client pid to gateway for tracking after self-restart
GitOrigin-RevId: b8ae76226ad084e78a9fe15b5212574c0b0a8942
2023-10-17 21:00:22 +00:00
Julia Beliaeva
2cc3152772 [file-history] correctly specify parameters to 'git show' command for rename detection
Options "-m" and "--diff-merges=m" use the setting from the config since git 2.32.

GitOrigin-RevId: 3bda790db0f83bca3a08077f5d13e3eed6027d7c
2023-10-17 20:52:34 +00:00
Yann Cébron
c32395b868 [platform] Topic.@App|@ProjectLevel: change retention to CLASS (IDEA-238543)
GitOrigin-RevId: d0727d68fdf8e4d613efa6ea0a0c860fad9f0137
2023-10-17 20:23:17 +00:00
Piotr Tomiak
6fa4e1714a WEB-63394 JavaScript: improve rendering of code block in error tooltips - add margins and improve background
GitOrigin-RevId: 45ceb38d880fe3bbe9941163ef58d93236fc8149
2023-10-17 20:11:49 +00:00
Pavel Porvatov
791d1af886 [Kotlin UI DSL] Added GridLayout.getConstraints(Grid) method
GitOrigin-RevId: 88b3b5384fbaf02e00f04eec1bc1f01bbf52e6c6
2023-10-17 19:59:43 +00:00
Nikolay Chashnikov
0af1a55fc7 [build scripts] publish maven artifact for 'intellij.devkit.runtimeModuleRepository.jps' module
This is needed to use this artifact in the intellij project (IDEA-335089). It isn't published automatically because DevKit plugin isn't bundled anymore.

GitOrigin-RevId: 3c7094984d7044d3dbddf85643f08573308b8d12
2023-10-17 19:30:15 +00:00
Nikolay Chashnikov
0d8c30ae02 [devkit] cleanup: reuse constant for RuntimeModuleRepositoryTargetType instead of declaring a duplicating one
GitOrigin-RevId: acb040cde33b4df2f31d0ff9ad174b0d80edcec8
2023-10-17 19:30:09 +00:00
Konstantin Hudyakov
dfeab630e1 IDEA-322036 Fix a potential freeze when selecting Run/Debug tabs
Avoid using `JBTabsImpl#findInfo` because if multiple `TabInfo` hold the same tab content component - it is undefined which `TabInfo` to return. And potentially it can cause the cycle like in the stacktrace from the mentioned ticket.
I failed to find any real examples of such behavior, but I did't see any other reasons for this freeze.

GitOrigin-RevId: 1682716f9568ddd8ab24d196bbb9b9ca0ce268e4
2023-10-17 19:28:09 +00:00
Konstantin Hudyakov
afa34948d8 IDEA-327201 Filter duplicated icons from icons combobox in the Add Action dialog
Most of the duplicated icons are filtered out, but some duplicates are still present.
It requires access to private fields to filter them, but since there are only several cases, it is ok to leave them duplicated.

GitOrigin-RevId: 2e060084d635a91f14bae2b36be3aa419eed1e18
2023-10-17 19:28:06 +00:00
Georgii Ustinov
a1c958acb5 [java] Fix language injection for java records
IDEA-321083 review refactor

GitOrigin-RevId: 086ff09f23a8156f45113204676eaff7788fa177
2023-10-17 19:05:43 +00:00
Andrew Kozlov
fbddacc52b [devkit] IDEA-315381 inspection enabled by default
GitOrigin-RevId: 094c039ff48ad03ef6a682652ee8427ed90c0a47
2023-10-17 19:02:33 +00:00
Egor.Eliseev
41b83761ee PY-60034 'Slow operations are prohibited on EDT': sdk.PythonSdkUtil.findPythonSdk
Merge-request: IJ-MR-116812
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: a9c0ec6b0462cf2c3401dd50140b4752da9e0b42
2023-10-17 18:57:48 +00:00
Andrew Kozlov
5a2ecb4e82 [devkit] IDEA-323201 inspection enabled by default
GitOrigin-RevId: 9cfdcbaf88fe066a5cc5e573b1234146916f796a
2023-10-17 18:54:36 +00:00
Vladimir Krivosheev
0df7350831 IDEA-324521 Colored toolbar rendering is broken when enabling/disabling colored toolbar via main toolbar context menu
GitOrigin-RevId: 8a645f4f9bfe6ba3d24fbe9fceb5850e3b30d0bb
2023-10-17 18:39:38 +00:00
Vladimir Krivosheev
213e4a8714 IDEA-324521 cleanup
GitOrigin-RevId: a808880250a4c2535e1196a6d79912644afa6934
2023-10-17 18:39:35 +00:00
Vladimir Krivosheev
66b76a8000 IJPL-285 extract NativeFileHandlerImpl
GitOrigin-RevId: 7e6b735aff2dd74ef9d887e23a5c516f00f356ea
2023-10-17 18:39:32 +00:00
Vladimir Krivosheev
c3d5f8cea5 IJPL-285 cleanup
GitOrigin-RevId: 2334d86cb5f88496e74453f86961d34d4b7a1ae0
2023-10-17 18:39:28 +00:00
Vladimir Krivosheev
484b2bf78a IJPL-285 extract computeModuleCustomLibrarySources
GitOrigin-RevId: 1690739a3b5eb36a2df06117d7a3e8d417158291
2023-10-17 18:39:25 +00:00
Vladimir Krivosheev
ec39a68f41 IJPL-285 use CREATE_NEW
GitOrigin-RevId: 5bbd4189b83edc74706c622eccc3e3e4ac9a6783
2023-10-17 18:39:22 +00:00
Vladimir Krivosheev
cb75c62437 IJPL-285 buildPlugins - simplify, no need to return deferred
GitOrigin-RevId: 81df81955bb82c975345f757f0d0da43eba77090
2023-10-17 18:39:18 +00:00
Vladimir Krivosheev
248e815106 IJPL-285 markAsBuilt not required anymore
GitOrigin-RevId: 305b21200a4ed8a55771e3d1dc7609b4c0e79cae
2023-10-17 18:39:15 +00:00
Kirill.Karnaukhov
a501439a6f [inline-completion] IDEA-333597: fix rendering of InlineCompletionSkipTextElement
GitOrigin-RevId: 2a91f6fa4baba963952d63c058c51e7958bece66
2023-10-17 18:17:54 +00:00
Kirill.Karnaukhov
ec2adbfd1f [inline-completion] IDEA-333597: support prefix truncating only for InlineCompletionGrayTextElement
GitOrigin-RevId: 5db6966f59ca76db07206ab854f69295577d1328
2023-10-17 18:17:54 +00:00
Kirill.Karnaukhov
37c7a8dbb6 [inline-completion] IDEA-333597: fix broken InlineCompletionProcessingTest in LLM
GitOrigin-RevId: 1d63c4f66f29e26bc8487040b9d08c32df9b5726
2023-10-17 18:17:54 +00:00
Kirill.Karnaukhov
b0cf47ff26 [inline-completion] IDEA-333597: fix retrieving visible Rectangle out of InlineCompletionGrayTextElement
GitOrigin-RevId: 915cf21e436ce5ae909b25ac5ca63b0e34dd83e2
2023-10-17 18:17:54 +00:00
Kirill.Karnaukhov
b2184c759a [inline-completion] IDEA-333597: add internal modifier for non-public API
GitOrigin-RevId: f1548411ed00dc2f36b0eca4b2c57279b41c1d84
2023-10-17 18:17:54 +00:00
Kirill.Karnaukhov
fde6775e35 [inline-completion] IDEA-333597: delete empty InlineCompletionBlock
GitOrigin-RevId: a8290aca48525b8b23056dad1a695dba9ec2dc66
2023-10-17 18:17:54 +00:00
Kirill.Karnaukhov
d77bbcf1d3 [inline-completion] IDEA-333597: generalize InlineCompletionSkipTextElement
GitOrigin-RevId: 2d089663d4ac009cf9ce7f072e02f483e20f0fae
2023-10-17 18:17:54 +00:00
Kirill.Karnaukhov
26994a5c7c [inline-completion] ML-1067: revert changes for 2023.3
GitOrigin-RevId: a7f1cbf4344ea54b41c9cfaf2f8757afd9b37458
2023-10-17 18:17:53 +00:00
Kirill.Krylov
67a06d83b1 [inline-completion] IDEA-333597 cleanup debug
GitOrigin-RevId: f0d8c880bdf67394ab1e56c1425c18285dae836f
2023-10-17 18:17:53 +00:00
Kirill.Krylov
86e1e41567 [inline-completion] IDEA-333597 make multiple minor changes to prettify code base
- clean variables, assertions, debugs
- merge UpdateSessionResult.Invalidated objects
- remove deprecated block
- bring back removed check

GitOrigin-RevId: 8ba15d5c25802ad3e4c20bbc76a0e624ddc7f038
2023-10-17 18:17:53 +00:00
Kirill.Krylov
22079198fc [inline-completion] ML-1067 remove deprecated handler editor key
GitOrigin-RevId: 44b2fdd10ff6f6e4687540bf15328c2d0a15db87
2023-10-17 18:17:53 +00:00
Kirill.Krylov
118b2d87dd [inline-completion] ML-1067 merge with editor based insertion-handler
GitOrigin-RevId: c3aa169d64c7f2ac5814cfdd8578b8b570809dc0
2023-10-17 18:17:53 +00:00
Kirill.Krylov
7accf21093 [inline-completion] ML-1067 add actions to list of known duplicates
GitOrigin-RevId: 65e4344ae81b2871a99a149ad04d606efa088ac6
2023-10-17 18:17:53 +00:00
Kirill.Krylov
b281936edc [inline-completion] IDEA-333597 add id to InlineCompletionProvider and use it, not kclass
GitOrigin-RevId: 61bb68dcf1f5f80a90bd4d252eb72801439d2c7f
2023-10-17 18:17:53 +00:00
Kirill.Krylov
1b278d1d43 [inline-completion] IDEA-333597 introduce third set of fixes and updates for API:
- fix InlineCompletionElement.Presentable inheritance with InlineCompletionElement
- rename invalidate -> restartOn
- rename InlineState -> InlineCompletionState
- bring back removed @RequiresEdt
- replace Navigation type with Enum
- remove synchronization
- remove InlineCompletionSuggestion temporary interfaces, make better hierarchy
- cleanup

GitOrigin-RevId: b23cacef0f5acbaf0fc690058937f35a8155d67a
2023-10-17 18:17:53 +00:00
Kirill.Krylov
ed796c64b2 [inline-completion] ML-1067 add test case for multiple providers
GitOrigin-RevId: eea45116f96a10c2c3a22d23d8d29349e18086f0
2023-10-17 18:17:53 +00:00
Sergey Stoyanovsky
a87712c4ed ML-1067 Review fixes IJ-CR-116239
Migrate to `InlineCompletionBlock`

GitOrigin-RevId: ada67bfe0be35ed918fd27d635a70177c4a3bb80
2023-10-17 18:17:53 +00:00
Sergey Stoyanovsky
9f556d5d6c ML-1067 Review fixes IJ-CR-116239
GitOrigin-RevId: 704a9c707d559b2d1764ed459212a01593dd11b0
2023-10-17 18:17:53 +00:00
Sergey Stoyanovsky
6ecc71f270 ML-1067 Handle multiple inline completion providers
GitOrigin-RevId: 13a234e79689b8704b956645fb945f352555ec08
2023-10-17 18:17:53 +00:00