https://github.com/aadenboy/vscode-unicode-box-art
Allows drawing Unicode box art directly in VSCode. Based on https://github.com/MarkLodato/js-boxdrawing
https://github.com/aadenboy/vscode-unicode-box-art
typescript unicode-box-drawing unicode-characters vscode vscode-extension
Last synced: about 1 month ago
JSON representation
Allows drawing Unicode box art directly in VSCode. Based on https://github.com/MarkLodato/js-boxdrawing
- Host: GitHub
- URL: https://github.com/aadenboy/vscode-unicode-box-art
- Owner: aadenboy
- License: mit
- Created: 2024-11-10T02:19:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-24T02:20:38.000Z (over 1 year ago)
- Last Synced: 2025-01-24T12:32:24.858Z (over 1 year ago)
- Topics: typescript, unicode-box-drawing, unicode-characters, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=aadenboy.box-art-draw
- Size: 40.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Unicode Box Art Draw
    
*(Footage sped up for demonstration purposes)*

This extension lets you draw with Unicode's box art characters directly in VSCode!
> Based on [MarkLodato/js-boxdrawing](https://github.com/MarkLodato/js-boxdrawing)
> Also see [Overtype by DrMerfy](vscode:extension/drmerfy.overtype)
## Usage
All keybinds, excluding the toggle command, are active only while drawing mode is enabled.
**NOTE:** Padding is currently UNIMPLEMENTED, and the cursor will not draw nicely over empty space. You must pad the empty space you intend to draw over with spaces beforehand.
### Commands
> I highly recommend you remap these to your liking!
- `Ctrl+Shift+Insert` - Toggle between drawing and regular typing
- **Line Styles**:
- `N` - Set to *Normal* line style
- `B` - Set to *Bold* line style
- `K` - Set to *Double* line style
- `Delete` - Erase lines
- **Drawing**:
- Arrow Keys - Draw a line in the chosen style
- `Shift`+Arrow Keys - Draw a line segment in-place
- `Alt`+Arrow Keys - Paint over lines (replacing instead of creating)
- `Shift+Alt`+Arrow Keys - Paint over line segments in-place (replacing instead of creating)
- **Transformations**:
- `[` - Rotate left
- `]` - Rotate right
- `Shift+[` - Flip horizontally
- `Shift+]` - Flip vertically
- **Batch-painting**:
- See below for difference
- `P` - Paint a line (no turning, no splitting)
- `Shift+P` - Paint a curve (no splitting)
- `Alt+P` - Paint a branch (no turning)
- `Ctrl+P` - Paint a shape
- You can use these with the eraser to delete instead
## Gallery
Comparison of batch-painting modes

Building a table

## Installation
1. Open the Extensions view in VS Code (`Ctrl+Shift+X`)
2. Search for **"Unicode Box Art Drawing"** and install it
3. Start drawing by toggling drawing mode with `Ctrl+Shift+Insert`!
## Source Code
You can view and contribute to the source code at the [GitHub Repo](https://github.com/aadenboy/vscode-unicode-box-art)