Visual Studio Code Virtual Space
You can install the packaged extension directly into VS Code from the generated .vsix file:
- Open the Command Palette in VS Code (
Cmd+Shift+Pon Mac,Ctrl+Shift+Pon Windows/Linux). - Type and select "Extensions: Install from VSIX..."
- Navigate to this project folder and select the
virtual-space-0.0.1.vsixfile. - Reload the VS Code window if prompted.
Alternatively, you can install it via the command line:
code --install-extension virtual-space-0.0.1.vsix or
antigravity --install-extension virtual-space-0.0.1.vsixBecause VS Code does not natively support true "virtual space" in its editor rendering engine, this extension emulates the behavior by physically inserting space characters (' ') into the document to pad lines out to the target column.
This means:
- Moving the cursor past the end of a line actually modifies the document by adding spaces.
- These automatically added spaces will be saved to the file if you do not delete them.
- They will appear in source control diffs (e.g., Git) as trailing whitespace.