Commit Graph

413 Commits

Author SHA1 Message Date
Ivan Shakhov
f6f9446254 fix IJPL-148328 Delete keystroke not working on empty lines in .tex format
(cherry picked from commit 9312a22cd0d648637431292f659c57e3c6f3f8a8)

IJ-MR-131689

GitOrigin-RevId: d724201b1a1a2365dc202f499574413ac9f92b22
2024-04-19 11:03:10 +00:00
Alexander Zolotov
50dc1cca6c [textmate] match all while patterns in a current state (IDEA-288055)
GitOrigin-RevId: 3ff295c08ffec45b5b8a6708079e99d3184b391f
2024-04-15 22:53:33 +00:00
Alexander Zolotov
c7e70e23e8 [textmate] fix matching end pattern, "beginCaptures" shouldn't affect end-matching (FL-25593)
GitOrigin-RevId: 4571ac1313868202e705d72c74c3f58b5c274a94
2024-04-15 18:14:52 +00:00
Alexander Zolotov
4d7c437869 [textmate] migrate to kotlin-serialization
GitOrigin-RevId: 5ca2205621e659a873851d0407c93ecca5046dca
2024-04-07 18:47:52 +00:00
Alexander Zolotov
9d07acce13 [textmate] convert java to kotlin
GitOrigin-RevId: 32ab284c735f2b853467e2e82619e43abd9e9b93
2024-04-07 18:47:44 +00:00
Alexander Zolotov
440fc16dd4 Rename .java to .kt
GitOrigin-RevId: 278bf9d1891b56e983a0ab8264114b7d5a45c3e3
2024-04-07 18:47:41 +00:00
Alexander Zolotov
98556f9d25 [textmate] get rid of jackson.kotlin.module
- the library doesn't work well with JPMS as it accesses internal package of kotlin-reflect

GitOrigin-RevId: 534fdaed6e47664c4ff9f103b69ab3bc9f53a142
2024-04-07 18:47:36 +00:00
Dennis Ushakov
5ce4682bc5 [textmate] update textmate bundles
GitOrigin-RevId: fcfc0496d3c8ae80e889d74aa6f232790dfdaaca
2024-04-05 20:04:35 +00:00
Vladimir Krivosheev
79eeafb4c7 Reapply "IJPL-846 VSCBundleReader - pre-create immutable object reader (well, kotlinx serialization should be used instead, but it is another task)"
This reverts commit d3f0e35d6b0f1ec1b89f8a59f7a260a726dc6972.

GitOrigin-RevId: ac4b70e83c413f8c2c5bca991495fb33858c1a57
2024-03-22 07:12:58 +01:00
Vladimir Krivosheev
7d9f229367 Reapply "IJPL-846 convert TextMateServiceImpl to modern language (to fix perf issue) (part 2)"
This reverts commit 464454684327cedef7a4c5a3a8fa6ea7eb294f1e.

GitOrigin-RevId: 1286be22bf60c623af545926072630e73670d8cf
2024-03-22 07:11:25 +01:00
Vladimir Krivosheev
41b29dfc14 Reapply "IJPL-846 convert TextMateServiceImpl to modern language (to fix perf issue)"
This reverts commit 1c96b3def78a90f6a20ba992d06fc7f0272c6f50.

GitOrigin-RevId: 11829958dbec30a34d16ed5279e48206fd27ceb9
2024-03-22 07:08:02 +01:00
Vladimir Krivosheev
6e54ee0ce1 Reapply "IJPL-846 Rename .java to .kt"
This reverts commit 5e10b58195dcfcf8f80e722ae39c492271c39620.

GitOrigin-RevId: 745b772b066109376e9310f5aee00ce1ee7c71d7
2024-03-22 07:08:00 +01:00
Vladimir Krivosheev
d5e6e71cab Revert "IJPL-846 Rename .java to .kt"
This reverts commit 1329bb08a91057c2db991180b3dd89e235db3e9b.

GitOrigin-RevId: 5e10b58195dcfcf8f80e722ae39c492271c39620
2024-03-21 21:25:29 +00:00
Vladimir Krivosheev
eef2998d34 Revert "IJPL-846 convert TextMateServiceImpl to modern language (to fix perf issue)"
This reverts commit e283f03c3207fc543e365e389cb0b4ccca0f2f7c.

GitOrigin-RevId: 1c96b3def78a90f6a20ba992d06fc7f0272c6f50
2024-03-21 21:25:24 +00:00
Vladimir Krivosheev
2522cffd2b Revert "IJPL-846 convert TextMateServiceImpl to modern language (to fix perf issue) (part 2)"
This reverts commit 5956982a96b01025d243a6813bc5898a06c1ec5a.

GitOrigin-RevId: 464454684327cedef7a4c5a3a8fa6ea7eb294f1e
2024-03-21 21:25:19 +00:00
Vladimir Krivosheev
e02c4cd3e6 Revert "IJPL-846 refactor (cannot get rid of awaitWithCheckCanceled yet)"
This reverts commit 2815ddb2bd068aeb765f12d6791fce22a6c1b4c5.

GitOrigin-RevId: 8c0e45657a7bdc99988c8761a3d000d253d051d7
2024-03-21 21:25:14 +00:00
Vladimir Krivosheev
d0b79f4252 Revert "IJPL-846 VSCBundleReader - pre-create immutable object reader (well, kotlinx serialization should be used instead, but it is another task)"
This reverts commit ae9e10d1456fc47a1166f3bc5615b94029582d73.

GitOrigin-RevId: d3f0e35d6b0f1ec1b89f8a59f7a260a726dc6972
2024-03-21 21:25:09 +00:00
Vladimir Krivosheev
543f3071f8 Revert "IJPL-846 cleanup"
This reverts commit 91f9459a007458f23060f97dece2121fdb3b7062.

GitOrigin-RevId: 003f4d8b6cfb4778f948ef388c0ec932fbd6e9b1
2024-03-21 21:25:04 +00:00
Vladimir Krivosheev
109ce23448 Revert "IJPL-846 customHighlightingColors - immutable"
This reverts commit b000076635ff7eeef073b4c0d5345281a628ebcf.

GitOrigin-RevId: 781dd05a036d6d3d283d6d4746afd5dfeb98c097
2024-03-21 21:24:59 +00:00
Vladimir Krivosheev
2e82018906 Revert "IJPL-846 compactMap - use fastutil map"
This reverts commit a7c188dd9bf612d1bcce6f316c663280cc13ba5b.

GitOrigin-RevId: 6b61dc6496d4f23fa88fb518507beaa6ce2bbeff
2024-03-21 21:24:54 +00:00
Vladimir Krivosheev
8e50f2d1a9 Revert "IJPL-846 TextMateServiceImpl - don't use StringUtil in kotlin"
This reverts commit 713b5b4b8e7ddcf909ee95bfa079725de345a37f.

GitOrigin-RevId: 56e83f64bdca53c25d3a3a802d307b3a1cf13add
2024-03-21 21:24:48 +00:00
Vladimir Krivosheev
0990425036 Revert "IJPL-846 move registerBundlesInParallel to service to avoid exposing private API (as we can use kotlin now)"
This reverts commit 13c5e8048e7b13abdd785e4f737b8e5d0df846cb.

GitOrigin-RevId: 1f4f7543307eea2357f46cbec2ffc36690852775
2024-03-21 21:24:43 +00:00
Vladimir Krivosheev
a8eda9572d Revert "IJPL-846 execute discoverBuiltinBundles under Dispatchers.IO"
This reverts commit c91bb50ae15cad7070fb1afee330a25c11aec1ca.

GitOrigin-RevId: 5af892832fa841cc4dfc51f0f57babccecb3746e
2024-03-21 21:24:38 +00:00
Vladimir Krivosheev
607fdf5f8e Revert "IJPL-846 cleanup (move getPluginBundles to TextMateServiceImpl where we can use kotlin now)"
This reverts commit 15972bb0070e046a683c3a0782cbb71ef9cde2f8.

GitOrigin-RevId: 9f0b10ee08d7782b646c40ac5e6ee779dbe71aed
2024-03-21 21:24:28 +00:00
Vladimir Krivosheev
0526275a2c Revert "IJPL-846 don't use impl FileTypeManagerImpl, use Ex interface instead"
This reverts commit 32991be9ded43ca957a25db16dd571bc63775a53.

GitOrigin-RevId: fc19580695adeff5b07d1111054ee61f556012c3
2024-03-21 21:24:23 +00:00
Vladimir Krivosheev
6273ab3632 Revert "IJPL-846 TextMateServiceImpl - init state as immutable snapshot (so, we do not cancel the init job and reuse it's result later, if caller is not interested anymore)"
This reverts commit ea6b0793c236afe76a8e51f845ef2521e4533dbf.

GitOrigin-RevId: 25e1fd37d154a2ecdf2432f5d8ac2c233814acaa
2024-03-21 21:24:13 +00:00
Vladimir Krivosheev
e358e1329e IJPL-846 TextMateServiceImpl - init state as immutable snapshot (so, we do not cancel the init job and reuse it's result later, if caller is not interested anymore)
GitOrigin-RevId: ea6b0793c236afe76a8e51f845ef2521e4533dbf
2024-03-21 15:37:02 +00:00
Vladimir Krivosheev
01f00a1904 IJPL-846 don't use impl FileTypeManagerImpl, use Ex interface instead
GitOrigin-RevId: 32991be9ded43ca957a25db16dd571bc63775a53
2024-03-21 15:36:52 +00:00
Vladimir Krivosheev
0e290f22e4 IJPL-846 cleanup (move getPluginBundles to TextMateServiceImpl where we can use kotlin now)
GitOrigin-RevId: 15972bb0070e046a683c3a0782cbb71ef9cde2f8
2024-03-21 15:36:47 +00:00
Vladimir Krivosheev
f792216ebb IJPL-846 execute discoverBuiltinBundles under Dispatchers.IO
GitOrigin-RevId: c91bb50ae15cad7070fb1afee330a25c11aec1ca
2024-03-21 15:36:27 +00:00
Vladimir Krivosheev
0303785cc6 IJPL-846 move registerBundlesInParallel to service to avoid exposing private API (as we can use kotlin now)
GitOrigin-RevId: 13c5e8048e7b13abdd785e4f737b8e5d0df846cb
2024-03-21 15:36:22 +00:00
Vladimir Krivosheev
a494c47b62 IJPL-846 TextMateServiceImpl - don't use StringUtil in kotlin
GitOrigin-RevId: 713b5b4b8e7ddcf909ee95bfa079725de345a37f
2024-03-21 15:36:16 +00:00
Vladimir Krivosheev
eb905a3dad IJPL-846 compactMap - use fastutil map
GitOrigin-RevId: a7c188dd9bf612d1bcce6f316c663280cc13ba5b
2024-03-21 15:36:11 +00:00
Vladimir Krivosheev
d6ca47aeaa IJPL-846 customHighlightingColors - immutable
GitOrigin-RevId: b000076635ff7eeef073b4c0d5345281a628ebcf
2024-03-21 15:36:06 +00:00
Vladimir Krivosheev
222e5fcba0 IJPL-846 cleanup
GitOrigin-RevId: 91f9459a007458f23060f97dece2121fdb3b7062
2024-03-21 15:36:01 +00:00
Vladimir Krivosheev
b48e5c5f57 IJPL-846 VSCBundleReader - pre-create immutable object reader (well, kotlinx serialization should be used instead, but it is another task)
GitOrigin-RevId: ae9e10d1456fc47a1166f3bc5615b94029582d73
2024-03-21 15:35:56 +00:00
Vladimir Krivosheev
45212a2b0c IJPL-846 refactor (cannot get rid of awaitWithCheckCanceled yet)
GitOrigin-RevId: 2815ddb2bd068aeb765f12d6791fce22a6c1b4c5
2024-03-21 15:35:51 +00:00
Vladimir Krivosheev
b646157f6d IJPL-846 convert TextMateServiceImpl to modern language (to fix perf issue) (part 2)
GitOrigin-RevId: 5956982a96b01025d243a6813bc5898a06c1ec5a
2024-03-21 15:35:46 +00:00
Vladimir Krivosheev
f2554357cc IJPL-846 convert TextMateServiceImpl to modern language (to fix perf issue)
GitOrigin-RevId: e283f03c3207fc543e365e389cb0b4ccca0f2f7c
2024-03-21 15:35:41 +00:00
Vladimir Krivosheev
46b9e5f704 IJPL-846 Rename .java to .kt
GitOrigin-RevId: 1329bb08a91057c2db991180b3dd89e235db3e9b
2024-03-21 15:35:37 +00:00
Alexander Zolotov
d087ecdbb3 [textmate] caffeine do not use FJP
GitOrigin-RevId: b96036365a2ca832c3a2e07eb95d1cb524c45917
2024-03-18 15:14:51 +00:00
Vladimir Krivosheev
9002cf5f3c Refactor method call in TextMateServiceImpl
The changes involve the method 'disableBuiltinBundles' inside 'TextMateServiceImpl'. The direct call to the method 'reloadEnabledBundles()' replaces the previous, unnecessary use of 'TextMateService.getInstance().reloadEnabledBundles()'. This refactoring yields cleaner, more readable code.

GitOrigin-RevId: ed670cf20a3537260cefc5d7c392dd451dd3bf8e
2024-03-16 17:22:20 +00:00
Vladimir Krivosheev
89b5fc43ec TextMate - do not use blockingDispatcher, it should not be used here
GitOrigin-RevId: 2cf2905e8279ea478c81f6abd59aca850b37eb0a
2024-03-16 17:22:14 +00:00
Vladimir Krivosheev
39d62377c7 VSCBundleReader - don't expose internal impl, use JvmField
GitOrigin-RevId: 58e8c92bb4841d4ea794630a3a555b4319ab653a
2024-03-16 17:21:59 +00:00
Vladimir Krivosheev
f0d9f28372 caffeine - don't use FJP
GitOrigin-RevId: 263ba2f88f42065e0d9d5c9efd94d8a1ca922398
2024-03-15 20:16:36 +00:00
Ivan Shakhov
d36ba38c7c fix-textmate-RIDER-106884-DEXP-783167
GitOrigin-RevId: cc8d56ac097fea0be4e6ee56a30d4ed464efa451
2024-03-12 19:30:54 +00:00
Dennis Ushakov
3e3770bdd7 [textmate] update bundles
GitOrigin-RevId: 9e104735b8edf8359438a15522d34b95cefcb8be
2024-03-12 17:40:13 +00:00
Ivan Shakhov
f3d4d9cd03 LSP completion is more precise than Textmate, raising priority doesn't help, because LPS is slow, this change helps to prioritise LSP, when it is availbale - make TextMateCompletionContributor last, make LspCompletionContributor before TextMateCompletionContributor
GitOrigin-RevId: 91ab60f43793732a87c24457eb7609669cfde207
2024-03-12 12:54:03 +01:00
Dennis Ushakov
d34a1c43cc [textmate] produce separate scopes for scopes with spaces
GitOrigin-RevId: 7eda1b9b92c97249e643c1b54fa4bf5dc5c22ccd
2024-03-08 18:48:20 +00:00
Ivan Shakhov
50cd8fe3b2 fix DEXP-783167
GitOrigin-RevId: b82cdf13bc5a34dcf0fc880118fb2b1cdcb45618
2024-03-08 16:43:08 +00:00