visual-studio-code - vscode devcontainer 定义中的自定义键绑定(bind)

标签 visual-studio-code vscode-remote codespaces

我正在尝试向我的代码空间图像添加几个键绑定(bind)。但我找不到存储 keybindings.json 的位置,当我在事件代码空间中打开文件时,它位于 /User/keybindings.json 中,但我可以在 bash 中或当我尝试打开该文件夹时找不到它。看起来是一个虚拟文件。

有没有办法将这些添加到 devcontainer.json 中?或者我可以从我的 Docker 文件将它们发送到一个神奇的地方?

最佳答案

基于许多已解决的问题,键绑定(bind)更多地被认为是个人偏好,并且与用户的偏好以及平台相关性同步。

要提供或覆盖键绑定(bind),必须创建自定义扩展,将其发布到市场并通过 devcontainer.json 安装。

关于visual-studio-code - vscode devcontainer 定义中的自定义键绑定(bind),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64267453/

相关文章:

ssh - 如何使用其他端口连接远程 SSH VSCode 扩展

visual-studio-code - 为 VS Code 设置与在 WSL 中运行不同的配色方案

visual-studio-code - 如何使用 vscode ://url? 在 wsl 下打开 vscode 中的文件

f# - 无法在 VS 代码上使用 FSI

java - 如何创建 vs-code 任务以在 tomcat 扩展上部署 WAR 文件?

debugging - 如何传递 bool 参数以深入研究 VS Code?

node.js - 是否有可能在 Github Codespaces 中更新 node.js?

python - Matplotlib 图形未在 GitHub CodeSpaces 中生成

azure - 自托管 headless 代码空间

JavaScript 模块 : "export * as" in visual studio code