🖥️ Host File Editor
A powerful VS Code extension for editing your system hosts file with a modern UI.
Author: dark-aura-95 | Publisher: Aura Box
🚀 Release 3.0.1
This release delivers a refined hosts editor experience with improved group management, fast entry navigation, and modern import/export support.
- Add and manage named host groups easily
- Rename and delete groups from the UI
- Create new groups while editing entries
- Flush DNS cache from inside VS Code
- Export and import host entries as JSON
✨ Features
📋 Hosts File Management
- View hosts entries in a clean, editable table
- Add, edit, and delete entries
- Enable or disable entries with one click
- Validate IPv4, IPv6, and hostname values
🗂️ Group Management
- Create and rename groups directly in the editor
- Delete custom groups and move entries back to
Default
- Select groups while editing or creating entries
- Filter entries by group and status
🔄 DNS Cache Flushing
| Platform |
Command Used |
| Windows |
ipconfig /flushdns |
| macOS |
dscacheutil -flushcache + killall -HUP mDNSResponder |
| Linux |
systemd-resolve --flush-caches or nscd restart |
📤 Import / Export
- Export your current host entries as JSON
- Import entries from JSON files
⚙️ Install
- Open VS Code
- Install the extension from the Marketplace or use
vsce package
- Run the command
Host File Editor: Open Host File Editor
🧠 Notes
- On Linux, elevated permissions are required to save the hosts file.
- DNS flush support depends on the host system utilities installed.
- The extension uses
sudo-prompt for privilege escalation when needed.
📄 License
MIT © 2024 dark-aura-95 / Aura Box
| |