Commit Graph

1381 Commits

Author SHA1 Message Date
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
11730cb8a6 [RDCT] RDCT-1224: Add lazy serialized values, fix some settings, add support for old value supplier
1. Two maps `storage` and `serializedStorage` are replaced with one which contains new class: LazySerializedValue, which can contain already resolved or yet serialized value.
2. Added `noStateLoaded` methods to ReaderModeSettings and MarkdownCodeInsightSettings to fix the issue with synchronization of the default state.
3. RemoteSettingDirection is now used only for the initial value.

IJ-MR-130819

GitOrigin-RevId: d60ef43bb7cd21543ac3801faa6c359077b104a4
2024-06-20 16:48:22 +00:00
Vyacheslav Moklev
b4b28afd77 [RDCT] RDCT-1224: Support Smart Keys > Markdown settings
IJ-MR-130819

GitOrigin-RevId: 2f051222fe78be488efd6a11619bc83c93632bd2
2024-06-20 16:48:15 +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
Nikolay Chashnikov
e8ef38a0b2 [markdown] API cleanup: mark for removal API which was deprecated in 2023.3 or earlier (IJPL-503)
GitOrigin-RevId: 59a70414efeab78f43b807d097a82700fd42e15b
2024-06-20 09:26:41 +00:00
Tagir Valeev
792a97c59f I18n warnings fixed
GitOrigin-RevId: 8d69a13c9169734e365bf7c07dd845641ec22dc9
2024-06-19 11:39:54 +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
faafc33646 IJPL-796 refactor TextEditorWithPreview (part 2)
GitOrigin-RevId: 6accb42e148d3ea40a01c13af9d0bce54f3faadc
2024-06-15 19:18:54 +00:00
Vladimir Krivosheev
71deb3dd48 IJPL-796 refactor TextEditorWithPreview
GitOrigin-RevId: 49d3b31dd388764a780a73932826ddb89e99e74d
2024-06-15 19:18:54 +00:00
Vladimir Krivosheev
90553c8a6b IJPL-796 MarkdownPreviewFileEditor - do not get document in EDT, implement async provider API
GitOrigin-RevId: 69c41efd6511d5b621836dc066c067a0a223ae99
2024-06-15 19:18:54 +00:00
Vladimir Krivosheev
989b64cd22 IJPL-796 AsyncFileEditorProvider is DumbAware
GitOrigin-RevId: d7413d9838a802c6e099b4a649f718f850fed200
2024-06-15 19:18:53 +00:00
Dmitry Avdeev
64cd3ee5cc IJPL-92193 MarkdownActionUtil throws cast error when other TextEditorWithPreview is present
GitOrigin-RevId: b68328000d4144868954b8b040f6858c76f71222
2024-06-13 20:15:56 +00:00
Ekaterina Berezhko
53138b4e95 [Markdown][IJPL-92240][IJPL-94629] Fix encoding of separators in files paths
GitOrigin-RevId: 5ab4557a608dea8200cfa12f8b4b9b527ea08863
2024-05-27 21:04:34 +00:00
Ekaterina Berezhko
169b77af2b [Markdown][IJPL-92157] Add math support to the Markdown plugin
GitOrigin-RevId: bc464ed473fe06cfba300bc82c427a5b3ca707a1
2024-05-27 17:16:40 +00:00
Ekaterina Berezhko
9cb4505f96 [Markdown][IJPL-91138] Non-breakable formatting block for code span
GitOrigin-RevId: 1c206d94a8aac44a6f7763c0f6e2ecdffc994d9c
2024-05-27 16:30:16 +00:00
Aleksandr Sorotskii
bd01993323 allow to run actions while editor in preview mode; PY-60475
GitOrigin-RevId: 44ab9bd5693077782592b172502537ce9bdeeee4
2024-05-27 15:04:53 +00:00
Dmitry Batrak
3514240a43 GTW-4830 Better JCEF support
Open Markdown files using existing implementation (without accessing JCEF on backend)

GitOrigin-RevId: 9d51d3b503958dac7ba4b8a96d56b9c387abfe83
2024-05-24 14:08:52 +00:00
Dmitry Batrak
b312f4eb39 GTW-8686 copy from markdown preview does not work
GitOrigin-RevId: c79fb70655a8e52ec167f8ce46bf197549c26c6d
2024-05-24 12:01:03 +00:00
Nikolay Chashnikov
085f2f19a1 [markdown] API cleanup: remove unused deprecated API (IJPL-503)
GitOrigin-RevId: ff27f7fb687f350f2f7ef0bcf7260b85373934b2
2024-05-16 18:00:28 +00:00
Ekaterina Berezhko
5a5c335cf6 [Markdown][IJPL-90975] Replace file system cache for plantUML extension
GitOrigin-RevId: f1c843d6060e9158f7245592f0b8730732cd68b5
2024-05-13 21:32:50 +00:00
Ekaterina Berezhko
7dfd1bdbfb [Markdown][IJPL-92186] Replace child scope with service scope
GitOrigin-RevId: 288a09d8b81bba3e47bb96757bd2e75cc24f1ed4
2024-05-13 14:21:54 +00:00
Yuriy Artamonov
641c9567cc [platform] IJPL-116992 New FileDropHandler API
GitOrigin-RevId: 4c47dc277df887bcfbceb5def859c7cd62c2ea9f
2024-05-11 13:56:21 +00:00
Yuriy Artamonov
ea5e4acba5 [markdown] IJPL-116992 Use new API for MarkdownFileDropHandler
GitOrigin-RevId: 1a4e146e0b589161f73740d0dc2fcb09e3d430a7
2024-05-11 11:10:11 +00:00
Yuriy Artamonov
f484f32239 [platform] IJPL-116992 New FileDropHandler API
API

GitOrigin-RevId: e75ccd58fcd681e1de6c194dc1c9e305c22df14b
2024-05-11 11:10:11 +00:00
Ekaterina Berezhko
c4b9eebe22 [Markdown] Don't log ControlFlowException and CancellationException
GitOrigin-RevId: 14bd08237625f366411beb4982b7a48ccd8304c5
2024-05-08 22:42:38 +00:00
Ekaterina Berezhko
df9f8f791a [Markdown][IJPL-92186] Use coroutine scope in CodeAnalyzerRestartListener
GitOrigin-RevId: f9f5485b943b7d16dfc8de5f3de4a2f5a016d939
2024-05-08 22:27:56 +00:00
Ekaterina Berezhko
6f4d0540a3 [Markdown][IJPL-93410] Refresh if needed when searching for file with VFS in org.intellij.plugins.markdown.fileActions.*
GitOrigin-RevId: ee55912e02b39c373fcd3cb3a9e123fdc0f9e66b
2024-05-02 17:47:16 +00:00
Vladimir Krivosheev
80bc00604d IJPL-149028 don't use commons-codec for base64
GitOrigin-RevId: ec8364e0e9b6420177438d21ec7945e9ddd5952b
2024-05-01 01:12:31 +00:00
Ekaterina Berezhko
094b298ec1 [Markdown][IJPL-43694] Send all setHtml requests to the markdown preview panel
GitOrigin-RevId: a7531d9e6a9dcf0b8bcc2a3fef01658731f5ab69
2024-04-29 13:36:52 +00:00
Ekaterina Berezhko
c383c750ea [Markdown][IJPL-91142] Fix pandoc detecting
GitOrigin-RevId: 67b489790ee7e7b0594489638cc0beb000b278a0
2024-04-29 13:19:57 +00:00
Ekaterina Berezhko
b5bf2476e3 [Markdown][IJPL-90975] Fix loading of file host resources
GitOrigin-RevId: 1b973c3163bd44564b2e37176c0c616f622304f4
2024-04-29 12:45:06 +00:00
Ekaterina Berezhko
55c62f29d9 [Markdown][IJPL-90977] Do not use inplace rename for header declarations
GitOrigin-RevId: 517e4e5e8fcb2d07d7eb89f7ebf8e86abc540629
2024-04-24 10:17:29 +00:00
Michael Golubev
6570c11324 WRS-4800 - Custom sticky lines for MD files in Writerside
- address IJ-CR-132100 - better id to keep up with the theme

GitOrigin-RevId: 8c4eb6914064d370dc38da97f2a93d69e9f20a49
2024-04-24 09:10:35 +00:00
Ekaterina Berezhko
6c7ccf83c9 [Markdown][IJPL-90975] Fix plantuml rendering in markdown files
GitOrigin-RevId: 7159b66dbc14589260037405744ef23ac9889ac2
2024-04-23 16:18:03 +00:00
Michael Golubev
74ac4d4e1d WRS-4800 - Custom sticky lines for MD files in Writerside
- add id to default MD breadcrumbs provider
- to allow custom provider to be registered `order="before ..."`

GitOrigin-RevId: cdbc7daad97f2b5644ebee68c43b43bda0650031
2024-04-22 15:27:55 +00:00
Gregory.Shrago
4d4745de52 extract ActionPopupOptions to clean up constructors
GitOrigin-RevId: 0f2758540aae6ef48e4eef7cce95cef5ddaca0a9
2024-04-17 19:52:24 +00:00
Ekaterina Berezhko
e68eec0c0a [Markdown][IDEA-350720] Support rendering of backslash escapes
GitOrigin-RevId: b93ec672f0bf58166a8af97dd1fd4de00e3d7353
2024-04-11 17:08:11 +00:00
Roman Shevchenko
2110b9834d [markdown] optimizing editor event listener (EA-1157907)
GitOrigin-RevId: 3e1863c55d25d1f87d9b0125cd41b7956a37c840
2024-04-11 16:41:57 +00:00
Anastasia.Ivanova
90e51765c8 [fus] rename event field in markdown.events to not intersect with platform events names
GitOrigin-RevId: 4a3039bce577c97c2f2ca4817fc0c1119fa3ad24
2024-04-08 13:20:49 +00:00
Yuriy Artamonov
59597eb185 [platform] IJPL-938 Deprecate public utils in com.intellij.refactoring.suggested
Update usages

GitOrigin-RevId: d56e13ad1631e92d900ded8d89edbed7bf214c41
2024-03-29 22:09:46 +00:00
Ekaterina Berezhko
509f56d461 [Markdown][IDEA-349637] Fix image link generating for paths with unicode symbols
GitOrigin-RevId: aa417a91ce2e5afd51e1facf8107dd91fd96c495
2024-03-28 17:40:19 +00:00
Vladimir Krivosheev
096ffbc8dc IJPL-846 introduce getAllEditorList (don't use array)
GitOrigin-RevId: 7fbebee9951f47a384d3aa46cd0fc1abfa01997f
2024-03-22 10:46:25 +00:00
Vladimir Krivosheev
a80631b73b IJPL-846 don't execute TextEditorCustomizer.customize in EDT
GitOrigin-RevId: 9976877a77fbbf4258c6bcd522e31cf9a43d14fb
2024-03-22 10:46:18 +00:00
Ekaterina Berezhko
b2b710f34d [IDEA-340851] MarkdownJCEFHtmlPanel should use suspendable JCEF primitives
GitOrigin-RevId: 17e820c9311c1f59c6902f38cc88c6cfd7b136b0
2024-03-14 12:58:55 +00:00
Ekaterina Berezhko
82c2d055da Rename .java to .kt
IDEA-340851

GitOrigin-RevId: 872396008f00310b6a36ee9d60f8acfd61ad291f
2024-03-14 12:58:50 +00:00
Egor Lebedev
8e26e6778b [Markdown] Add extension point to add prefix & suffix to code fence injection
GitOrigin-RevId: 37763f7e81e7f0cedd64fddc85f5b5eae0e18175
2024-03-12 15:24:49 +00:00
Ivan Posti
59847e0289 [Markdown][IDEA-347051] Immediately attach preview panel on preview editor creation
GitOrigin-RevId: 42e01bdf68fb1a681c2bc1a18202622f596fbd46
2024-02-26 13:53:52 +00:00
Andrey Cherkasov
8600782909 Mass cleanup: make extension classes final
^IDEA-309065

GitOrigin-RevId: 3109a0fdab7a1ae647ad8a3d69ac332dbc3b49b9
2024-02-21 16:23:34 +00:00
Nikolay Chashnikov
46d86804f7 [markdown] API: mark for removal unused deprecated API (IJPL-275)
GitOrigin-RevId: 7fe597bb8c7cf4cb29c4c95e48b542976854550f
2024-02-16 15:45:54 +00:00
Gregory.Shrago
604fef45b8 avoid AnActionEvent.getRequiredData: plugins
Prefer silent exit to throwing an exception.

GitOrigin-RevId: 7bd4ea12f9f9ca7dec91337e38782442fd976bbb
2024-02-16 03:08:53 +00:00