Virtual Counter is a Visual Studio Code extension that counts the number of virtual functions in a file and adds a number next to each virtual function visually using decorations. It provides a quick overview of the virtual functions in your code and their respective classes.
- Counts the virtual functions in the currently opened file.
- Adds a visual number next to each virtual function using decorations.
- Open a file containing C++ code with virtual functions.
- Use the
virtual-counter.countVirtualFunctions
/Count Virtual Functions
command from the Command Palette (Ctrl+Shift+P
orCmd+Shift+P
) to count the virtual functions and add the numbers. - The virtual functions will be visually marked with a number next to them.
- Launch Visual Studio Code.
- Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X).
- Search for "Virtual Counter" and click Install.
- Restart Visual Studio Code.
This extension doesn't have any configurable settings at the moment.
- None.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.
This extension is licensed under the MIT License.