2

I am using specflow with visual studio. Is there any shortcut key to auto format feature file code.

PLatform: Windows 10 Visual Studio 2017

Devdutta Goyal
  • 985
  • 2
  • 11
  • 27

3 Answers3

8

Use Ctrl+ K+ D to format on visual studio

Abdus Salam Azad
  • 5,087
  • 46
  • 35
0

The code formatting in VS Code is:

On Windows Shift + Alt + F On Mac Shift + Option + F On Ubuntu Ctrl + Shift + I

You can use the search functionality in the editor to find other useful commands Ctrl +Shift+ P

Daniel
  • 598
  • 1
  • 6
  • 23
  • Shift + Alt + F did not work for me. VS2017 on Windows 10. All it did was open the File menu. – tzg Jul 20 '22 at 14:30
0

Currently there is no function to reformat a whole feature file in Visual Studio when you install the SpecFlow VS Extension.

Andreas Willich
  • 5,665
  • 3
  • 15
  • 22