Skip to main content

Shortcut to autoformat tables in feature files

Comments

2 comments

  • Dominique BOYER

    Hello, use CTRL+K+D, this is the regular VS shortcut to format file, it works with specflow files and tables.

    0
  • Thomas, G (Geert-Jan)

    Hi Dominique,

    Thanks for that reminder, I must say I did not remember that one immediately ;)

    But CTRL+K+D applies to the whole file and that may not be desirable for multiple reasons:

    • It may reformat things you don't want reformatted (e.g. it removes white lines in scenario comments)
    • It may make many changes to the file unrelated to the one your are making, making a code review or pull request harder

    Cheers,

    Geert-Jan

    0

Please sign in to leave a comment.

Powered by Zendesk