Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin

72 Views Asked by At

I'm working with people who want to make leading spaces mandatory in our DevOps codebase. I use tabs. Is there any way to configure Visual Studio 2022 to automatically convert leading spaces to tabs when I check out a file, and back to spaces when I check it in?

'''Edit:''' Oh and this project will use Git version control, so looks like the "Team Foundation check-in policy" trick won't work?

0

There are 0 best solutions below