PrintVar Extension
This extension for Visual Studio Code allows you to print a selected variable with a std::cout statement in C++.
Features
- Select a variable in your C++ code.
- Execute the "PrintVar" command.
- The extension will insert a
std::cout statement printing the variable and its value on the line after the selection.
Usage
- Open a C++ file.
- Select a variable in the code.
- Execute the "PrintVar" command (
Ctrl + Shift + P , type "PrintVar", and select the command).
or ("key": "ctrl+shift+z", "mac": "cmd+shift+z")
- The extension will insert a
std::cout statement printing the selected variable and its value.
Extension Settings
This extension does not have any configurable settings at the moment.
Known Issues
No known issues. (WIP)
Release Notes
See CHANGELOG.md.
License
This extension is licensed under the MIT License.
Usage for dev
npm run compile
npm test
| |