1174 Commits

Author SHA1 Message Date
Dmitry Lyubin
f18582be83 OPENIDE added extra words to the english spellchecker
(cherry picked from commit e9db893d00ff8fce228db0b9395a4c2457f7199c)
(cherry picked from commit 5906e2d917)
2025-10-08 11:02:20 +04:00
Piotr Tomiak
503842f66d [svg] WEB-69508 Disable spell checking for data urls
(cherry picked from commit a00437b815b6094ad6f2cdf7f6c3af2478e565a2)

IJ-CR-175447

GitOrigin-RevId: 935f2544181333631de6859e2b93fd811ea441a7
2025-09-21 18:12:37 +00:00
Ilia Permiashkin
d9d1d93e69 IJPL-199764 Performance improvements for spellchecking with diacritics
Merge-request: IJ-MR-172637
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: ee95020c702b3d51fffadd340403025ce8464385
2025-08-20 10:22:51 +00:00
Ilia Permiashkin
fd075ea309 IJPL-198476 Performance regression in spellcheck inspections
Merge-request: IJ-MR-170756
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>


Merge-request: IJ-MR-170896
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: 5b03c5ba4354ee4733447bf95ee6554592f0e79b
2025-07-31 11:12:57 +00:00
Ilia Permiashkin
855a0f5dda IJPL-198476 Performance regression in spellcheck inspections
IJPL-33250 Refactor Dictionary#contains to return a enum instead of Boolean?


Merge-request: IJ-MR-170518
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: b8cd085ba5c070dc362de1d6426420e384f70741
2025-07-28 11:52:44 +00:00
Ilia Permiashkin
9691103606 IJPL-192496 Collect more detailed acceptance rate statistics for spellchecker quick fixes
GitOrigin-RevId: e6d034530d43b5a0a38c5ec19c181a914afeb9fc
2025-07-18 17:06:27 +00:00
Ilia Permiashkin
3d3fc36993 IJPL-33177 Custom dictionary is not loaded.
GitOrigin-RevId: 8983cd7d6f46d3d9f63c4a7ea65d7535712333cb
2025-07-09 11:04:40 +00:00
Ilia Permiashkin
3ea18d8e26 IJPL-149631 German diacritics alternatives are not recognized, remove the spellchecking suggestion limit
IJPL-33189 Spellcheck should ignore missing accents in object names, functions, etc.
IJPL-33193 Spellcheck should accommodate for umlauts

GitOrigin-RevId: d01528acd4c0682ad26ee341d2908aa05177232a
2025-07-09 10:56:35 +00:00
Ilia Permiashkin
c558318dc3 IJPL-194260 Umlauts in code names cause spellchecker false positive
Merge-request: IJ-MR-167565
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: dbb41ccd08cd2c2896d19d7e6c661b10c85e87e6
2025-07-01 15:18:55 +00:00
Ilia Permiashkin
35062d25e4 IJPL-192715 Incorrectly spelled words are considered aliens even though they're not
Merge-request: IJ-MR-167371
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: 0ed8649c3df9d9c2e71159ec74399550a036c6ae
2025-06-30 16:26:41 +00:00
Ilia Permiashkin
63f4025948 IJPL-33218 UI freeze 11 sec in com.intellij.spellchecker.dictionary.UserDictionary.addToDictionary
Merge-request: IJ-MR-167377
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: 9a79000ba3802ab6c5aac4e3069a7fc36fec2ed5
2025-06-30 15:46:41 +00:00
Ilia Permiashkin
f64d9d3e0d [spellchecker] IJPL-35111 Unable to select a dictionary with no .dic extension
Merge-request: IJ-MR-167000
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: f46a369fdd16ca3588dcdac1d68ecc57fdb122fd
2025-06-27 22:43:37 +00:00
Ilia Permiashkin
13e74e6862 IJPL-177881 "Fix typo" in a key in .properties file should invoke "Rename" refactoring instead of just fixing the typo
Merge-request: IJ-MR-166998
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: 2dd0def508db09aa5fad66c294de719c6f2f306b
2025-06-26 21:52:14 +00:00
Ilia Permiashkin
1625bc3b08 IJPL-36149 Spell-checker treats HTML text as code
Co-authored-by: Peter Gromov <peter.gromov@jetbrains.com>

Merge-request: IJ-MR-164808
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>
(cherry picked from commit 3515defd096aaf041b719fff47c7a18d539f93c4)

GitOrigin-RevId: c4ce65568e8d28873e10add0fb4f13b62db8e548
2025-06-26 12:47:19 +00:00
Nikolay Chashnikov
d0cc4e9bfd [spellchecker] cleanup: remove unused dependencies from intellij.spellchecker to XML modules
These dependencies aren't used in code, and they shouldn't there since intellij.spellchecker.xml was extracted to a separate module. Also, this change is needed to avoid failures in JetBrainsGatewayIdeStructureTest after 'intellij.spellchecker' is added to Gateway (to fix AT-2832).

Explicit dependency on intellij.platform.backend is added to ensure that the module isn't included in the frontend process (before dependency on intellij.platform.backend came as transitive).


(cherry picked from commit 75e55fda55205b8cc10ff08b93a7b2af1aefee43)

IJ-CR-166031

GitOrigin-RevId: f378c3348f97299aa55287f75dc5b46903ee67d7
2025-06-18 09:37:02 +00:00
Ilia Permiashkin
fb28b93375 IJPL-191662 Fix intellij.spellchecker tests
Merge-request: IJ-MR-165732
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: b342341bb3c1976afaa6247cb3612c0f5f2d9c53
2025-06-16 11:32:18 +00:00
Ilia Permiashkin
bfc4a9be16 [spellchecker] IJPL-177881 "Fix typo" in a key in .properties file should invoke "Rename" refactoring instead of just fixing the typo
Merge-request: IJ-MR-165210
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: 9aa1e7d8a4b296936e1994e86268ffdfa64d28ef
2025-06-14 16:24:58 +00:00
Vladimir Krivosheev
b935234c91 IJ-MR-162467 don't export intellij.platform.projectModel
GitOrigin-RevId: 11c0bf5ca0f3a6d892658a2b149d85cace9aa2b8
2025-06-14 13:00:48 +00:00
Vladimir Krivosheev
ef0323d07c IJ-MR-162467 don't export intellij.platform.core
GitOrigin-RevId: 05f350c1c087be1bf9b46d8bdac5345a65f55958
2025-06-13 21:52:48 +00:00
Ilia Permiashkin
1709a47b48 IJPL-189978 Include spellchecker tests in TeamCity Aggregator
GitOrigin-RevId: 689c577786a840f1cc09951cfda5a797a4b5d88b
2025-06-12 21:31:36 +00:00
Ilia Permiashkin
182ffce6d3 [spellchecker] IJPL-190323 Inspections regression after spellchecker changes
Rollback normalization changes before the major release


Merge-request: IJ-MR-165406
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: 7520c49426baef89a6867e1654b7f7eb2cfde3e8
2025-06-12 20:20:06 +00:00
Ilia Permiashkin
580c300752 [spellchecker] IJPL-33258 Don't report spelling issues for words that start with -D, -J, -X and -P
Merge-request: IJ-MR-164743
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: 6ecda195193f6efc49986f19a37ef6b9c98fc658
2025-06-09 23:04:55 +00:00
Ilia Permiashkin
b91c9ab0cb [spellchecker] IJPL-33181 The fstring in the comment is recognized as a typo
GitOrigin-RevId: e131ad867debceca86f5499e6a13214c5877d12f
2025-06-05 18:57:22 +00:00
Vladimir Krivosheev
2d5aaf391b IJ-MR-162467 don't export intellij.xml.psi
GitOrigin-RevId: d4ca928b7dc468451c0047bd35f1f60c1199207a
2025-06-05 14:33:17 +00:00
Vladimir Krivosheev
9024c85d51 don't use deprecated Disposable
GitOrigin-RevId: d7e7ca2012f4412f3eaec552de101f823a719b5c
2025-06-05 13:13:43 +00:00
Konstantin Nisht
b73f3a877e [threading] IJPL-190260: Remove blockingContext #11
GitOrigin-RevId: 99c0948877c986e44cc18310451f13db5f4feaef
2025-06-05 10:59:31 +00:00
Nikolay Chashnikov
cf104126ff [spellchecker] introduce CustomDictionarySettingsListener to get rid of hack in Rider (IJPL-189900)
Before, SpellCheckerSettingsManager extension was replaced by a patched variant in Rider. The new listener allows us to get rid of this hack, making it simpler to extract code related to spellchecker in a separate module in Rider (this is needed to extract intellij.spellchecker to a content module).

GitOrigin-RevId: 38f550b633c5596c41186dab9bff4fc5cc37fb9b
2025-06-04 14:41:40 +00:00
Nikolay Chashnikov
772064c9c3 move 'ai.grazie.spell.gec.engine.local' library to a content module (IJPL-189900)
A new content module 'intellij.libraries.ai.grazie.spell.gec.engine.local' is introduced. It includes 'ai.grazie.spell.gec.engine.local' library and related libraries which needs to be loaded by the same classloader. This is needed to avoid bundling these libraries in several plugins after 'intellij.spellchecker' was converted to a content module and the libraries were removed from the main classloader of the core plugin.

Duplicating artifacts are removed from intellij.grazie.core and intellij.spellchecker modules.

GitOrigin-RevId: 85cff18e75062a659cc97790fb4a55d9109308e9
2025-06-04 14:41:40 +00:00
Nikolay Chashnikov
73048f16b4 move 'lucene-core' and 'lucene-analysis-common' to a content module (IJPL-189900)
A new content module intellij.libraries.lucene.common is introduced. This is needed to avoid bundling these libraries in several plugins after 'intellij.spellchecker' was converted to a content module and the libraries were removed from the main classloader of the core plugin.

GitOrigin-RevId: f7104c8341df147156eb3b0cdfe55128c6537273
2025-06-04 14:41:40 +00:00
Nikolay Chashnikov
c037841853 [spellchecker] convert intellij.spellchecker to a content module (IJPL-189900)
This is needed to have an explicit dependency on the backend in it (IJPL-188916), and also to convert XML modules it depend on in content modules as well.

The new module is registered in common-ide-modules.xml to include it in all IntelliJ-based IDEs as before.

A plugin alias 'com.intellij.modules.spellchecker' is introduced to allow adding dependency on the new module without using a v2 'dependencies' tag. Existing plugins which depend on intellij.spellchecker are updated to have an explicit dependency. The change shouldn't affect external plugins which use classes from 'intellij.spellchecker' because the new module will be automatically added to their dependencies.

'lucene' and 'ai.grazie.spell.gec.engine.local' libraries which were included in the main classloader of the core plugin before due to this module are temporary included in distribution of intellij.ml.llm, intellij.grazie and intellij.searchEverywhereMl plugins. This will be fixed by converting these libraries to content module in next commits.

GitOrigin-RevId: aa746fea2f6fd044cf0eaabd6589fce89133eee9
2025-06-04 14:41:40 +00:00
Vladimir Krivosheev
65fe061584 IJ-MR-162467 don't export intellij.platform.analysis
GitOrigin-RevId: fcbcb68010b58cb507fee2c47473758b999e471b
2025-06-04 11:16:33 +00:00
Semyon Proshev
fa73966ef4 Update code engine dependencies in IJ to 1.0.0-beta.65+0.4.65
GitOrigin-RevId: 6f06a7a9ef90773f5e7bc97fd4e1fb3258d1bbe1
2025-06-03 16:37:05 +00:00
Ilia Permiashkin
ae21dfa507 IJPL-33113 False-positive typo check on English-Korean mixed text
Merge-request: IJ-MR-164690
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: 9f8e6382c4213f29aa2d3da9f30e9ce97211b101
2025-06-03 09:52:04 +00:00
Nikolay Chashnikov
6a2e1a6f8b [spellchecker] extract intellij.spellchecker.xml content module (IJPL-189900)
Classes from com.intellij.spellchecker.xml were located in intellij.xml.impl module (which is loaded by the main classloader of the core plugin) and they depend on classes from intellij.spellchecker. So it is necessary to extract them to a content module to convert 'intellij.spellchecker' to a content module.

GitOrigin-RevId: b3b87d940f00fc2835bdb3d9ffb841489b834430
2025-06-02 18:16:11 +00:00
Ilia Permiashkin
d4b41b204e [spellchecker] IJPL-189677 Don't highlight words that refer to symbols available in the project
Merge-request: IJ-MR-164340
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: af00510e98634fd0e2182deb1101f5e7bf550051
2025-06-02 14:55:50 +00:00
Ilia Permiashkin
b5047a111d [spellchecker] IJPL-89615 & IJPL-149631 Remove accentuation check and support german dialect
Merge-request: IJ-MR-164457
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: a0eb195ed3cd2fd0cf1bdf0823890fcac5b88e22
2025-05-31 16:02:51 +00:00
Oleg Taratukhin
10d150bbe4 [ai-completion] LLM-17104 update grazie platform and code engine dependencies
* update version of grazie libs in community

GitOrigin-RevId: c68635a699b8d081f83ee20726384240f91ff0be
2025-05-26 16:00:59 +00:00
Vladimir Krivosheev
5c7824a820 ui designer compilation - part1 - allow .form as input
GitOrigin-RevId: 5ab44530cdafe63de7f0595fe9c6ba80ab9da174
2025-05-17 19:35:32 +00:00
Alexey Kudravtsev
6d1f55f160 cleanup: rename file to psiFile to distinguish from VirtualFile
GitOrigin-RevId: e718eac8ba2d2177787ae941d8525b3c154d10fc
2025-05-16 02:54:06 +00:00
Ilia Permiashkin
44459d9cbc update grazie-dictionaries in spellchecker
Merge-request: IJ-MR-162763
Merged-by: Ilia Permiashkin <ilia.permiashkin@jetbrains.com>

GitOrigin-RevId: c6fc26f35d700299348aae9b7ce74516c804bb9f
2025-05-14 08:48:15 +00:00
Vladimir Krivosheev
ed836057fa IJPL-149126 fix method visibility (part 2)
GitOrigin-RevId: f869a815e690ce721e014ee2bdf8ec607d1648ba
2025-05-12 11:02:44 +00:00
Vladimir Krivosheev
7cf9ef2b29 update bazel files
GitOrigin-RevId: e78f86bd17affd7892fd1af8e157f033906b1865
2025-05-09 15:36:06 +00:00
Vladimir Krivosheev
644a6b2e81 IJ-MR-162467 don't export intellij.platform.editor.ui
GitOrigin-RevId: 8894abe16fb347de7649bfb2d7888b6e6fe0232c
2025-05-09 14:20:40 +00:00
Semyon Proshev
9e4b383482 Update code engine dependencies in IJ to 1.0.0-beta.57+0.4.49
GitOrigin-RevId: 72be878e243929caaad4f26f8f75dca6e0a8a653
2025-05-09 01:22:11 +00:00
Piotr Tomiak
874b64c36f [core] WEB-72084 Migrate inspections to use new InjectedLanguageManager API.
GitOrigin-RevId: 7d69c938b84f5f77df3d881a2f3d3e4adba0202f
2025-04-23 10:53:44 +00:00
Yuriy Artamonov
0618204a6d [spelling] IJPL-184560 Spellchecker: consider parts of project name as valid words
GitOrigin-RevId: c758f002dfbf7b8227233c199de479c110f516d6
2025-04-18 21:46:04 +00:00
Yuriy Artamonov
ced3ae6cd3 [spelling] Nullability annotations for Tokenizer and Splitter APIs
GitOrigin-RevId: cab36ef200a7a979aafd9446f347c0a8bb1575e8
2025-03-23 14:27:00 +00:00
Yuriy Artamonov
fa26329b2b [spelling] Reformat code in SpellCheckingInspection
GitOrigin-RevId: dd0e5170c8d417fd549350707d2137deaba403a1
2025-03-23 14:27:00 +00:00
Yuriy Artamonov
727376811c [spelling] IJPL-156759 Don't show typos for IntelliJ options
GitOrigin-RevId: c6315588b9a4a80bb245a1597b1fdb54ed6a1531
2025-03-23 14:27:00 +00:00
Yuriy Artamonov
c5fd3e9317 Revert: [grazie] IJPL-169510 Postpone speller preloading a bit via backgroundPostStartupActivity
It seems to worsen the situation with early freezes on IDE start, we still need preloading service

GitOrigin-RevId: 4364dfac265f9d84f1aa268af2c2e13a0b9dcce0
2025-03-18 23:32:26 +00:00