Commands
Open DevTools
Command ID:
JT-View-Exports-SVG.openDevToolsTitle: Open Developer ToolsIcon: Custom tools icon (filled)Close DevTools
Command ID:
JT-View-Exports-SVG.closeDevToolsTitle: Close Developer ToolsIcon: Custom tools icon (outline)Category
View Exports SVG
Availability
Both commands are available when:- The View Exports SVG webview panel is active (
activeWebviewPanelId == 'JT-View-Exports-SVG') - Actions are enabled (
JT-View-Exports-SVG.showActions == true)
Additional Conditions
-
Open DevTools: Only shown when DevTools is currently closed
!JT-View-Exports-SVG.isOpenDevTools
-
Close DevTools: Only shown when DevTools is currently open
JT-View-Exports-SVG.isOpenDevTools
Usage
From the Editor Title Bar
When the View Exports SVG panel is active, you’ll see a tools icon in the editor title bar:From Command Palette
Search for command
Type “View Exports SVG: Open Developer Tools” or “View Exports SVG: Close Developer Tools”
DevTools Panel Features
The DevTools panel provides:- Real-time property inspection for selected SVG icons
- Interactive property editing to test different configurations
- SVG code preview showing the current icon markup
- Attribute debugging to understand icon rendering
Configuration
Default Click-to-Open Behavior
Control whether clicking on an icon opens DevTools automatically:settings.json
When set to true (default)
When set to true (default)
Clicking an icon in the viewer automatically opens the DevTools panel
When set to false
When set to false
DevTools must be manually opened using the command or title bar button
Button Placement
The DevTools toggle button appears in the editor title bar at:- Navigation group position 2 (
navigation@2) - Located between the expand/collapse controls and the clear cache button
Related Commands
- Show Menu - Open the viewer to use DevTools
- Reload Theme - Refresh theme integration in DevTools