Resolve and explore AT Protocol URLs directly in Visual Studio Code. This extension integrates the ATPI tool to provide instant access to AT Protocol data while you code.
- Hover over any
at://URL to see resolved JSON data - Click CodeLens links to resolve URLs with one click
- Command Palette integration for quick resolution
Get intelligent suggestions for AT Protocol collections:
at://did:plc:example/ → app.bsky.feed.post
→ app.bsky.actor.profile
→ app.bsky.graph.follow
- Local Mode: Direct connection to PDS servers (faster, no dependencies)
- Remote Mode: Via atpi.at service (simpler, works behind firewalls)
- Auto Mode: Try local first, fallback to remote
- Syntax-highlighted JSON display
- Webview panel with search and export
- Tree view for easy navigation
- Copy data with one click
- Batch URL resolution
- History tracking
- Status bar mode indicator
- Open VS Code
- Press
Ctrl+P/Cmd+P - Type
ext install atpi-vscode - Press Enter
-
Hover Method: Simply hover over any AT Protocol URL in your code
const postUrl = "at://did:plc:7gm5ejhut7kia2kzglqfew5b/app.bsky.feed.post/3lszcx7zf622q"; // Hover over the URL above to see the data
-
Command Method:
- Select an AT URL or place cursor on it
- Press
Ctrl+Shift+2/Cmd+Shift+2(think @ for AT Protocol!) - Or use Command Palette: "ATPI: Resolve AT Protocol URL"
-
CodeLens Method: Click the "Resolve" link that appears above AT URLs
Type an AT Protocol identifier followed by / to get collection suggestions:
const url = "at://alice.bsky.social/" // Press Ctrl+Space after the slashTo resolve multiple URLs at once:
- Open a file containing AT URLs
- Run "ATPI: Batch Resolve URLs" from Command Palette
- Select which URLs to resolve
- View all results in the panel
Click the ATPI status bar item (bottom right) to switch between:
- Local (default)
- Remote
- Auto
Configure ATPI in VS Code settings:
{
// Resolution mode: "local", "remote", or "auto"
"atpi.resolutionMode": "local",
// Request timeout in milliseconds
"atpi.timeout": 30000,
// Base URL for remote resolution
"atpi.remoteBaseUrl": "https://atpi.",
// Enable caching
"atpi.enableCache": true,
// Cache duration in milliseconds
"atpi.cacheDuration": 3600000,
// Show CodeLens above AT URLs
"atpi.showCodeLens": true
}Ctrl+Shift+2/Cmd+Shift+2: Resolve AT Protocol URL (same as @ key)
- VS Code 1.85.0 or higher
- Cache is cleared when VS Code restarts
- Some AT Protocol collections may not appear in autocompletion
- Large JSON responses may be truncated in hover tooltips
Found a bug or have a feature request? Please open an issue on GitHub.
This extension is licensed under the MIT License. See the LICENSE file for details.
Built by ATProto Builders
