Code Browser
A full-featured browser extension for VS Code. Open a browser tab directly in VS Code with navigation, history, bookmarks, and tab management.
Features
- Full-featured web browser in VS Code
- Keyboard shortcut:
Ctrl+Alt+Y (Mac: Cmd+Alt+Y)
- Navigation bar with back/forward/refresh
- Browser history tracking
- Bookmarks support
- Multiple tabs support
- Clean, intuitive UI
Getting Started
Prerequisites
- VS Code 1.80.0 or later
- Node.js 16 or later
Installation
- Clone the repository
- Install dependencies:
npm install
- Compile:
npm run compile
- Press
F5 to open extension in debug mode
Usage
- Press
Ctrl+Alt+Y (or Cmd+Alt+Y on Mac) to open the browser
- Enter a URL in the address bar
- Use the navigation buttons to browse
- Add bookmarks with the bookmark button
- Switch between tabs or create new ones
Development
npm run watch - Watch for changes and recompile
npm run compile - Compile TypeScript to JavaScript
npm run lint - Run ESLint
- Press
F5 in VS Code to launch the extension in debug mode
Extension Structure
src/extension.ts - Main extension entry point
src/panels/browserPanel.ts - Browser panel logic
media/styles.css - Browser UI styles
media/script.js - Browser UI interactions
License
MIT
| |