visual-studio-code - VSCode:如何将键盘快捷键绑定到 setting.json 条目
问题描述
我在我的.vscode/settings.json
文件中配置了一个 Docker Compose Up 配方。如何绑定键盘快捷键来执行此配方?
{
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"java.configuration.updateBuildConfiguration": "automatic",
"docker.commands.composeUp": [
{
"label": "Stack description",
"template": "docker-compose -p test -f aa.yml -f bb.yml up -d --build"
},
解决方案
推荐阅读
- hyperledger-fabric - 在 Hyperledger Fabric CA 中注册和注册证书有什么区别
- cluster-computing - slurm集群管理器中如何知道一个job的每个进程的状态?
- javascript - 在 Camunda 进程中,如何使用 JavaScript 和 Spin 从 JSON 中检索布尔值?
- ios - 在 textViewDidChange 中检测粘贴 UITextView
- r - r data.table 使用具有多列集的 .SD 来获得 RMSPE
- javascript - 立即动态更改图像 Vanila javascript
- asp.net-core - 多租户 .Net Core Web API
- angular - 在打字稿的另一个私有方法中解析函数内私有方法调用的范围
- java - 防止 Vuejs 应用程序重写 URL
- python - 从 spyder 在 GPU 上实现 python 代码