【VSCode】《复制VSCode代码编辑器中的代码时,完全去除文本格式,只复制纯文本》
文件(File)-->首选项(Preferences)-->设置(Settings)-->搜索“Copy”-->取消对Editor: Copy With Syntax Highlighting的勾选即可(图形界面的设置内容)。

点击页面当中的“open the default settings JSON”,可以产看代码界面的设置内容:
1 { 2 // Controls whether syntax highlighting should be copied into the clipboard. 3 "editor.copyWithSyntaxHighlighting": true, 4 }

浙公网安备 33010602011771号