Commit Graph

342 Commits

Author SHA1 Message Date
Ruslan Cheremin
654398f9a7 [core] IJPL-157558: allow (P)CE from computeInNonCancelableSection()
+ (P)CE could be thrown from computeInNonCancelableSection() -- this is not an error if the (P)CE is initiated by the callee itself, not by cancellation request
+ Cancellation.checkCancelled() honor isInNonCancelableSection() -- somehow it was missed before

GitOrigin-RevId: aa8ca6d49a8bbad54328356e0c590737b52f2a8d
2024-07-16 21:30:33 +00:00
Nikita.Lyubimov
9a526a06a5 [RIDER] Add internal API annotation to getDisabledStickyLines method (RIDER-114196)
GitOrigin-RevId: a88ced56be5fc91f306547c221bb2095274ad645
2024-07-15 21:23:54 +00:00
Nikita.Lyubimov
6b0fb44416 [RIDER] Add method to retrieve disabled sticky lines (RIDER-114196)
GitOrigin-RevId: 69e00b428e20b9c35815ffbead7e729280febf92
2024-07-15 21:23:54 +00:00
Nikolay Chashnikov
039ff79573 [split] don't change the value of 'confirmOpenNewProject' option in remote development sessions (RDCT-1505, GTW-9099)
ProjectLifecycleUiCustomization service is introduced to allow always opening projects in a new window without modifying the option. This way we ensure that users won't be able to change the value of this option manually after it set in code in remote dev mode. Also, running the IDE in remote dev mode won't affect settings for monolith (full) IDE.

GitOrigin-RevId: 794486d9146a616277933585ab9cc32485414bcc
2024-07-10 15:43:11 +00:00
Nikolay Chashnikov
9347cbcae2 [split] don't change the value of 'isConfirmExit' option in remote development sessions (RDCT-1505)
IdeLifecycleUiCustomization service is introduced to allow suppressing the default dialog asking for confirmation on exit without modifying the option. This way we ensure that users won't be able to change the value of this option manually after it set in code in remote dev mode. Also, running the IDE in remote dev mode won't affect settings for monolith (full) IDE.

GitOrigin-RevId: 051e8a20151e0bb584c5435b87640920121f100a
2024-07-10 15:43:11 +00:00
Vladimir Krivosheev
2b53066811 DocumentCommitThread, EncodingManagerImpl, ChangedFilesCollector - get rid of non-coroutine executor pool
GitOrigin-RevId: 38d9c7dc593db89eacac081b00bc72e308eff7d4
2024-07-05 19:04:26 +00:00
Vladimir Krivosheev
053ddd7874 IJPL-157621 use async api
GitOrigin-RevId: 8485e206673808836d1490792799e57619e5592c
2024-07-02 18:56:31 +00:00
Vladimir Krivosheev
1b8cf364ca IJPL-156752 introduce getCustomEditorTabTitleAsync (part 2)
GitOrigin-RevId: 04fa330a3c377d014318a1c029ffb4e2c19e6adf
2024-07-01 19:58:15 +00:00
Vladimir Krivosheev
1ba95340ea IJPL-156752 introduce getCustomEditorTabTitleAsync
GitOrigin-RevId: 9b1feede474a5b812e5be848e040a083794ef56e
2024-07-01 19:58:15 +00:00
Vladimir Krivosheev
6669df0ac1 IJPL-156752 refactor FrameTitleBuilder, EditorTabTitleProvider
GitOrigin-RevId: 236ead53f719f88e3ab1afbe7647fdd4a4648ebd
2024-07-01 19:58:14 +00:00
Vladimir Krivosheev
dabd11c08e Rename .java to .kt
IJPL-156752

GitOrigin-RevId: d0851cdf3fccf324b11509d0bb0af5d6e5a8d2ad
2024-07-01 19:58:14 +00:00
Ruslan Cheremin
59da479cdd [cleanup] added TODO about PCE processing in non-cancellable sections
GitOrigin-RevId: f76ca992891427ce0561199a977f41cb58a8dc9c
2024-06-28 14:25:24 +00:00
Gregory.Shrago
72395b96fa migrate getData to uiDataSnapshot: platform
GitOrigin-RevId: f1de4233f6b054c18a572e58bdb5a8bf2a0acabe
2024-06-26 02:39:38 +00:00
Gregory.Shrago
51efd9e1b6 rename EdtDataProvider to UiDataProvider
`EdtDataRule` becomes `UiDataRule`. As previously, the name now reflects the data it operates on. It makes the fact rules are called in EDT and BGT less confusing

GitOrigin-RevId: 68f0f3451053ff387f90394872606434852aa32b
2024-06-22 20:48:01 +00:00
Bas Leijdekkers
c98e1c6c84 Disable by default (IJPL-45173)
for "Highlight occurrences of selected text"

GitOrigin-RevId: d2c1c635bb8770d6ff3d07bf08b54b5326c5e6ee
2024-06-21 20:51:40 +00:00
Vyacheslav Moklev
0ca16303dd [RDCT] Fix API dump for changes from settings synchronization
IJ-MR-130819

GitOrigin-RevId: c14d826d8bb0c25ebc4bcc8c2b4288f8e9b59842
2024-06-20 16:51:03 +00:00
Vyacheslav Moklev
002c70f580 [RDCT] RDCT-1224: Fix per-client persistent state components
Initially, persistent state components were not registered under remote clientId. It is not correct, though, because a non-per-client component may be loaded for the first time under a remote clientId, and it must be registered properly. This commit adds an explicit marker for per-client components to correctly implement this behavior.

IJ-MR-130819

GitOrigin-RevId: d170176f400902616e1448b0ecdf73a4c4918e8d
2024-06-20 16:48:44 +00:00
Vyacheslav Moklev
65d86f40f2 [RDCT] RDCT-1224: Fix EditorSettingsExternalizable not synchronizing default settings
Every PersistentStateComponent that overrides some meaningful `loadState(state)` method must override `noStateLoaded()` method as well, because it is called when no settings are changes, resulting in an empty settings state. If `noStateLoaded()` is not overloaded properly, then returning of all values of some settings component to the default values will not be synchronized.

IJ-MR-130819

GitOrigin-RevId: ce8f8290484135b195852d5bdcd0890e1c8c28bc
2024-06-20 16:48:37 +00:00
Vyacheslav Moklev
918f867d82 [RDCT] RDCT-1224: Remove @RemoteSetting annotation and replace it with a static map in RdSettingsStorageService
There are only a handful of PersistentStateComponent that we want to synchronize. After a discussion with @develar, we decided not to have an extension point and special annotations in the platform, but to list all of such components in our code.
Components' names will not be changed to keep backward compatibility for XML settings, so it is a safe approach. In the future, we will sunset PSC anyway and migrate them to the new SettingsController API.

IJ-MR-130819

GitOrigin-RevId: 7c9b974d406f8f4179d671f6483fd7143b6618d9
2024-06-20 16:48:26 +00:00
Vyacheslav Moklev
ea02778624 [RDCT] RDCT-1224: Refactor remote settings annotations and re-annotate state components
Client-only pages: Presentation Assistant, Notifications, Markdown
Host-only pages: Debugger, Breadcrumbs, Code Editing, Reader Mode

IJ-MR-130819

GitOrigin-RevId: 7e0f8a69547029c066340d58986ee34476d3ccf1
2024-06-20 16:48:04 +00:00
Vyacheslav Moklev
28d2adecea [RDCT] RDCT-1224: Make EditorSettingsExternalizable per-client
IJ-MR-130819

GitOrigin-RevId: e4f0d8038e21f284c369b5f0c27ae962223eca68
2024-06-20 16:47:50 +00:00
Vyacheslav Moklev
0d7e08af1b [RDCT] RDCT-1224: First attempt to mark settings with tags according to ThinClientConfigurablesPatcher
IJ-MR-130819

GitOrigin-RevId: 17695062a4e77b5e2e92fa68f77b6386d5c7f99b
2024-06-20 16:47:22 +00:00
Nikolay Chashnikov
24628e108d [platform] API cleanup: mark for removal API which was deprecated in 2023.3 or earlier (IJPL-503)
GitOrigin-RevId: b7f3b8a200bca2f54496ab03f5e1414e30ad0ed8
2024-06-20 09:26:41 +00:00
Konstantin Nisht
bcf7e2e283 [platform] Do not leak context into MergingUpdateQueue
`Update`s should be decoupled from the calling code, otherwise the context of the caller would prevent the updates from merging.

GitOrigin-RevId: dae65fc3f0604d08f0dcb8427788e1886fe6605d
2024-06-20 08:52:11 +00:00
Alexander Lobas
89d58ee436 IJPL-150231 Move icon mappings from json to icon generator
GitOrigin-RevId: 4d4576fc7eeb92ec43c36abec2d62d271b45d9a4
2024-06-15 23:19:46 +00:00
Vladimir Krivosheev
7f93e0ee0a IJPL-796 cleanup
GitOrigin-RevId: 9c31f9aa03450af29ff5650d249c62e3198d0fc9
2024-06-15 19:18:50 +00:00
Vladimir Krivosheev
00e68080c1 IJPL-796 add tabs as is, without sort as a workaround - not required anymore
GitOrigin-RevId: 81daa6fcb25007bfda6f7f6ee9dde679c790e656
2024-06-15 19:18:50 +00:00
Gregory.Shrago
cb5243c76d deprecate GetDataRuleType.FAST
And replace all such rules with `EdtDataRule`.

GitOrigin-RevId: 16bf59a9a8079944872b8295128a06cd12827d8c
2024-06-15 02:29:32 +00:00
Bas Leijdekkers
2415769d5c Add setting for "Highlight occurrences of selected text" (IJPL-45173)
GitOrigin-RevId: dc20a7327703ed49a03a4f762ef2e735c9175ddd
2024-06-14 13:20:41 +00:00
Gregory.Shrago
01573deed9 prevent one engine from ruining the whole feature
Also, fix yellow code.

GitOrigin-RevId: 51df4cb7f5a28b4bf0a4cfb94474f188c842121c
2024-06-14 04:21:58 +00:00
Konstantin Ulitin
fb5867a14d [breadcrumbs] WEB-67511 apply base language default setting
GitOrigin-RevId: a3a9ef4dec4cc2b4fb1751b4e548d72a4e34af8d
2024-06-10 23:23:16 +00:00
Gregory.Shrago
3bae155910 convert DataKey to kotlin
GitOrigin-RevId: 4532ca2961456b6ce74264cc5544cd0b83d84500
2024-06-07 18:27:17 +00:00
Alex Plate
2b517bf007 [Workspace Model] [IJPL-150230] Remove the subscribe function in favor of eventLog.
The `subscribe` function may be unstable in case of incrementation computations. The `eventLog` is stable and fulfills all requirements

GitOrigin-RevId: 17bbbb71995b224d1f3b44fee1afaa0e86ce7e94
2024-06-06 17:14:24 +00:00
Gregory.Shrago
05070ee65f update api-dumps
GitOrigin-RevId: c430d8faf7535b38de154de51def60231c8643c0
2024-06-04 23:28:22 +00:00
Gregory.Shrago
0f0277f3af IJPL-888 Support EdtDataRule in CustomizedDataContext
GitOrigin-RevId: a9e2a5f89b2ba0f21fd9cac8a7e5927a29e462db
2024-06-04 23:28:22 +00:00
Gregory.Shrago
ae09fd02f2 IJPL-888 Introduce EdtDataProvider and EdtDataRule
GitOrigin-RevId: 6cbf30f9f1480833be5b2a141056b8d57905dd4f
2024-06-04 23:28:22 +00:00
Mikhail Filippov
45a603327b DEXP-787531 fix bug in floating point math
GitOrigin-RevId: dcd883464a35f5463eabff823b906f92d0aaa2f1
2024-05-31 22:19:21 +00:00
Gregory.Shrago
b73d69aa2b update api-dumps
GitOrigin-RevId: 3e661b59fdcb3700a27dee0207c8d7ee9673c5f6
2024-05-31 16:14:12 +00:00
Gregory.Shrago
4101fa8f0f drop obsolete FreezingDataContext
GitOrigin-RevId: 320d51c7bbe954bd70c8c77f1c53c8151a73300c
2024-05-31 16:14:07 +00:00
Daniil Ovchinnikov
6226776bd0 IJPL-148997 exclude non-abstract toString() from the API dump
GitOrigin-RevId: 6352bbb374532bca296d08131ae50083f69e46c0
2024-05-29 00:05:31 +00:00
Yuriy Artamonov
67d0ff1c38 [fus] IJPL-155622 Provide usage events for file templates used in File - New
GitOrigin-RevId: 7f82dc6443a09f5531bfbe68ac22675d4cb80022
2024-05-26 21:30:06 +00:00
Alexandr Trushev
edc7524f5c IJPL-449 IJPL-952 Sticky lines: fus per language usage
GitOrigin-RevId: a6775ce29faae6bf8f0a1262bacc6238665c9f8e
2024-05-21 09:36:10 +00:00
Nikolay Chashnikov
edf39b0a8c [ide core] API cleanup: remove unused deprecated API (IJPL-503)
GitOrigin-RevId: 8e5131106efea536da232ac2ed68a0bf30fee883
2024-05-16 18:02:21 +00:00
Bogdan Kirilenko
51f5a4281d [platform] PY-71962 registered isLineNumbersAfterIcons setting
GitOrigin-RevId: 8a63e1ebd1ef23ee7936a78aa843d08fb1ab5d2b
2024-05-10 12:10:02 +00:00
Bogdan Kirilenko
604062617a [platform] PY-71962 added isLineNumbersAfterIcons setting to the editor for gutter customization
GitOrigin-RevId: ec18527f6467b196a6dd2881dd82216741717e16
2024-05-10 12:10:02 +00:00
Konstantin Nisht
d11e7b48a7 [platform] IJPL-1039: Fix zero-tolerance inspections
GitOrigin-RevId: 54ad79a933142d46a9641c2a17c0d747dc1aa117
2024-05-05 10:31:44 +00:00
Konstantin Nisht
432cee2d40 [platform] IJPL-148733: Unify logging for warmup and qodana
GitOrigin-RevId: 2d18e232718583f93230dd2cd91b453d24c28e04
2024-05-02 23:51:19 +00:00
Nikolay Chashnikov
cfae3211d0 [vfs] extract accessor method for protected methods in NewVirtualFileSystem and ArchiveFileSystem (IJPL-149126)
If we mark these methods as 'public,' they will be exposed in all implementations. So it's better to keep them 'protected' and call them via additional public @Internal accessor methods to avoid 'IllegalAccessError' if different modules are loaded by different classloaders.

GitOrigin-RevId: f50f83d38fd735440000a19e17bdaedbfaacb257
2024-05-02 08:45:55 +00:00
Daniil Ovchinnikov
b03b92e140 IJPL-148490 clean up empty file-classes from existing dumps
GitOrigin-RevId: ca701387e601a76ae25a3a31ca0a02432126e0fb
2024-04-30 20:39:42 +00:00
Dmitry Avdeev
d20ff8b317 IDEA-65293 View multiple IntelliJ IDEA projects in a single frame
initial commit

GitOrigin-RevId: 11a1686d10b8cb2825e4fc2146d18d1fd293ea2d
2024-04-30 14:48:24 +00:00