Setting a dictionary requires full restart to apply
I started without any dictionary, then I set the en_US dictionary. I still received Incorrect spelling errors, until I restarted Qt Creator.
This is a know limitation based on the current implementation, which perhaps is acceptable? This is based on the Hunspell API, which does not allow one to remove dictionaries after creation. One can add, but that is not the ideal. Another option will be to construct a new instance of Hunspell but I am concerned of what might happen if this happens while a project is being parsed, it can end up in a weird/unstable statel
In theory this should not be very difficult, I will play a bit with the option but for now I am only going to mark it as a feature request.
It should (in my mind) happen only once so it should not be such a big deal. I will try to make it clear that it is needed for now.