AddAnyFile
AddAnyFile copied to clipboard
File creation doesn't respect formatting settings selected by the user
Installed product versions
- Visual Studio: 2017 Professional
- AddAnyFile version: 3.5.129
Description
The extension is not following the formatting settings the user has set in the Visual Studio options dialog.
Steps to recreate
- Click Shift + F2
- Type Class1.cs in the dialog provided.
- You should now be able to see the behavior mentioned below.
Current behavior
When I create a new C# file all the opening braces are placed on a new line. Our team places our open braces on the same line as the class/namespace declarations. Our Visual Studio settings are set up to match this. After installing AddAnyFile I noticed that it doesn't respect these Visual Studio settings.
Expected behavior
AddAnyFile should be adhere to the formatting settings the user has selected in the Visual Studio options dialog. When I create a new C# file my opening brace should be on the same line as my class/namespace declaration.
@madskristensen can you give me any input on this? How difficult of a task would this be to implement? If it's something I have time to do then I'd be happy to submit a pull request.