修复右键菜单未能正确展示的问题
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user