git clone https://github.com/incredible-mack/apache-vhost-manager.git
cd apache-vhost-manager
npm install
npm run package
Then install the .vsix file via VS Code's extensions view
Configuration
Customize paths in VS Code settings (Ctrl+,):
Search for Apache then update
"apacheVhostManager.apachePath": "C:/Apache24",
"apacheVhostManager.projectsRoot": "C:/www"
Shortcut
Platform Keybinding Condition
Windows/Linux ctrl+shift+a When folder is selected
Mac ctrl+shift+a When folder is selected
Users can change the shortcut via:
Ctrl+K Ctrl+S (Keyboard Shortcuts)
Search for "Create Apache VHost"
Right-click → "Change Keybinding"
The shortcut only works when: A folder is selected in Explorer and Not in other views like search or debug