vscode 折叠 // 单行注释
·
vscode 中使用 //#endregion 与//#endregion 进行折叠单行注释代码
// #region
// 用法
// let urlObj = {
// checkType: this.checkType,
// };
// let deptIds = [1,2,3];
// postGetPlanOperators(urlObj, deptIds);
// #endregion



也可以在 // #region 后面加名称 这样折叠起来可以方便查阅
// #region xxx的注释
// 用法
// let urlObj = {
// checkType: this.checkType,
// };
// let deptIds = [1,2,3];
// postGetPlanOperators(urlObj, deptIds);
// #endregion

更多推荐
所有评论(0)