Stealth is a Visual Studio Code extension that automatically opens your specified localhost URL in your browser whenever you save a file. This streamlines the development process by providing immediate visual feedback on your changes.
✨ Features
Automatic Browser Launch: Opens a predefined localhost URL upon saving any file.
Configurable Settings: Customize the URL and choose between opening in your default browser or VS Code's Simple Browser.
Lightweight and Efficient: Minimal overhead with straightforward functionality.
⚙️ Installation
Via VS Code Marketplace:
Open the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).
Search for Stealth.
Click Install.
Manual Installation:
Download the latest .vsix file from the releases page.
In VS Code, press Ctrl+Shift+P (Cmd+Shift+P on macOS) and select Extensions: Install from VSIX....
Navigate to and select the downloaded .vsix file.
🚀 Usage
Open your project in VS Code.
Save any file (Ctrl+S or Cmd+S on macOS).
The configured localhost URL will automatically open in your chosen browser.
🔧 Configuration
Customize the extension to fit your workflow by modifying the following settings:
Open the settings:
Press Ctrl+, (Cmd+, on macOS).
Navigate to Extensions > Stealth.
Available Settings:
URL to Open (stealth.url):
Type: string
Default: http://localhost:3000
Description: The URL that will be opened upon saving a file.
Open in Simple Browser (stealth.openInSimpleBrowser):
Type: boolean
Default: false
Description: If set to true, the URL will open in VS Code's Simple Browser instead of the default system browser.
🛠️ Development
Interested in contributing or customizing the extension? Here's how to get started: