dongzongxun8491 2017-08-18 06:44
浏览 100
已采纳

VS Code键盘快捷方式以显示用于golang的在线API文档?

I'ms using vscode and "go for Visual Studio Code" and vim emulation plugin to set up a golang IDE (keyboard is using vim style)

When I mouse hover an API, the online API document can be displayed. But is there a keyboard shortcut that can trigger the API document display?

  • 写回答

1条回答 默认 最新

  • dtkyayvldeaqhl7151 2017-08-19 07:19
    关注

    You are looking for editor.action.showHover shortcut:
    The default key is: Ctrl+K Ctrl+I but not works with vim enabled, so you may change it to e.g.: Ctrl+K Ctrl+K, this works for me:

    You can open this editor by going to the menu under File > Preferences > Keyboard Shortcuts. (Code > Preferences > Keyboard Shortcuts on Mac)
    then search for Show Hover (or just Hover) and change shortcut for editor.action.showHover, see:

    enter image description here

    see: enter image description here

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 关于#anlogic#sdram#的问题,如何解决?(关键词-performance)
  • ¥15 相敏解调 matlab
  • ¥15 求lingo代码和思路
  • ¥15 公交车和无人机协同运输
  • ¥15 stm32代码移植没反应
  • ¥15 matlab基于pde算法图像修复,为什么只能对示例图像有效
  • ¥100 连续两帧图像高速减法
  • ¥15 如何绘制动力学系统的相图
  • ¥15 对接wps接口实现获取元数据
  • ¥20 给自己本科IT专业毕业的妹m找个实习工作