You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just migrated everything to the new .editorconfig but I ran into some problems
As stated in the documentation the file should be the language name "en-US.dic" for example. This doesn't seem to work. I needed to change the name of the file to the one used in the global settings "en-US_User.dic". This is not clear in the documentation since it cleary states the dictionary should have the language name as the filename (it is also mentioned here: Files names for custom dictionaries #204)
You state in the documentation that any changes done to the .editorconfig file might only be read if you reload the solution but this doesn't seem to be the case. Few scenarios:
Changing branch within visual studio where the .editorconfig and the dictionaries are the same: it will sometimes fail the spell checks like the custom dictionaries and ignored words are not setup. I know this to be the case because if I manually run the spell check and try to add a word to custom dictionary or ignored words it will use the global files and not the local files in the solution
Changing .editorconfig and closing and reopening the solution: new settings are not read forcing me to completely close visual studio and open it again to read those.
Another problem is running manually the spell check in the entire solution shows no errors but running the code analysis on the solution shows some VSSpelll001 errors of words that are in the ignore file:
Just migrated everything to the new .editorconfig but I ran into some problems
Using VS 17.5.5. Extension version: 2023.5.8.0.
Current .editorconfig in the root of the solution