It is required to have a dictionary for Intellij Idea spellchecking, that meets the following requirements:
As far as I know, where are 2 types of dictionaries in Idea:
But none of them meets the requirements.
User dictionary is easy to edit (Alt+Enter "Save ... to dictionary") and can be added to VCS, but it has a predefined user name, so it's impossible to share (e.g. developer A shared his A.xml, but developer B can't use it, because his Idea project only works with B.xml)
Custom dictionary has no problems with sharing, but it should be edited manually and it needs to reestart Idea to apply changes (e.g. make it see new words)
I've not found a plugin to solve that problem or any similar question, which makes me think that nobody needs such dictionary or the answer is too obvious.
So, is there any way to do it?
Press Ctrl+Alt+S to open the IDE settings and select Editor | Natural Languages | Spelling. Add words to the Accepted words list.
-> Uncheck the options that you want to disable. 2: File>>Settings>>Inspections>>Spelling>>Typo but File>>Settings and search "spelling" is better! :) Just to be clear, the options you can disable will be in the right-hand column after you click on "Typo". Checking the "Typo" checkbox disables them all.
Disable spellcheckingPress Ctrl+Alt+S to open the IDE settings and select Editor | Inspections. Clear the checkbox next to the Typo inspection.
Note that, even though the words added to the dictionary by each developer are stored in a separate file, IntelliJ IDEA takes the words added by all developers, and does not highlight any of them as typos. The storage in separate files was designed specifically to avoid merge conflicts when storing the dictionary in a version control system.
Therefore, the default functionality of IntelliJ IDEA should meet your requirements.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With