Commit Graph

1750 Commits

Author SHA1 Message Date
Nikolay Chashnikov
6d4f202c76 [rdct] update UI on-the-fly when UI settings are changed in another process (RDCT-366)
When multiple JetBrains Client processes (RDCT-6) are running in parallel, changes in one of them will cause changes in configuration files which will be applied to all the other processes. So even changes in NotRoamableUiOptions must cause 'uiSettingsChanged' event to be fired.

Code which calls LafManager.updateUI was moved from AppearanceConfigurable to LafManagerImpl to ensure LaF is updated after such changes.

GitOrigin-RevId: b8a46d250d343590a250b83e5f73b389bebcb91d
2023-08-02 11:55:58 +00:00
Yann Cébron
2aae59b4b5 [platform] *DataKeys: add some @see
GitOrigin-RevId: a6c6c3248fe1c17cbdd9b8b668711618f66b54f0
2023-07-27 08:26:29 +00:00
Vladimir Krivosheev
44bb3924c6 bring back intellij.platform.diagnostic module
GitOrigin-RevId: 7c3c0f0bccc96d030412506d927597d9cb21fde3
2023-07-26 20:57:44 +00:00
Vladimir Krivosheev
b3ed61706f cleanup
GitOrigin-RevId: 024ea0d5fecba0f32ec37799a4221c871a37cea6
2023-07-26 20:57:39 +00:00
Aleksey Pivovarov
258127bbc8 Do not generate empty CompositeDataProvider
GitOrigin-RevId: 93677854b54a0cb123300d867dc0c0f92e53743a
2023-07-26 15:00:34 +00:00
Aleksey Pivovarov
74802002cb Support nullable entries in CompositeDataProvider.compose
GitOrigin-RevId: 15312415d3021d253c5f17ca94349ba7fe898f3b
2023-07-26 15:00:32 +00:00
Aleksey Pivovarov
f1867a2b45 GTW-5598 [rdct] support custom line number providers
GitOrigin-RevId: 9b8c98da8f9ec36c728c07811a959e9399bfb3fd
2023-07-19 16:51:45 +00:00
Aleksey Pivovarov
29fb3c390d ui: cleanup formatting
GitOrigin-RevId: 0a11b6c05c60af1352135e35c9ec623d5906f62b
2023-07-19 16:51:39 +00:00
Artem Bukhonov
65d162c0d1 Add ActionRemoteBehavior marker interface and mark actions in order to make them properly work in Remote Dev mode
GitOrigin-RevId: d7c458922225c4dc04bbc03ba3d3cf6116ae79a2
2023-07-17 20:36:54 +00:00
Gregory.Shrago
57885b3312 add missing "forRemoval=true", cleanup
GitOrigin-RevId: 915dba00423b1b4aa3bbea3c24e1686e48a99c15
2023-07-13 13:42:33 +00:00
Alexey Kudravtsev
1cc4e820c0 notnull
GitOrigin-RevId: 846f22e20a90790f9a2e83c3b96807b8b63e430b
2023-07-12 17:32:53 +00:00
Gregory.Shrago
eafcbfdb68 drop unnecessary ActionManagerListener
GitOrigin-RevId: a6667a5ea5410a55456db2ea7631ca942c6d2512
2023-07-11 15:23:20 +00:00
Alexander.Kass
42564d3b54 IDEA-324063 make experimental toolbar option non-roamable
GitOrigin-RevId: 737cf8be4e30822d3d5dcb642ed3ac22ac25a895
2023-07-10 09:38:06 +00:00
Vladimir Krivosheev
5e717b949c frame decorator - get rid of disposable
GitOrigin-RevId: 47318df76bc386e499bbfc1173e4b72427f8d9f0
2023-07-07 18:35:08 +00:00
Alexander Kirsanov
7db3774d24 Revert "[rdct] Add more properties of editor for synchronization"
This reverts commit 132955b6a3944a1864587be7ae2dd378a1778ded.

GitOrigin-RevId: d0823886e43018bca872cba9c6d9f58e0e30421f
2023-07-05 08:49:38 +00:00
Alexander Kirsanov
fee50d0e5f [rdct] Add more properties of editor for synchronization
GitOrigin-RevId: 6bddcbee963640b329688d5f3db1ab4c8f857718
2023-07-04 22:32:15 +00:00
Vladimir Krivosheev
b9570ffb44 remove outdated properties and migration
GitOrigin-RevId: 7c5658dcd593bf4f0661803d924e30d8fa66b747
2023-06-30 08:00:54 +00:00
Vladimir Muzhichenko
f2bf58dadd GTW-5229: NewUi -> NewUiValue
don't clash with other NewUI class on case-insensitive platforms

GitOrigin-RevId: d9a766d5fe8a9949c9abf798a578e1c14da56763
2023-06-28 15:54:57 +00:00
Vladimir Muzhichenko
74bc7cb4c2 GTW-5229: fix RD old icons in new UI
NewUi class introduced. NewUi.isEnabled replaces all the direct calls to Registry

GitOrigin-RevId: febe105d1147e5fce6b35eb5a953dbe2d55e0b93
2023-06-27 18:55:56 +00:00
Pavel Porvatov
e5921d356c IDEA-322929 Add option to enable/disable native header in Linux
GitOrigin-RevId: ee65c4fcd9883ea7b59c7e67575eb65e6ab630db
2023-06-27 13:50:57 +00:00
Vladimir Krivosheev
519edfe66b make sure that we do not access UIUtil too early (avoid UIUtil.getRegularPanelInsets static init and other such dangerous code) (part 4)
GitOrigin-RevId: 969e5ef5fd71f7c11d9ed9ca01b5eeeb3e851c41
2023-06-23 16:00:29 +00:00
Vladimir Krivosheev
ad7f0d04d2 log as error if someone tries to init system font data not as a part of an app bootstrap flow
GitOrigin-RevId: 00031101831ef7a8819f95ade12c4d41d8d4bd24
2023-06-21 20:53:10 +00:00
Vladimir Krivosheev
a0ccfa4c6e reduce usages of questionable UISettings.getShadowInstance()
GitOrigin-RevId: 981a4e46b597213cf16efdc0d9e55746b78b0679
2023-06-21 20:53:09 +00:00
Alexander Lobas
c1e67a4bf7 IDEA-322778 Segoe UI appearance font gets reset after update IDEA 2023.1 to 2023.2
GitOrigin-RevId: 8f1fb747398d66514912389852a28740319df86b
2023-06-21 09:57:40 +00:00
Vladimir Krivosheev
481369f712 cleanup(sort modifiers)
GitOrigin-RevId: ad80b408b102a746b583be9f44d690d7bdf8f6aa
2023-06-19 09:13:01 +00:00
Vladimir Krivosheev
2b5edcbabb cleanup
GitOrigin-RevId: ff92a8d2e3f7374771380eaf5711a2a6b1d5f9ee
2023-06-15 18:50:58 +00:00
Vladimir Krivosheev
0ac4be1486 IDEA-321138 default state not required - it is not a roamable component nowadays
GitOrigin-RevId: 32f178e8fb5c99b570dd9f70b1d0ae0e496d6d90
2023-06-15 18:50:56 +00:00
Alexey Kudravtsev
5e80030544 markup model: cleanup
GitOrigin-RevId: d41eb825408adc4ae3f99c17a1a8b4391a51fa6d
2023-06-15 14:53:24 +00:00
Ivan.Yarkov
8829a991a9 allow to specify if TreeAction is enabled by default
It's needed for RIDER-91520 so the Non-Public members is enabled by default

GitOrigin-RevId: 4377acff7368133ff917658875fead8d4fdb8884
2023-06-15 14:10:55 +00:00
Daniil Ovchinnikov
95fca55c09 replace AtomicReference in PresentableNodeDescriptor with volatile
GitOrigin-RevId: 8f240089241abf26ccb8ea9028358a49e4eabf67
2023-06-14 16:16:52 +00:00
Tagir Valeev
eceaae8757 Enhanced switch used; other minor warnings fixed
GitOrigin-RevId: 36dd4522e953681b2fc3463968d172d2bf6453bf
2023-06-13 13:42:37 +00:00
Vladimir.Petrenko
edfe3eee39 rd/cwm EditorSettings: fill the EditorSettingsListener interface with default empty methods
for convenience for possible implementations of this interface

(cherry picked from commit 9b5e6741174642ee2dc29f63a3b6ce8a04c7e84c)

IJ-CR-108322

GitOrigin-RevId: 9afee90236858f216e007772d66a6d1cf6b676d8
2023-06-12 17:39:34 +00:00
vladimir.petrenko
a8effd87e2 rd/cwm editors: synchronize EditorSettings from Backend to Frontend via common rd editor synchronization subsystem
reasons:
- it is good to sync such settings for each Editor in some common way
- BeControls subsystem needs this sync (before this commit it did it by itself)
- Lux needs it

(cherry picked from commit c863320fd4949a2be5010202d4e9e0301e86cff4)

IJ-CR-108322

GitOrigin-RevId: 7c46560eee543dd2d738987cc9f0fe27e738c82f
2023-06-12 17:39:22 +00:00
Nikolay Chashnikov
9b16a6d5f2 [platform API] mark unused API which was deprecated in 2022.3 and earlier versions for removal (IDEA-312594)
GitOrigin-RevId: 83ef88a5d857a404abde02189c3c5f4c531b54c5
2023-06-12 11:00:51 +00:00
Alexey Merkulov
a993cf1648 Add possibility to create exactly same ActionButton from CustomComponentAction implementaions
GitOrigin-RevId: b393d400bb5e9d2bfe92fa33ef5699106eeef381
2023-06-08 18:31:34 +00:00
Aleksey Pivovarov
57fd458ed8 IDEA-188410 diff: draw indicator for ignored lines affected by exclusion checkbox
GitOrigin-RevId: 4d4b795364c259ece246c14d0711e21f5a43872b
2023-06-06 12:57:23 +00:00
Tagir Valeev
b7831333b2 [editor-ui] TextEditorBasedStructureViewModel: validity check
EA-793393 - PIEAE: PsiInvalidElementAccessException.createByNode

GitOrigin-RevId: 40b7498be57df244e93475fd5fb6d5f0d38afb11
2023-06-06 09:51:53 +00:00
Aleksey Pivovarov
16e8253d00 ui: check that 'AnAction.update' works in empty context
GitOrigin-RevId: d0fb91c590bad7ebfcbf98cb5b37c0a3dc59a073
2023-06-05 11:10:13 +00:00
Filipp Vakhitov
e2b1f89d28 VIM-1985 IdeaVim doesn't work with LightEdit Mode
GitOrigin-RevId: c8605a1b5a1c475c156ee297b9e5688071349af1
2023-06-01 19:52:02 +00:00
Filipp Vakhitov
8e121be4c2 IDEA-128039 feature for scrolloff value setting
Add documentation

GitOrigin-RevId: 6978bf070ecf4f4d5832bc7ff34740fbde15ce03
2023-05-31 17:10:40 +00:00
Alexey Kudravtsev
14ff37953d specify return type explicitly in Kotlin in some openapi and util to speedup Kotlin resolve
GitOrigin-RevId: 2b68c5d51524b822c645dbcb3828acbdd15245ad
2023-05-31 15:36:27 +00:00
Alexander Lobas
f0a8ddccf3 IDEA-321288 Appearance font settings are not saved
GitOrigin-RevId: 5416cf03c7881296dfffe371177e02c15b709f62
2023-05-31 14:49:53 +00:00
Alexander Lobas
6b40a5342b IDEA-321288 Appearance font settings are not saved
GitOrigin-RevId: 74f62fb92f474faa5624f3ef2d8505e51b06e9a0
2023-05-30 19:32:57 +00:00
Filipp Vakhitov
dc47472b57 IDEA-256194 Add the possiblity to show Relative or Hybrid line numbers in addition of current Absolute line numbers
Post code review improvements

GitOrigin-RevId: c6d7c6cb526f122ac6f45472833adadd230ae6ff
2023-05-30 16:25:59 +00:00
Dmitry Avdeev
47ad0ba59a a little bit of javadoc
GitOrigin-RevId: 7364cf07c045468e49960e3c7eaf798f99a94db1
2023-05-17 11:30:59 +00:00
Alexey Kudravtsev
5e41463ddc improve javadoc
GitOrigin-RevId: 38d6b552ea21eb12f32c3d28f4fe4d344adb3718
2023-05-16 18:48:45 +00:00
Filipp Vakhitov
7df9143503 IDEA-256194 Add the possiblity to show Relative or Hybrid line numbers in addition of current Absolute line numbers
GitOrigin-RevId: 2385c9a37da151f01f6fbde81fc0a854c29a702c
2023-05-16 01:54:34 +00:00
Nikita Gubarkov
97e667077d Check sun.font.FontUtilities#subpixelResolution` in FontSubpixelResolution.
GitOrigin-RevId: b0ac35fb2ed5c8813db6ffe05ba1cabb0d43be6a
2023-05-15 16:39:02 +00:00
Alexey Kudravtsev
e157e27072 introduce new getVisibleRange() method in Editor to allow Fleet override it in headless mode
GitOrigin-RevId: 968b308c7ee0c736edb921232e9745f044916502
2023-05-15 16:01:23 +00:00
Nikolay Chashnikov
73d013d3eb [platform] API cleanup: remove unused deprecated API (IDEA-312594)
GitOrigin-RevId: bac2a215358e439671fca5efc16ee4e1cf56ed22
2023-05-15 13:58:41 +00:00