![](/img/trans.png)
[英]Parameter areas covered by white translucent will not trigger code hints in vs code, how to fix it?
[英]Intellij like inline parameter hints in vs code
IntelliJ 顯示有關用法的方法參數提示 - 如何禁用它
我想在 VS Code(用於 golang)中看到內聯參數提示——如上面提到的帖子的圖片中所述。 請建議是否可以通過任何擴展/其他方式實現。 我嘗試了“IntelliJ IDEA Keybindings” 擴展,但似乎尚不支持。
任何幫助都受到高度贊賞。 謝謝!
Refactoring
Linux, Windows macOS Feature Supported
f5 f5 Copy N/A
f6 f6 Move N/A
alt+delete cmd+delete Safe Delete N/A
shift+f6 shift+f6 Rename ✅
shift+f6 shift+f6 Rename (File) ✅
ctrl+f6 cmd+f6 Change Signature N/A
ctrl+alt+n cmd+alt+n Inline N/A
ctrl+alt+m cmd+alt+m Extract Method ✅
ctrl+alt+v cmd+alt+v Extract Variable ✅
ctrl+alt+f cmd+alt+f Extract Field N/A
ctrl+alt+c cmd+alt+c Extract Constant N/A
ctrl+alt+p cmd+alt+p Extract Parameter N/A
vscode 問題 92297可能會出現在 VSCode 1.62(2021 年 10 月)中:
用顏色替換參數提示中的下划線
而不是當前參數下方的下划線,使用顏色將是更好的選擇
例子:
或者(黑暗主題)
這將更接近您在像 webstorm 這樣的 IntelliJ IDE 中看到的內容:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.