【发布时间】:2021-03-17 15:42:25
【问题描述】:
我已将这两行添加到我的 .vscode/setting.json 文件中以启用格式化功能:
"java.format.settings.url": "https://raw.githubusercontent.com/google/styleguide/gh-pages/eclipse-java-google-style.xml",
"java.format.settings.profile": "GoogleStyle"
我正在使用 Eclipse Key Bindings 进行记录。因此,当我执行Command + Shift + O 时,我的 Java 文件中会出现一个小气泡:Organize imports。但是,当我单击它时,我会收到此错误消息:Running the contributed command: '_vscode_delegate_cmd_km72g93j' failed.。
你知道如何解决这个问题吗?
【问题讨论】:
标签: java visual-studio-code formatting vscode-settings