VS code extension to open documentation for the current symbol under the cursor in the default web browser.
- python >= 3.6
- virtualenv
To open the current open documentation for the current symbol under the cursor in the web browser, either press Ctrl + Shift + P and search for Python Docs Opener
, or use the keyboard shortcut Shift + F1.
You can use the setting additionalLibraryToDocsMappings
to specify documentation for third party libraries. The variable ${symbol_name}
can be used to specify the symbol. For example, to specify the documentation for pytest, add the following setting:
"pythonDocsOpener.additionalLibraryToDocsMappings": {
"pytest": "https://docs.pytest.org/en/6.2.x/reference.html#${symbol_name}"
}