An array of custom file paths where the extension should search for SVG icon files.
Overview
TheassetsPath setting allows you to specify additional directories where View Exports SVG should look for icon files. By default, the extension scans your entire workspace, but you can use this setting to:
- Focus scanning on specific directories
- Include icon files from outside your workspace
- Improve performance by limiting the scan scope
Configuration
Basic Example
Add a single assets directory:Multiple Paths
Specify multiple directories to scan:Absolute Paths
You can also use absolute paths:Path Format
- Relative paths: Resolved relative to the workspace root (e.g.,
./src/icons) - Absolute paths: Used as-is (e.g.,
/home/user/icons) - Path separators: Use forward slashes (
/) on all platforms
Best Practices
- Be specific: Point to actual icon directories rather than broad paths to improve scan performance
- Use relative paths: Makes your configuration portable across different machines
- Combine with ignore: Use with ignoreDirectories to fine-tune scanning
Related Settings
- Ignore Directories - Exclude specific paths from scanning
- Group Patterns - Organize found icons into custom groups