我使用带有以下参数的 uncrustify:
sp_cmt_cpp_start = force # Add space after opening '//'
cmt_width = 78
输入:
bi.dwSize = sizeof (bi); //Size of the structure itself, must be initialized with sizeof(CGOSBOARDINFO)
输出:
bi.dwSize = sizeof(bi); // Size of the structure itself, must be
//initialized with sizeof(CGOSBOARDINFO)
但在 // 在第二行“//initialized”之后,它应该如下所示:
bi.dwSize = sizeof(bi); // Size of the structure itself, must be
// initialized with sizeof(CGOSBOARDINFO)
有谁知道如何解决这个小问题?