vscode扩展里面粘贴会变成两个
Tofloor
poster avatar
不行的胖子
deepin
2020-10-28 03:53
Author
我在网上搜索了一遍,发现这个问题只有我有...
情况是这样的:在vscode上面安装扩展,无论是任何一种扩展,只要在上面粘贴,就会粘贴两遍.比如,我复制111,在扩展上面粘贴,就会变成 111111.我使用的扩展有远程数据库,远程服务器,远程redis,Draw.io Integration画图.我用的比较频繁是弄数据库,每次粘贴东西上去都会复制两遍,有点烦.我有另外一台旧pc也有这种情况,可能是跟我配置文件有关.

下面我贴一下配置

{
    "atomKeymap.promptV3Features": true,
    "editor.multiCursorModifier": "ctrlCmd",
    "editor.formatOnPaste": true,
    "workbench.colorTheme": "Base16 Tomorrow Dark",
    "scf.python3.path": "",
    "scf.python2.path": "",
    "cSpell.enabledLanguageIds": [
        "asciidoc",
        "c",
        "cpp",
        "csharp",
        "css",
        "git-commit",
        "go",
        "handlebars",
        "haskell",
        "html",
        "jade",
        "java",
        ,
        ,
        "json",
        "jsonc",
        "latex",
        "less",
        "markdown",
        "php",
        "plaintext",
        "pug",
        "python",
        "restructuredtext",
        "rust",
        "scala",
        "scss",
        "shellscript",
        "text",
        "typescript",
        "typescriptreact",
        "yaml",
        "yml"
    ],
    "window.titleBarStyle": "custom",
    "explorer.confirmDelete": false,
    "workbench.activityBar.visible": true,
    "editor.minimap.enabled": true,
    "sync.autoUpload": true,
    "sync.autoDownload": true,
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "workbench.iconTheme": "vscode-icons",
    "editor.tabCompletion": "on",
    "emmet.showSuggestionsAsSnippets": true,
    "python.autoComplete.addBrackets": true,
    "shellcheck.disableVersionCheck": true,
    "shellcheck.executablePath": "/usr/bin/shellcheck",
    "shellcheck.run": "onType", //敲击键盘的时候检查,onSave是保存文件时候检查
    "shellcheck.useWSL": false,
    "explorer.confirmDragAndDrop": false,
    "editor.wordWrap": "on",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "python.jediEnabled": false,
    "python.languageServer": "ylance",
    "vsicons.dontShowNewVersionMessage": true,
    "code-runner.runInTerminal": true,
    "code-runner.executorMap": {
        "python": "set PYTHONIOENCODING=utf8 && python",
    },
    "vscode-mysql.resultTheme": "Dark", // 在windows上时候检查是否有linux子系统
    "python.linting.flake8Enabled": true, //Flake8 是由Python官方发布的一款辅助检测Python代码是否规范的工具
    "python.formatting.provider": "yapf", //Google开源的一个用来格式化Python代码的工具,可以一键美化代码,快捷键 Alt+Shift+F 即可自动格式化代码
    "python.linting.flake8Args": [
        "--max-line-length=248"
    ], // 设置单行最长字符限制
    "python.linting.pylintEnabled": false,
    "git.ignoreLegacyWarning": true,
    "extensions.ignoreRecommendations": false,
    "python.analysis.completeFunctionParens": true,
    "breadcrumbs.enabled": true, // 关闭pylint工具,使用flake8
}



大佬麻烦帮忙检查一下
Reply Favorite View the author
All Replies
jingle
deepin
2020-10-28 17:09
#1
google下上面有没有解决办法
Reply View the author