VS Code 在行尾插入分号并新建一行

VS Code insert semicolon at the end of the line and create a new line

我想要什么

这只是为了方便,但我正在搜索 VSCode 中的一个功能,即在当前行的末尾插入一个分号,而光标仍在语句的中间。 IntelliJ 具有该功能。 (crtl + shift + enter)

到目前为止我尝试过的:

如果我需要更多信息,请告诉我...

感谢 rioV8 在 Multi Command 方面的帮助。

我将以下片段添加到 settings.json:

"multiCommand.commands": [
        {
            "command": "multiCommand.addNewLine",
            "sequence": [
                "cursorEnd", 
                {"command": "type", "args": {"text": ";\n"}}

            ]
        }
    ]

比起我能够在 keybindings.json.

中将键绑定绑定到该命令