Module-level custom dictionaries
已回答
Can dictionaries be defined in a module (rather than a project)? If so, how?
If a dictionary is defined in a module, does it only apply to files in that module, or does it apply to all files in a project?
If you can limit the scope of a dictionary to a module, is there a boolean for each module-level dictionary indicating whether to export that dictionary to all other modules that depend on that module?
Which dictionary formats (.dic, .xml, hunspell, etc.) are supported at module level? Is there any reason to prefer one format over another?
I'd want to store the dictionaries and related settings in the VCS repo for my modules / projects.
Thanks.
请先登录再写评论。
There is no module-level dictionary. We have related request to be able to use different dictionaries with the spelling/type infection: https://youtrack.jetbrains.com/issue/WI-36433. Please join the discussion and vote for request.
>Which dictionary formats (.dic, .xml, hunspell, etc.) are supported at module level? Is there any reason to prefer one format over another?
Please see Spelling:
dicextension, containing words separated with a newline.en_GB.dicanden_GB.affSee also related blog bost https://blog.jetbrains.com/phpstorm/2018/01/hunspell-dictionaries-support