https://github.com/compulim/vscode-ipaddress
Shows and inserts IP address to Visual Studio Code
https://github.com/compulim/vscode-ipaddress
Last synced: over 1 year ago
JSON representation
Shows and inserts IP address to Visual Studio Code
- Host: GitHub
- URL: https://github.com/compulim/vscode-ipaddress
- Owner: compulim
- Created: 2016-02-24T04:10:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-10-31T18:06:37.000Z (almost 3 years ago)
- Last Synced: 2025-03-24T16:03:07.691Z (over 1 year ago)
- Language: JavaScript
- Size: 414 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# IP address extension for Visual Studio Code
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.


## Usage
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`, or `Ctrl+Shift+P` on Windows and Linux, or `Shift+CMD+P` on OSX)
* Type or select "Insert IP Address"
You can also modify keyboard shortcut with JSON below.
```json
{
"key": "alt+shift+i",
"command": "ipAddress.insertIPAddress",
"when": "editorTextFocus"
}
```
### Public IP address
Public IP address is obtained from OpenDNS via [`check-ip`](https://www.npmjs.com/package/public-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.
## Change log
* 1.0.0 (2017-04-15)
* [public ip] Get public IP address from OpenDNS (via [`check-ip`](https://www.npmjs.com/package/public-ip))
* [vscode] Updated `^1.11.0`
* 0.0.1 (2016-02-24): First public release
## Contributions
Love this extension? [Star](https://github.com/compulim/vscode-ipaddress/stargazers) us!
Want to make this extension even more awesome? [Send us your wish](https://github.com/compulim/vscode-ipaddress/issues/new/).
Hate how it is working? [File an issue](https://github.com/compulim/vscode-ipaddress/issues/new/) to us.