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
Write some new code using a type not included in the referenced usings
e.g. (IEnumerable is an unknown type because the System.Collections.Generic namespace is not included in the using statements):
namespace MyApp
{
public class Test
{
public IEnumerable<string> GetStrings()
{
return null;
}
}
}
Rename the file, only changing a character casing
e.g.: test.cs to Test.cs
Use the lightbulb or the quick fix shortcut
Select 'using ' or the '' from the menu.
VS Code will create a new file, using the old filename.
e.g.: A new file 'test.cs' will be created where the selected fix has been applied instead of fixing the issue in the renamed file.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
e.g. test.cs
e.g. (IEnumerable is an unknown type because the System.Collections.Generic namespace is not included in the using statements):
e.g.: test.cs to Test.cs
e.g.: A new file 'test.cs' will be created where the selected fix has been applied instead of fixing the issue in the renamed file.
The text was updated successfully, but these errors were encountered: