Spelling: can I add my own dictionary?

Now only jetbrains.dic and english.dic bundled, but there are still some words absent for spelling check, such as words int groupId and artifactId from the maven repository. I have created the maven_repository.dic, and how to add it to the spell check plugin? Thanks!



Attachment(s):
custom_dic.png
8 comments
Comment actions Permalink

Hello linux_china,

Now only jetbrains.dic and english.dic bundled, but there are still
some words absent for spelling check, such as words int groupId and
artifactId from the maven repository. I have created the
maven_repository.dic, and how to add it to the spell check plugin?
Thanks!


In the next build of IDEA, the plugin will have a complete UI for configuring
custom dictionaries.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

It is great!     I have created a dic file from Maven repository's Nexus lucene index, and now "jdbc", "lucene" are all added to the dic file and are all correct. I think it is very useful for Java developers. If possible, I think this file should be bundled with Spell checker for IU.



Attachment(s):
maven2.dic.zip
0
Comment actions Permalink

how about an ExtensionPoint so plugins could add technology/library-specific keywords?

0
Comment actions Permalink

Thanks for that. The idea of project-specific dictionaries and "accepted words" is spot-on.

0
Comment actions Permalink

Sorry for excavationg this thread but is it possible to include custom .dic file into plugin distribution?

Thanks.

0
Comment actions Permalink

Just provide an EP from com.intellij.spellchecker.BundledDictionaryProvider, see com.intellij.spellchecker.DefaultBundledDictionariesProvider/Struts 2 plugin as example.

0
Comment actions Permalink

Its possible to add custom dictionaries. However, It does not seem to be possible to add words to these dictionaries form within the UI (which I find quite annoying).

There is only project- or application- level dictionary in the suggestions for correction:

And it does not seem to be possible to share those user specific dictionaries in the team.


Also see:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/206315639-Is-it-possible-to-have-a-per-project-dictionary-that-is-not-user-specific-

https://youtrack.jetbrains.com/issue/IDEA-188338?p=WI-41127

https://youtrack.jetbrains.com/issue/IDEA-121886

0

Please sign in to leave a comment.