DevDock
DevDock is a VS Code extension that provides a centralized hub for accessing and managing your development services directly from your editor. It eliminates the hassle of constantly switching between browser tabs and remembering port numbers by bringing all your microservices, databases, documentation, and development tools into one convenient sidebar.

Features
- Service Sidebar: Quick access to all your development services from the VS Code activity bar
- In-Editor Viewing: Open services directly in VS Code using the built-in webview
- External Browser Support: Option to open services in your external browser
- Easy Management: Add, edit, and remove services with a few clicks
- Custom Icons: Assign custom icons to your services for easy identification
- Persistent Configuration: Your service configuration is saved and persists between VS Code sessions
Installation
You can install DevDock from the VS Code Marketplace:
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "DevDock"
- Click Install
Alternatively, you can download the VSIX file and install it manually.
Usage
Adding a Service
- Click the DevDock icon in the activity bar
- Click the "+" button in the sidebar header
- Enter the service name, URL, and optional description
- Select an icon for your service
- Your service will appear in the sidebar
Opening a Service
- Click on any service in the sidebar to open it in a VS Code webview
- Right-click a service and select "Open Service" to open it in your external browser
Managing Services
- Edit a service by clicking the edit icon next to it in the sidebar
- Remove a service by clicking the trash icon next to it in the sidebar
- Refresh the service list by clicking the refresh icon in the sidebar header
Customization
DevDock can be customized through VS Code settings:
"devdock.services": [
{
"label": "JWT.io",
"url": "https://jwt.io/",
"iconPath": {
"light": "resources/jwt-light.svg",
"dark": "resources/jwt-dark.svg"
},
"description": "JSON Web Token debugger and inspector"
}
]
Adding Custom Icons
To add custom icons for your services:
- Create SVG icons for both light and dark themes
- Name them using the pattern
name-light.svg
and name-dark.svg
- Place them in the
resources
folder of the extension
- Restart VS Code or refresh the services view
Development
Prerequisites
Building
git clone https://github.com/calumsudo/DevDock.git
cd DevDock
npm install
npm run compile
Debugging
Launch the extension in debug mode from VS Code:
- Open the project in VS Code
- Press F5 to start debugging
- A new VS Code window will open with the extension loaded
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
)
- Commit your changes (
git commit -m 'Add some amazing feature'
)
- Push to the branch (
git push origin feature/amazing-feature
)
- Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- VS Code Extension API
- VS Code WebView API
Made by calumsudo