Versioning custom dictionary

Hi guys,

I'm working on a project with lots of special terms and words. I try to work with phpStorm so I get at best zero warnings.

Because all the special terms aren't in the dictionary I started a custom dictionary (Alt+Enter->Add to dict).

That works great but all my colleagues have to do this on their own.

Is there a way to put the dict file in the git repo and use the dict from my project code?

Thanks!

Ron

0
8 comments

Hi there,

https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems

Project-specific dictionaries are stored in .idea/dictionaries folder. When IDE opens the project it reads words from ALL dictionaries

0
Avatar
Permanently deleted user

Hi thanks, I know but I for obvious reasons I excluded the .idea folder in my gitignore. I want one specific dictionary in my "regular" project dir.

0

You may try symlinking it .. but I have big doubts that it will work like that.

P.S. Maybe different VCS root that will be handled by different repo (for that .idea/dictionaries folder only)?

0
Avatar
Permanently deleted user

So it's not possible to define the location of the custom dictionary?

0

Settings/Preferences | Editor | Spelling | Dictionaries

AFAIK such dictionaries will be read on project load/IDE load only.

0
Avatar
Permanently deleted user

Ok, so if there would be a way to put the custom dict (where I add words with Alt+Enter) in a specific location, e.g. my project folder, then I have what I want. Question: Is this possible? :)

0

Words added via Alt+Enter will be stored in files in .idea/dictionaries folder.

0
Avatar
Permanently deleted user

Yeah, I know - you wrote it. So it seems it's not possible. Thanks for your help!

0

Please sign in to leave a comment.