`Ctrl+Del` 删除后面的空格(就像在 VS201X 中一样)

`Ctrl+Del` to delete following whitespaces (like in VS201X)

VS2017中使用Ctrl+Del删除单词时,会自动删除后面的空格

是否可以将 VSC 配置为以相同方式工作?

我认为没有任何内置设置可以做到这一点。您要么必须按 Ctrl-Del 两次

或者为运行设置一个宏命令两次。

使用 multi-command 宏扩展,puth 进入 settings.json:

"multiCommand.commands": [
    {
      "command": "multiCommand.deleteWordAndWhieSpaceRight",
      "sequence": [
        "deleteWordRight",
        "deleteWordRight",
      ]
    }
]  

并在 keybindings.json 中:

{
  "key": "ctrl+delete",
  "command": "-deleteWordRight",
  "when": "textInputFocus && !editorReadonly"
},
{
  "key": "ctrl+delete",
  "command": "multiCommand.deleteWordAndWhieSpaceRight",
  "when": "textInputFocus && !editorReadonly"
},