The References extension for Visual Studio Code provides a powerful tool for searching and managing code references within your workspace. It leverages GNU Global and Universal Ctags to offer comprehensive symbol reference searching and completion features.
Features
Reference Search: Quickly find references to symbols in your codebase.
Tree View: Visualize references in a structured tree view.
Command Palette Integration: Easily access commands via the VS Code command palette.
Keyboard Shortcuts: Use Ctrl+Alt+R (or Cmd+R on macOS) to list references.
Install the extension from the VS Code Marketplace or by downloading and installing the .vsix file.
Usage
Activate the Extension: The extension activates automatically when you open a workspace.
Search References: Use the command References: List References from the command palette or the keyboard shortcut to search for references of the selected symbol.
Add/Remove Items: Use the References: Add and References: Remove commands to manage your reference list.
Clear Items: Use the References: Clear command to clear all items from the reference list.
Configuration
You can configure the extension settings in your settings.json file:
references.globalExecutable: Path to the GNU Global executable.
references.ctagsExecutable: Path to the Universal Ctags executable.
references.completion: Enable or disable the auto-completion feature.
Development
To contribute to the development of this extension:
Clone the repository: git clone https://github.com/yliu/vscode-references.git