EWSoftware / VSSpellChecker

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

Closed WithLithum closed 10 months ago

WithLithum commented 10 months ago

Steps to Reproduce

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.

EWSoftware commented 10 months ago

I'll change it to only rename the file if the filename matches the misspelled token text.