1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

修复右键菜单未能正确展示的问题

This commit is contained in:
2024-04-06 14:27:10 +08:00
parent ad15636256
commit 138bf53f41
4 changed files with 15 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ const handleEditorReplace = (targetCase: SupportCase) => {
return;
}
console.log('============ start convert ============');
// console.log('============ start convert ============');
let document = editor.document;
let selection = editor.selection;
let eol: EOL = document.eol === vscode.EndOfLine.CRLF ? '\r\n' : '\n';
@@ -45,7 +45,7 @@ const handleEditorReplace = (targetCase: SupportCase) => {
editor.edit(editBuilder => {
editBuilder.replace(selection, converted);
});
console.log('============ finish convert ============');
// console.log('============ finish convert ============');
};
export default handleEditorReplace;