cvlvxi / VSC_CppReference

View C++ Reference in VS Code

Home Page:https://marketplace.visualstudio.com/items?itemName=Guyutongxue.cpp-reference

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cpp Reference - VS Code Extension

中文版本

This extension is inspired by Cpp Reference and Documentation.

This is a tool to browse cppreference.com from within vscode, instead of going to the browser to do so. You can use this extension to search for library and methods documentation of the C++ standard.

Usage

Set your cursor position onto the word you want search for, then press Ctrl+Shift+A on Linux/Windows or Command+Shift+A on macOS.

You can also search manually by opening Command Palette (Ctrl+Shift+P, Command+Shift+P) and execute command Cpp Reference: Search manually.

Warning Only pages in "C++" part (not "C" part) will be indexed and shown in search results.

Settings

cppref.lang

Choose the language of online version cppreference.com. For example, use zh for Chinese version of cppreference.com.

cppref.alternative.enabled

Switch this on to use an alternative version of cppreference.com. You should input a URL for it, see below:

cppref.alternative.url

The base URL for alternative version of cppreference.com. For example, https://guyutongxue.gitee.io/cppref/zh/ is easier to visit for some Chinese users.

cppref.invertColorInDarkTheme

When using vscode's Dark Theme or Dark High Contrast Theme, invert the page's color.

Warning: This feature is implemented using CSS filter and may result in sharper text edges, making it difficult to read.

About indexing

Repo Guyutongxue/cppreference-index stores code for generating search index.

About

View C++ Reference in VS Code

https://marketplace.visualstudio.com/items?itemName=Guyutongxue.cpp-reference

License:MIT License


Languages

Language:TypeScript 100.0%