Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Host File EditorNew to Visual Studio Code? Get it now.
Host File Editor

Host File Editor

AuraBox

|
75 installs
| (0) | Free
Manage your system hosts file with a clean, modern UI. Supports Windows, Linux, and macOS.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🖥️ 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

  1. Open VS Code
  2. Install the extension from the Marketplace or use vsce package
  3. 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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft