我想知道是否有任何 VS 插件可以用我选择的描述性文本替换/标记某些代码行?
理想情况下,如下所示的功能:
bool CreateReportFiles(LPCTSTR fn_neighbours, ULONG nItems, ULONG* items)
{
// Read from file CFile cf_neighbours; if (!cf_neighbours.Open(fn_neighbours, CFile::modeRead)) return false; cf.Read(items, sizeof(ULONG) * nItems); cf.Close(); // Create reports DoReport_1(items, nItems); DoReport_2(items, nItems); DoReport_3(items, nItems); FinalizeReports();
}
...看起来与此类似:
bool CreateReportFiles(LPCTSTR fn_neighbours, ULONG nItems, ULONG* items)
{
± Read from file ± Do the reports
}
± 符号将扩展/折叠替换的行。
还考虑了其他解决方法!
谢谢你的帮助 !