I assume the answer to the question is "Not", but I thought I'd ask anyway. I've looked and I can't see any option to do this. I briefly played with the options to see if I could put a dictionary file in the .idea directry of the project, but not only did that not work as expected (adding words don't go to such a dictionary), but now added words don't seem to be going into the user specific XML files either. It still seems to remember when I've added them but adding new words doesnt change those files.
In any case, lets assume the following situation is at play:
- There are several large web project that we're using WebStorm for
- There are a few developers on each project
- Naturally, all of the developers have their own installs and their own usernames
- Due to the nature of the projects, each of them has their own list of words which are not standard words but are domain specific Jargon words.
- When working on Project A, we would like word list A to be a list of accepted words
- When working on Project B, we would like word list B to be a list of accepted words
- Project A and Project B are for completely different clients, and as such we do not want to use these domain specific words used by client A in a page used by client B, as that would cause confusion. However these errors are semi-frequent when hopping between projects for quick edits.
I can't see any way to set some sort of project specific list of accepted words in anything resembling a sane fashion.
- There are X developers.
- Developer X - 3 adds a word to the accepted word list, which modifies .idea/dictionaries/developerX3.xml
- Project is checked into source control
- Everyone else checks out said project and start getting warnings showing up about spelling errors
- Everyone else spends a bunch of time having to add words that have already been accepted to their own dictionaries OR try to collate the list of accepted words from all of the other user dictionaries, which is a pain in the you know what because theyre XML files and thus crufted up with tags
This is also exceedingly annoying as a single user that is moving from one platform to another with the same project. On this linux machine my username is tmartin, but on the windows machines my username is Terence. I have no control over either one. So even on my own I end up kicking myself in the crotch with newly added words.
I was going to try jut symlinking the files to each other but I don't know how well that carries over to Windows, and it doesn't help in the situation of a new developer or an existing developer with a slight username change.