Commit Graph

1557 Commits

Author SHA1 Message Date
Gregory.Shrago
9d13bc9cee fix NPE in ResourceBundleEditorFileListener
(cherry picked from commit cc0aee0dc985ea805a642e49cf41111089c2eb3a)

IJ-CR-147430

GitOrigin-RevId: d63b869bfdbbb9c2c2475742ace0f73bb571fe90
2024-10-22 20:44:41 +00:00
Alexey Kudravtsev
6bea9cfe04 optimization: do not iterate all range markers in the document, use the visible area only (part of IJPL-162151 Scrolling is slow)
GitOrigin-RevId: e0fbaf8757364a3ad0e823facee0def50cd7f49c
2024-10-14 15:40:08 +00:00
Andrei Iurko
4111cfc875 [qodana] QD-9891 Add aspects with the highest certainty for inspections
GitOrigin-RevId: 8fad66714287192bd5cbc8396a3d30f1ba139302
2024-10-11 14:49:57 +00:00
Aleksey Dobrynin
338475c607 [properties] add UTF-8 to ISO-8859-1 fallback for properties files IDEA-360433
GitOrigin-RevId: f93174e21b407022c5a9f356c220aa3ac443a0b0
2024-10-10 19:10:12 +00:00
Ilya Kirillov
0fa8750fb8 Revert "optimization: do not iterate all range markers in the document, use the visible area only (part of IJPL-162151 Scrolling is slow)"
This reverts commit 4353aab31f4af5e3c50662669f94b823b01d3031.

- It causes a deadlock in kotlin tests: IJPL-163726
- It breaks some remote dev and code with me tests: IJPL-163871

IJPL-162151

GitOrigin-RevId: d0764a892d03104c58f8601cfbea7b35a95c71fb
2024-10-10 16:11:03 +00:00
Aleksey Dobrynin
9aac209c72 [properties, inspection, fix] non-ISO 8859-1 characters for java 1.8 and below IDEA-360007
GitOrigin-RevId: 7a45cac5966b251a5db6759c16f3709392c5a3fc
2024-10-09 10:36:06 +00:00
Alexey Kudravtsev
5a4227cc44 optimization: do not iterate all range markers in the document, use the visible area only (part of IJPL-162151 Scrolling is slow)
GitOrigin-RevId: 4353aab31f4af5e3c50662669f94b823b01d3031
2024-10-04 16:07:04 +00:00
Aleksey Dobrynin
02e0241f7b [properties] set default encoding for properties files to UTF-8 instead of ISO 8859-1 IDEA-301047
GitOrigin-RevId: eee83a314347556ea1b7437f9bee30f71cf155f0
2024-10-01 14:55:29 +00:00
Georgii Ustinov
4ac8bdce97 [Java. Properties files] Try to make PropertiesAnnotator DumbAware
IDEA-356017

GitOrigin-RevId: 063a0e04e5c844f45d1871458f2b98d925f17c28
2024-09-18 15:05:01 +00:00
Mathias Boulay
e05667345c fix(javadoc): Missing character on new lines within snippets
#IDEA-358874 Fixed

GitOrigin-RevId: e03874f588e31c106d3a25518c05e0850b3fcd24
2024-09-17 16:28:17 +00:00
Tagir Valeev
62a31e3312 [i18n] Fix 'Add property' dialog with predefined property files
Fixes IDEA-357662 Create Property intention for missing property key doesn't allow to select the local resource bundle

GitOrigin-RevId: d27d7a7bf4b18f2b78b008b079307fa47bccecf4
2024-09-09 18:28:10 +00:00
Alexey Kudravtsev
bc0ed54e20 notnull
GitOrigin-RevId: 6bff4f44575e9aedc8671b8373181549570f9a78
2024-08-28 17:06:48 +00:00
Alexey Kudravtsev
1a6a0ee627 cleanup
GitOrigin-RevId: 740ad47daa4cc012c9c79960f8726a5aa8db2b07
2024-08-13 15:05:28 +00:00
Gregory.Shrago
342245ef74 migrate TreeStructureProvider to uiDataSnapshot
GitOrigin-RevId: 250632e2302977608c45a84079191519fa024b6d
2024-08-12 15:00:58 +00:00
Max Medvedev
c795cec244 IJPL-155874 Make most of the spellchecking strategies dumb aware
If you see any problems with your spellchecking strategy, please feel free to remove DumbAware from it. Or, you can make it dumb-aware by avoiding using indexes in dumb mode

The only strategies that are not DumbAware at the moment are:
- JavaSpellcheckingStrategy
- JSSpellCheckingStrategy

GitOrigin-RevId: 74781cf1ebd9b58669396bf7b1c03a839019f12b
2024-08-09 20:25:06 +00:00
Gregory.Shrago
c96ded4cdc migrate getData to uiDataSnapshot: plugins
GitOrigin-RevId: ce5459169f986f82b4a1bc6241d028ce3027fb7c
2024-08-02 01:17:08 +00:00
Yuriy Artamonov
4dac328bf4 [i18n] IJPL-158521 Fix more ellipsis problems in plugins
GitOrigin-RevId: 981393c6f975e303847ca598b650fec8fe65d9bf
2024-07-30 16:35:51 +00:00
Vladimir Krivosheev
398ebce1d5 split content report
GitOrigin-RevId: ef449bdf4c5480a6ee3ce43b4af118c2c6e31219
2024-07-25 19:20:06 +00:00
Nikita Kudrin
cdf91bf213 [benchmarks] Renaming PerformanceTest* => Benchmark*
GitOrigin-RevId: 9963b84d51e1062acc262a8d3d3de1409a708e3b
2024-07-23 18:20:01 +00:00
Vladimir Krivosheev
3f9298f12d IJPL-158385 check cancelled for each task, prepare to provide API to be able to use modern non-blocking API in client's task implementation
GitOrigin-RevId: b14148a2d3fc7ca479b53ecfb2a785fcb8c93f21
2024-07-21 22:18:56 +00:00
Vladimir Krivosheev
328ef086c1 IJPL-158385 refactor ResourceBundleEditorFileListener
GitOrigin-RevId: 2e42b24621c9365241e522b77646ba8b28ef69a1
2024-07-21 22:18:56 +00:00
Vladimir Krivosheev
69ffdcf4ce Rename .java to .kt
IJPL-158385

GitOrigin-RevId: 77b3f3e7c5ee93bb961be239e0a2ac15f1670314
2024-07-21 22:18:56 +00:00
Gregory.Shrago
69cb70983f migrate to DataSink.lazy
GitOrigin-RevId: 30402500d00996ce83f7f46ff5763c5b5442275b
2024-06-28 17:20:20 +00:00
Gregory.Shrago
ea67bc1ceb migrate getData to uiDataSnapshot: other
GitOrigin-RevId: 41dbf0923e201f2b8aae9ccec6368cd27a071db3
2024-06-26 02:39:39 +00:00
Tagir Valeev
b1d6d4ff38 [properties] Replace stream with loop. The stream was misused for side-effects
GitOrigin-RevId: 27013e3387dc4986d937cfc28fcfbf8daacf4c0b
2024-06-21 10:39:48 +00:00
Alexandr Trushev
1e4e505e16 IJPL-797 intellij.platform.editor review internal API
GitOrigin-RevId: 514591f43e57749b752d8399d08b2cfd79fb34ea
2024-06-17 22:06:02 +00:00
Maxim.Kolmakov
71168cb8a9 IJ-CR-135039 Replace usages of PlatformTestUtil.newPerformanceTest with PerformanceTestUtil.newPerformanceTest
GitOrigin-RevId: 4edcfadc23f7305d68b8c08cd6ae634ee4869a2e
2024-06-03 10:14:22 +00:00
Sergei Tachenov
ca8ec2cb53 IJPL-150383 Fix getCacheableFile() slow op for ResourceBundleNode
Implement getDefaultVirtualFile() in ResourceBundleImpl
to retrieve the virtual file without resolving the PSI pointer.

Unfortunately, can't do the same for CustomResourceBundle,
as it's not based on smart pointers, so we have to return
null for those. Such bundles correspond to several
files anyway, so there seems to be no reliable way to just
cache a single file name.

GitOrigin-RevId: 969a424df5cf55289e06016502c94569e05e0232
2024-05-27 17:23:12 +00:00
Vladimir Krivosheev
34608d1862 IJPL-149028 don't use commons-codec (part 2)
GitOrigin-RevId: ca5d9f7599c3dd499317bfa7ae11b358db5ee695
2024-05-01 01:12:36 +00:00
Sergei Tachenov
b161ebfdda IJPL-1002 Make "External Libraries" never-leaf
The default is to load all its children just to check whether it's a leaf.
This slows down Project View loading for no good reason,
especially if the node is never expanded.

The only downside of a never-leaf node is that it'll always show
an expand control, even if there are no actual children.
Which is a very small trade-off that only affects very exotic cases.

GitOrigin-RevId: 39a0924475dc5e63f02f8ab548601b66e115deeb
2024-04-30 10:32:56 +00:00
Alexey Kudravtsev
ddf9b3da94 assertion: Language constructor must be non-public to avoid creating Language duplicates + test
GitOrigin-RevId: eb6954f444bf64bbc1d47b419af5e4db6fadf07e
2024-04-24 14:06:20 +00:00
Mikhail Pyltsin
582c1c03e9 Pattern variable can be used mass cleanup
GitOrigin-RevId: 2cf24395e268af841e621531336548a865f5b339
2024-04-18 14:03:54 +00:00
Piotr Tomiak
3a14f22bc7 WEB-64707 Flaky test com.intellij.tests.BootstrapTests: org.angular2.codeInsight.Angular2HighlightingTest.testTrUnderTemplate
GitOrigin-RevId: a46fed4f6d7e64a89e44cca76bd09c6c117b0abe
2024-04-17 16:21:14 +00:00
Vladimir Krivosheev
b9b606a86e IJPL-148249 properties-copyright.xml - use plugin model V2
GitOrigin-RevId: 8941d9a11d7b07dbd51ef3f3402e27b542e24248
2024-04-15 19:06:31 +00:00
Vladimir Krivosheev
1b49ab879c IJPL-148249 remove deprecated ImplicitPropertyUsageProvider - remove custom workaround in ClassLoaderConfigurator
GitOrigin-RevId: 0b9be3f282c0ff18ff4f91789798d489b6d2152a
2024-04-15 19:06:27 +00:00
Tagir Valeev
5428775b85 [indexing] Remove progress indicator from PsiSearchHelper.isCheapEnoughToSearch and at use sites
Was unused

GitOrigin-RevId: 98f5e2b1f48f54fc15d54cbbf73ff549f96fca6a
2024-03-20 14:28:13 +00:00
Tagir Valeev
f92e881991 [java] Cosmetic
GitOrigin-RevId: 2cc1ebea54542a2509bce6ee81175ccf77f47c93
2024-02-15 13:23:26 +00:00
Nikita Kudrin
3dce2dce2f [unit perf tests] AT-644 Renaming
GitOrigin-RevId: 464b77181de9f1e0cc6de2623201635c405ee4c3
2024-02-08 11:21:41 +00:00
Nikita Kudrin
b143fe1540 [unit perf tests] AT-644 Removed expected time from the tests
GitOrigin-RevId: a53f40c1721a46c7833018346dc622dec1f1b80a
2024-02-07 16:11:29 +00:00
Andrey Cherkasov
1a62d88764 Cleanup: use light services
^IDEA-254577

GitOrigin-RevId: 01afb3f2166f8713cd4599f37d43ecf7f4d2944c
2024-01-23 06:03:51 +00:00
Sergei Tachenov
8e2f2df771 EA-474196 Make properties structure view implement TreeBasedStructureViewBuilder
Now BGT code can access the model directly, without creating
the whole GUI (which is a very bad thing to do on a BGT).

GitOrigin-RevId: 68b98d5a60851d7506b9e48ad0ae71e03bb862a0
2024-01-15 18:48:10 +00:00
Konstantin Aleev
da0308f481 [platform] IDEA-342326 provide factory method for char tail type
- ensure that TailType class is loaded before CharTailType class if factory method is used

GitOrigin-RevId: ccfe8d4ae66c9ff6bd9ab0bef9367c4357db1759
2024-01-08 10:52:30 +00:00
Andrey Cherkasov
906a97964a [properties] cleanup
See description of the "Eager creation of action presentation" inspection

^IDEA-315381

GitOrigin-RevId: 7448711a2c98615a3f39000d0facf3c394abfaf1
2023-12-21 09:25:45 +00:00
Anna Kozlova
18dc9f30e8 [copy] enable copy classes/files refactoring in dumb mode
IDEA-180388

GitOrigin-RevId: e3368c25f61561ffaee3ac4d8428a8cd7fe70a5c
2023-12-01 21:53:35 +00:00
Andrey Cherkasov
d34b8c9a1c [properties] ResourceBundleEditorShowQuickFixesAction: cleanup
See description of the "Eager creation of action presentation" inspection

GitOrigin-RevId: b3bda30cc4f007dac7d46a261e6ad7ce44896555
2023-11-14 11:41:43 +00:00
Vladimir Krivosheev
bfec2f0a39 IDEA-337379 specify fileEditorProvider id's for performance reasons, optimize findByIdOrFromInstance
GitOrigin-RevId: c74f2e1e40cddd3285491215b435bdf8e7631adc
2023-11-09 14:29:52 +01:00
Tagir Valeev
31b21e2fe6 [properties] Convert some actions to ModCommands
GitOrigin-RevId: 0a7ec7916aa4f01c01172a20be7c32ff3f2b5320
2023-11-08 09:40:42 +00:00
Yuriy Artamonov
a50492d990 [properties] IDEA-309022 Drop promotion of Resource Bundle Editor plugin
GitOrigin-RevId: 76b81d2176101f7436da104e064f420eaa63d1fc
2023-10-22 15:43:19 +00:00
Vladimir Krivosheev
00a447f728 IJPL-300 Do not use AllIcons class during ActionManager instantiation (part 4)
GitOrigin-RevId: bc28c7925855a4868fe03f2fcc6955d7879cafaa
2023-10-20 20:08:42 +00:00
Tagir Valeev
51854f80b3 "Method can be static" fix massive application
GitOrigin-RevId: ed296b85922a6814d5c6057b5cbc720f0c546e41
2023-10-20 19:12:56 +00:00