Check in Code Cleanup settings

Lorenzo Lodi Rizzini 0 Reputation points Microsoft Employee
2023-03-14T20:08:56.5833333+00:00

Hello!

Is it possible to check-in Code cleanup profiles, what is the default one, and that it should run automatically on save?
This way all the team members are automatically using these settings as soon as they check out and start working on a project?

Where are these settings saved?

Developer technologies Visual Studio Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-03-15T09:52:22.5066667+00:00

    Hi @Lorenzo Lodi Rizzini

    Welcome to Microsoft Q&A! 

    Which version of Visual Studio are you using? 

    You can try using .EditorConfig file to your codebase to enforce code styles for everyone that works in the project.

    For more details, please refer to: Use EditorConfig files for code style.

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.