AddAnyFile icon indicating copy to clipboard operation
AddAnyFile copied to clipboard

File creation doesn't respect formatting settings selected by the user

Open codewithtyler opened this issue 8 years ago • 1 comments

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

  1. Click Shift + F2
  2. Type Class1.cs in the dialog provided.
  3. 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.

codewithtyler avatar Aug 29 '17 14:08 codewithtyler

@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.

codewithtyler avatar Sep 20 '17 11:09 codewithtyler