A panel to show and pin GoDoc, PyDoc, JsDoc... for symbols under your caret. Tested on Go Doc, Python Comments, and JavaScript Docs, but should works with any languages with a language server.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
From Pointer to Cursor. Replace Pointer Hovering as Doc with Cursor Position as Doc, reducing mouse movements and keeping your workflow uninterrupted, especially ideal for key-mappings like Vim!
Pin Your Docs, Own Your Flow. Pin key docs and switch between real-time preview and pinned views, keeping your context anchored where you need it most.
Broad Language Support. Fully tested on GoDoc, JsDoc, and PyDoc, and compatible with any programming language with a language server.
Best Practices: Move the panel to the secondary side bar (on the right often), and pin your docs when you need them.
This extension requires some programming language extensions that support hover requests to get documentation for symbols under the pointer.
Settings and Commands
This extension contributes the following settings:
docpanel.codeWrapping: Wrap code blocks in the panel, set to false may cause the panel scrollable on X-asix, and the line arrangement will be kept.
docpanel.showDiagnostics: Show diagnostics of the current position in the panel, set to true to get more detailed real-time information, but may cause a bad documentation experience.
And the following commands:
docpanel.refresh-active-doc: Refresh the active document panel.
Chinese
功能特性
键盘而非鼠标。根据键盘光标位置直接获得文档,无需鼠标悬停,让编码顺畅无阻。尤其适合与 Vim 插件配合使用!(当然也可以独立使用)
固定并灵活切换文档。固定重要文档,在实时预览与固定视图间无缝切换,随时参考。
广泛的语言支持。已在 GoDoc、JsDoc 和 PyDoc 上全面测试,并且兼容任何有 Language Server 的编程语言。