Scan, validate, preview, normalize, and expand IPv6 addresses across files and folders.
The extension is focused on RFC 5952 compliant formatting with safe preview-first workflows.
Highlights
- RFC 5952 normalization for IPv6 addresses and prefixes
- Expansion to long IPv6 form
- File and folder preview reports as Markdown (with diff blocks)
- Clickable jump links to file/line/column from preview and reports
- Live diagnostics and Quick Fix actions in editors
- Recursive folder processing with progress and cancellation
- Optional change highlighting in open editors
- Localized UI (EN, DE, PL, CS, FR, ES, IT, RU, JA)
Example
Input:
2001:0db8:0000:0000:0000:0000:0000:0001/064
Normalized:
2001:db8::1/64
Expanded:
2001:0db8:0000:0000:0000:0000:0000:0001/64
Commands
- IPv6: Scan File
- IPv6: Scan Folder
- IPv6: Preview: IPs in Short Form (RFC5952)
- IPv6: Preview: IPs in Long Form
- IPv6: Convert IP Addresses to Short Form (RFC5952)
- IPv6: Convert IP Addresses to Long Form
Commands are available via:
- Command Palette
- Explorer context menu (file and folder submenus)
- Editor context menu (file actions)
Settings
- ipv6Formatter.includeExtensions: File extensions included in folder scans.
- ipv6Formatter.excludeFolders: Folder names excluded from recursive scans.
- ipv6Formatter.maxFileSizeMB: Maximum file size processed in folder operations.
- ipv6Formatter.showFolderReport: Show summary report after folder scans/conversions.
- ipv6Formatter.highlightConvertedRanges: Highlight changed ranges after conversions.
- ipv6Formatter.showOutputLog: Write detailed conversion logs to output channel.
- ipv6Formatter.changedFilesHandling: open or saveInBackground.
Behavior Notes
- In saveInBackground mode, changed folder files are written directly to disk.
- In open mode, changed files are opened in editors after conversion.
- Quick Fix is offered for non-RFC5952 compliant IPv6 diagnostics.
Development
Requirements:
- Node.js 20+
- VS Code 1.100+
Build:
npm install
npm run compile
Run extension in development:
- Press F5 in VS Code (Extension Development Host)
Create local VSIX:
npm run package
Release Status
Current version: 1.0.0
Initial stable release.
License
MIT
| |