Open Jinying-Tang opened 4 months ago
@Jinying-Tang That generated doxygen comment appears to be coming from another extension, maybe GitHub Copilot, see https://github.com/community/community/discussions/categories/copilot .
@Jinying-Tang That generated doxygen comment appears to be coming from another extension, maybe GitHub Copilot, see https://github.com/community/community/discussions/categories/copilot .
I'm sure it's a problem with c/c++ code formatting, I don't have copilot installed, but I have Doxygen Documentation Generator installed, and if I disable the c/c++ extension, it shows up correctly
@Jinying-Tang What formatter settings are being used? If you set C_Cpp.loggingLevel to "Debug" and format -- does the C/C++ logging mention clangFormat or vcFormat. If clangFormat, do you have any clang_format settings set? Does the bug repro if you format document or format on paste with the comment?
@Jinying-Tang What formatter settings are being used? If you set C_Cpp.loggingLevel to "Debug" and format -- does the C/C++ logging mention clangFormat or vcFormat. If clangFormat, do you have any clang_format settings set? Does the bug repro if you format document or format on paste?
1、When I enable C/C++ extensions, the @file falls back a space, causing the @author to be out of alignment, and when C/C++ extensions are disabled, the @file is aligned with the @author 2、When I copy the correct formatting content to the beginning of another .c or .h file and save it, @file does not fall back a space
@Jinying-Tang How do I use Doxygen Documentation Generator to generate the comment? Are there particular settings?
@Jinying-Tang How do I use Doxygen Documentation Generator to generate the comment? Are there particular settings?
The Doxygen Documentation Generator does not require any special configuration.
Potentially related on Stack Overflow: How to Fix Casing of Visual Studio Code clang-format Command-Line
Environment
When I use doxygen to generate annotations, autoformatting automatically indents the generated @file by one space
![bug](https://github.com/microsoft/vscode-cpptools/assets/131565469/09e4953a-ca1c-4d83-864b-5bfea98b8dc1)
Bug Summary and Steps to Reproduce
Bug Summary:
Steps to reproduce:
Expected behavior:
Configuration and Logs
Other Extensions
No response
Additional context
No response