签名帮助文档丢失

huangapple go评论77阅读模式
英文:

Signature help docs missing

问题

我想让VSCode的功能与VSCode(golang)演示中的功能相同,并且与之前安装的版本相同。

有人可以提供所需的setting.json文件吗?

VSCode演示中的文档(Signature Help)显示在函数(Code completion)旁边。

在我新安装的vscode:v1.76.2 gopls:v0.11.0 go:v1.20.1中,Signature help消失了。诚然,根据VSCode文档这里的说明,文档在函数的()内部显示,但是这种同时具有Code completionSignature Help的功能曾经存在,我希望能够恢复它。

我希望VSCode的工作方式:

来自VSCode演示,在代码完成时提供帮助
签名帮助文档丢失
签名帮助文档丢失

我当前设置的演示:

在函数内部之前缺少Signature help
签名帮助文档丢失

英文:

I want VSCode to function how it does in the VSCode (golang) demo, and how it used to work on a previous install.

Can anybody provide the `setting.json needed for this?

The VSCode demo, here & here, shows the docs (Signature Help) displayed next to the function (Code completion).

On my new install of vscode:v1.76.2 gopls:v0.11.0 go:v1.20.1 the Signature help is missing. Admittedly the docs are displayed once inside the functions () as stated in the VSCode documentations here, however this dual Code completion and Signature Help used to exist and I'd like it back.

How I want VSCode to work:

From VSCode demo, help while in code complete
签名帮助文档丢失
签名帮助文档丢失

Demonstration of my current setup:

Signature help missing until inside function
签名帮助文档丢失

答案1

得分: 1

这是“代码补全”的“更多”面板。将鼠标悬停在当前项目上,会出现一个向右的箭头图标。点击该图标可以切换“更多”面板。

签名帮助文档丢失

英文:

This is the "More" panel of the Code completion. Hover on the current item and a chevron right icon will show up. Click that icon to toggle the "More" panel.

签名帮助文档丢失

huangapple
  • 本文由 发表于 2023年3月22日 18:24:40
  • 转载请务必保留本文链接:https://go.coder-hub.com/75811015.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定