In VS Code in C++, when I use format document , the indentation becomes Allman style. Like,int function() { //body }
But I don't like this format. I prefer it K&R style. Like,int function(){ //body }
Can I change the format document style to K&R style?
I tried searching it in google but couldn't come up with a solution. I found a similar question in stack overflow which was 13 years ago and it was regarding to C#.