A Visual Studio spell checker editor extension that checks the spelling of comments, strings, and plain text as you type. Supports configuration and various languages.
Other
377
stars
65
forks
source link
Renaming a type renames the file it is in even if the file is with a different name than the type and the file contains multiple types #304
Create a file with name (for example TestZero.cs) and add a class with misspelled name different from the file name in it (for example TestSbal) and additionally a different class with correct name (TestDoubleSlab)
Correct the name of the class via spellchecker auto fixes (for example TestSbal to TestSlab)
You will notice the TestZero.cs became TestSlab.cs
Expected Behaviour
The name of the file that the renamed type is in should not get renamed as the file name is different than that of the class.
Actual behaviour
The name of the file that the renamed type is in gets renamed even if the file name was different than the old name of the class.
Steps to Reproduce
TestZero.cs
) and add a class with misspelled name different from the file name in it (for exampleTestSbal
) and additionally a different class with correct name (TestDoubleSlab
)TestSbal
toTestSlab
)TestZero.cs
becameTestSlab.cs
Expected Behaviour
The name of the file that the renamed type is in should not get renamed as the file name is different than that of the class.
Actual behaviour
The name of the file that the renamed type is in gets renamed even if the file name was different than the old name of the class.