From 060315978452edb505c11175cebd321cbd740289 Mon Sep 17 00:00:00 2001 From: Dmitry Lyubin Date: Mon, 24 Mar 2025 18:06:55 +0300 Subject: [PATCH] OPENIDE added extra words to the english spellchecker (cherry picked from commit e9db893d00ff8fce228db0b9395a4c2457f7199c) (cherry picked from commit 5906e2d91748d7f68bd2c06c274b24e4ad5bc7ac) (cherry picked from commit f18582be8320336a6caff3651ded43ce577d9ad6) (cherry picked from commit 8f53c4fe95a158928133ca42b8b81e5efe5a6f71) (cherry picked from commit 5e4a5ecdf84ff48b087f06eace8b67f363b6480e) --- .../com/intellij/spellchecker/openide.dic | 20 +++++++++++++++++ .../DefaultBundledDictionariesProvider.java | 22 +++++-------------- 2 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 spellchecker/resources/com/intellij/spellchecker/openide.dic diff --git a/spellchecker/resources/com/intellij/spellchecker/openide.dic b/spellchecker/resources/com/intellij/spellchecker/openide.dic new file mode 100644 index 000000000000..b5432ddcdd8e --- /dev/null +++ b/spellchecker/resources/com/intellij/spellchecker/openide.dic @@ -0,0 +1,20 @@ +axiomjdk +axiomjdk's +libercat +libercat's +haulmont +haulmont's +amplicode +amplicode's +openide +openide's +astralinux +astralinux's +gitflic +gitflic's +flic +flic's +gitflic +gitflic's +evictable +jmix's \ No newline at end of file diff --git a/spellchecker/src/com/intellij/spellchecker/DefaultBundledDictionariesProvider.java b/spellchecker/src/com/intellij/spellchecker/DefaultBundledDictionariesProvider.java index 0599547d2f6e..ba0f914443f7 100644 --- a/spellchecker/src/com/intellij/spellchecker/DefaultBundledDictionariesProvider.java +++ b/spellchecker/src/com/intellij/spellchecker/DefaultBundledDictionariesProvider.java @@ -1,24 +1,14 @@ -/* - * Copyright 2000-2009 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// +// Modified by Dmitry Lyubin at 2025 as part of the OpenIDE project(https://openide.ru). +// Any modifications are available on the same license terms as the original source code. +// package com.intellij.spellchecker; public class DefaultBundledDictionariesProvider implements BundledDictionaryProvider { @Override public String[] getBundledDictionaries() { - return new String[]{"jetbrains.dic", "names.dic"}; + return new String[]{"jetbrains.dic", "names.dic", "openide.dic"}; } }