Special thanks go to all contributors of Definition View. It made creating this extension much easier!
Please check out that extension if you just want documentation in the panel or sidebar.
Features
Like Source Insight, it automatically displays the context of the code at the cursor position.
Language independent. Works in any language.
The "Context" view shows in the panel by default. Move to other views or the panel just by dragging.
Supports syntax highlighting in the context view.
Configuration
contextView.contextWindow.updateMode — Controls how the documentation view is updated when the cursor moves. Possible values:
live — (default) The context always tracks the current cursor position.
sticky — The context tracks the current cursor position. However if there is no symbol at the current position, it continues showing the previous context.
Commands
Pin current def — Stop live updating of the context view. Keeps the currently visible context.
Unpin current def — Make the context view start tracking the cursor again.
Show Context Window — Show context view by Keyboard Shortcuts.