Kill Switch is a VS Code extension that allows users to quickly kill processes running on a specified port using the search bar.
- Kill Process by Port: Enter a port number in the search bar to terminate processes running on it.
- Cross-Platform Support: Works on Windows (PowerShell) and macOS/Linux (lsof & kill commands).
- Lightweight & Fast: No additional dependencies required.
- Open the VS Code search bar (
Ctrl + PorCmd + Pon Mac). - Type
>to enter command mode. - Search for
Kill Switch: Kill Process in Port. - Enter the port number (e.g.,
3000). - If a process is running on the specified port, it will be terminated.
- Windows: Requires PowerShell for process termination.
- macOS/Linux: Requires
lsofandkill.
This extension does not require any additional settings.
- Ensure that PowerShell is installed and accessible on Windows.
- For macOS/Linux,
lsofmust be installed.
- Initial release with search bar integration for killing processes by port.
- Adding sidebar integration if needed.
- Displaying process details before termination.
For more details, visit the VS Code API documentation.
Enjoy using Kill Switch! 🚀
