could you please clarify that is cpp support selection formatting or not? could it be supported?
Environment
all
Bug Summary and Steps to Reproduce
I have face a formatting issue while code c within cpp tool https://github.com/microsoft/vscode/issues/257764#issuecomment-3632579444
Configuration and Logs
*
Other Extensions
No response
Additional context
No response
@heartacker We support formatRange, which is selection formatting, but I believe in some cases code outside of the range will still be updated if that's what clangFormat or vcFormat decides to do.
Oh, I see the linked vscode issue has some more activity...let us know if still want us to investigate something. I vaguely recall we don't support formatting multiple ranges at a time.
@heartacker Seems like a duplicate of https://github.com/microsoft/vscode-cpptools/issues/12119 ? Well, not sure, let us know.
Sorry, I'm not very familiar with more in-depth concepts. It's very difficult for me to offer more ideas and viewpoints. Of course, you can follow the steps reproduced in the vscode link to identify the specific root cause. I would be extremely grateful.
@heartacker It sounds like VS Code pushed some fix. Can this issue be closed?
thanks