不要进入 vscode 工作区设置用户设置

标签 go visual-studio-code vscode-settings

我已经在 VSCode 中安装了 Go 扩展,在 How to use this extension? 部分 Extension Web Page ,它提到了许多设置,如 go.toolsGopathgo.gocodeAutoBuildgo.formatOnSave

但是当我使用 Ctrl + ,Open the User Settings 时,我没有看到任何Go设置,用户设置中没有Go设置 block :

enter image description here

如何让 Go 设置显示在用户设置中?

最佳答案

在我的例子中,通过将 Go Extension 设置为 Enable (Always),然后 Go Settings(Go 配置) 将显示在用户设置。

步骤:

  1. 在 VS Code 中打开扩展选项卡(键盘快捷键:Ctrl+Shift+X),然后搜索“Go”。
  2. 点击齿轮并设置启用(始终)
  3. 点击 Reload,Go configuration 将出现在用户设置中。

截图:

enter image description here

enter image description here

enter image description here

关于不要进入 vscode 工作区设置用户设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46752275/

相关文章:

c++ - 无法在Visual Studio中的Bash中运行文件

c++ - VS Code 是否有用于 C++ 扩展的内存查看器和/或反汇编器?

node.js - VS Code,更改调试器的 NodeJS 版本

git - VSCODE : I want to do "git merge --squash" from vscode

visual-studio-code - 如何配置 VS Code 以使用 cubeMX 构建和调试 STM32 项目 - Windows 10

正则表达式以点|分号空间分割但忽略 url 例如

variables - 在go中声明一个没有值的全局变量

go - Go 如何将 3 字节序列转换为适当的 Unicode 字符?

visual-studio-code - 如何使 vscode 问题匹配器匹配 IAR ARM 编译器错误?

go - 如何以惯用的方式预分配和填充一片指针?