如何使用语法高亮关闭复制? [英] How to turn off copy with syntax highlighting?
本文介绍了如何使用语法高亮关闭复制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 Visual Studio Code 1.10 版中 复制语法高亮已介绍.
In Visual Studio Code version 1.10 Copy with syntax highlighting has been introduced.
我大部分时间都不想使用它,但我找不到关闭它的方法.即使我没有为 editor.action.clipboardCopyWithSyntaxHighlightingAction
设置键绑定,VSCode 总是使用语法高亮复制.
I don't want to use it most of the time but I can't find a way to turn it off.
Even though I have no keybinding set for editor.action.clipboardCopyWithSyntaxHighlightingAction
VSCode always copies with Syntax highlighting.
如何关闭它以便我只复制纯文本?
How can I turn it off so that I copy plain text only?
推荐答案
转到 settings.json
文件并添加
"editor.copyWithSyntaxHighlighting":false
https://github.com/microsoft/vscode/issues/20837
这篇关于如何使用语法高亮关闭复制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文