Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 720 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 720 Bytes

Open symbol documentation for clangd

This extension extends clangd to provide a way to open the documentation of symbols under cursor.

Default hotkey is Shift+F1

By default extension opens only STL and Boost documentations.

settings

Example. Open cppreference for compatible EASTL objects:

{
    "clangd.documentation": {
    	"^eastl::(?!fixed_|intrusive_|slist|ring_buffer|vector_|linked_(?:ptr|array)|safe_ptr|(?:shared|scoped)_array|uninitialized_)(.*)": "https://duckduckgo.com/?q=!ducky+site:cppreference.com+std::{{match:1}}"
    }
}

This extension required clangd with merged PR #575 (clangd 0.1.29 or newer)