A monorepo containing all R3BL VSCode extensions.
The complete R3BL development experience in one package! This extension pack includes:
- R3BL Theme - Custom dark theme optimized for Rust and Markdown
- R3BL Auto Insert Copyright - Automatic copyright header insertion
- R3BL Semantic Configuration - Enhanced Rust syntax highlighting (automatic)
- rust-analyzer - Official Rust language server
What you get:
- ✅ Beautiful, carefully crafted dark theme
- ✅ Automatic copyright headers for new files
- ✅ Enhanced semantic highlighting for Rust (applied automatically)
- ✅ Full Rust language support via rust-analyzer
- ✅ Zero manual configuration required
If you prefer to install extensions individually:
A custom VSCode theme designed for Rust and Markdown with R3BL styling. Features a carefully crafted dark theme optimized for code readability and visual appeal.
Usage:
- Go to
File > Preferences > Color Theme
(orCtrl+K Ctrl+T
) - Select "R3BL Theme" from the list
Automatically includes copyright and license headers in your source code files. This extension saves time and cognitive energy by automating the process of adding copyright notices to new files.
Features:
- Automatically adds copyright notices to new files upon opening
- Supports multiple license types (MIT, Apache 2.0, GPL 3.0, or custom)
- Manual command available:
Prepend Copyright
- Configurable for specific file types
- Works right out of the box with sensible defaults
Supported Languages: C, C++, C#, CSS, Go, Java, JavaScript, Objective-C, Rust, SCSS, Swift, TypeScript, TypeScript React, Vue
Configuration:
copyrighter.author
: Set the copyright holder namecopyrighter.license
: Choose license type (none, Apache2, MIT, GPL3)copyrighter.note
: Optional additional notecopyrighter.newFilesOnly
: Only inject copyright in new files
Example VSCode settings:
{
"copyrighter.author": "Your Name",
"copyrighter.license": "MIT"
}
Automatically applies enhanced semantic highlighting settings for Rust development. This extension:
- Detects when R3BL Theme is active
- Offers to apply semantic highlighting automatically
- Provides commands to enable/disable enhanced highlighting
- Works seamlessly with rust-analyzer
Install the complete R3BL development experience with one extension:
-
Install the R3BL Extension Pack:
# For VSCode users code --install-extension r3bl-extension-pack-1.0.0.vsix # For VSCode Insiders users code-insiders --install-extension r3bl-extension-pack-1.0.0.vsix
-
Restart VSCode and you're ready to go!
- R3BL Theme will be available in your color themes
- Copyright insertion will work automatically
- Enhanced Rust semantic highlighting will be offered when you select the R3BL Theme
- rust-analyzer will provide full Rust language support
If you prefer to install individual extensions using prebuilt .vsix files:
-
Clone the repository:
git clone https://github.com/r3bl-org/r3bl-vscode-extensions.git cd r3bl-vscode-extensions
-
Install specific extensions:
# For VSCode users # Install R3BL Theme code --install-extension r3bl-theme-1.0.0.vsix # Install R3BL Auto Insert Copyright code --install-extension r3bl-auto-insert-copyright-1.0.0.vsix # Install R3BL Semantic Configuration code --install-extension r3bl-semantic-config-1.0.0.vsix # For VSCode Insiders users # Install R3BL Theme code-insiders --install-extension r3bl-theme-1.0.0.vsix # Install R3BL Auto Insert Copyright code-insiders --install-extension r3bl-auto-insert-copyright-1.0.0.vsix # Install R3BL Semantic Configuration code-insiders --install-extension r3bl-semantic-config-1.0.0.vsix
-
Install rust-analyzer separately:
code --install-extension rust-lang.rust-analyzer
-
Restart VSCode and enjoy your new extensions!
If you want to build the extensions from source:
-
Clone the repository:
git clone https://github.com/r3bl-org/r3bl-vscode-extensions.git cd r3bl-vscode-extensions
-
Choose your approach:
Option A: Build and Install (Recommended)
./build.sh ./install.sh
build.sh
: Generates all extension .vsix artifactsinstall.sh
: Installs the pre-built .vsix files to VSCode/Insiders
Option B: Build Only
./build.sh
This script will:
- Generate all extension .vsix artifacts without installing
- Useful for CI/CD or creating distribution packages
-
Restart VSCode and enjoy your new extensions!
If you prefer to install manually or need to install specific extensions:
-
Prerequisites:
# Install vsce globally if not already installed npm install -g @vscode/vsce
-
Clone and setup:
git clone https://github.com/r3bl-org/r3bl-vscode-extensions.git cd r3bl-vscode-extensions npm install
-
Build and install specific extensions:
# For R3BL Theme cd packages/r3bl-theme vsce package --no-dependencies code --install-extension r3bl-theme-1.0.0.vsix # For R3BL Auto Insert Copyright cd ../r3bl-auto-insert-copyright npm run compile vsce package --no-dependencies code --install-extension r3bl-auto-insert-copyright-1.0.0.vsix # For R3BL Semantic Configuration cd ../r3bl-semantic-config npm run compile vsce package --no-dependencies code --install-extension r3bl-semantic-config-1.0.0.vsix # For R3BL Extension Pack cd ../r3bl-extension-pack vsce package --no-dependencies code --install-extension r3bl-extension-pack-1.0.0.vsix
- Install the R3BL Extension Pack (recommended) or individual extensions
- Select the R3BL Theme:
- Go to
File > Preferences > Color Theme
(orCtrl+K Ctrl+T
) - Select "R3BL Theme" from the list
- Go to
- Enable Enhanced Semantic Highlighting:
- When you select the R3BL Theme, the semantic configuration extension will offer to apply enhanced highlighting
- Click "Yes" to automatically configure semantic tokens for Rust
- Or use the command palette:
R3BL: Enable Semantic Highlighting
That's it! No manual configuration needed - everything is handled automatically.
npm install
# Generate all extension .vsix artifacts
./build.sh
# Or build specific extensions manually:
npm run build:theme
npm run build:copyright
npm run build:semantic-config
# Generate all extension .vsix artifacts (same as build.sh)
./build.sh
# Or package specific extensions:
npm run package:theme
npm run package:copyright
npm run package:semantic-config
npm run package:extension-pack
./build.sh
This generates all .vsix files with your latest changes. The build script:
- Compiles TypeScript extensions (r3bl-auto-insert-copyright, r3bl-semantic-config)
- Packages all individual extensions
- Builds the extension pack
- Creates all .vsix artifacts in their respective directories
After building, run ./install.sh
to install the generated .vsix files. This separation is crucial for:
- Clean separation between building and installing
- Enabling CI/CD workflows that only build artifacts
- Allowing install.sh to work with pre-built .vsix files
- Maintaining consistency across the monorepo
npm run test
npm run lint
packages/
├── r3bl-extension-pack/ # Extension pack (installs all R3BL extensions)
├── r3bl-theme/ # Theme extension
├── r3bl-auto-insert-copyright/ # Copyright insertion extension
└── r3bl-semantic-config/ # Semantic highlighting configuration
Each extension maintains its own package.json and can be developed independently while sharing common tooling and configuration.
Each extension can be published individually to the VSCode marketplace using their respective package.json configurations.
MIT - See individual extension LICENSE files for details.