This Visual Studio Code extension helps you to easily view your current IP address from status bar and inserts one into your text, including both IPv4, IPv6, and public IP addresses across multiple active network interfaces.
You can find your IP address on the status bar. Simply click on it to iterate thru all IP addresses.
To insert IP address into the text,
- Bring up Command Palette (
F1
, orCtrl+Shift+P
on Windows and Linux, orShift+CMD+P
on OSX) - Type or select "Insert IP Address"
You can also modify keyboard shortcut with JSON below.
{
"key": "alt+shift+i",
"command": "ipAddress.insertIPAddress",
"when": "editorTextFocus"
}
Public IP address is obtained from OpenDNS via check-ip
and updated every minute.
Query public IP address will require sending packets to the Internet and we want to minimize the network traffic. If the public IP address is not shown in the status bar, we will not update the IP address. And even if it is shown, we will not update it more than once every minute.
- 1.0.0 (2017-04-15)
- [public ip] Get public IP address from OpenDNS (via
check-ip
) - [vscode] Updated
^1.11.0
- [public ip] Get public IP address from OpenDNS (via
- 0.0.1 (2016-02-24): First public release
Love this extension? Star us!
Want to make this extension even more awesome? Send us your wish.
Hate how it is working? File an issue to us.