Pointer Extension
A minimal VS Code extension that highlights the current line or the character under the cursor to act like a presentation pointer.
Usage
- Start the Extension Development Host (F5) in VS Code.
- Open the Command Palette and run
Toggle Pointer or bind the pointerExtension.togglePointer command to a key.
- The pointer follows the cursor selection and highlights the entire line (default) or a block depending on settings.
Tip: The extension registers a recommended keybinding F9 to toggle the pointer when the editor has focus.
Settings
pointerExtension.color - CSS color for the highlight (default rgba(255,0,0,0.25)).
pointerExtension.width - Thickness in pixels (not used for whole-line mode currently).
pointerExtension.mode - line or block.
Development
Install dependencies and compile:
npm install
npm run compile
Run using F5 to open an Extension Development Host.
| |