Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure VS Code to read the TabSize and InsertSpaces parameters from .clang-format #171

Open
ujos opened this issue Aug 30, 2024 · 0 comments

Comments

@ujos
Copy link

ujos commented Aug 30, 2024

Could you modify the plugin to adjust the TabSize and InsertSpaces VS Code global settings based on detected .clang-format?

I use VS Code for two different projects that have different standards. In one projects they use Spaces instead of tabs. In the another projects they use Tab characters. VS Code is configured to use Spaces. Both projects use clang-format tool for the code formatting.

The problem is if I press the Tab button while working on the Second project, the editor inserts spaces instead of tabs. So I have to remember to reformat the code before I commit it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant