English | 简体中文
Fast and convenience switch hosts file for vs code.
switch system hosts for development.
- Fast switching hosts based on multiple configurations.
- Quickly open system hosts file.
- Save update system default hosts.
This extension contributes the following settings:
-
"switchHosts.config": { "config name": { "domain": "ip" } },
-
"switchHosts.selected": [ "config name" ],
save system hosts file sudoCommand, should use environmentService.cliPath, but not find this.environmentService. see environmentService
fix it: launchEditor
Initial release of switch-hosts
Complete basic functions:
- hosts config
- hosts save
- hosts selected
- hosts update default hosts
- add README features gif
- Support VS code Insiders version
- add open system hosts file:
Ctrl + Shift + p
>switch-hosts: openHostsFile
- add saved hosts notification
Enjoy!😁