
Closes #10454 Implements SVG file preview capability similar to the existing markdown preview. - Adds `svg_preview` crate with preview view and live reloading upon file save. - Integrates SVG preview button in quick action bar. - File preview shortcuts (`ctrl/cmd+k v` and `ctrl/cmd+shift+v`) are extension-aware. Release Notes: - Added SVG file preview, accessible via the quick action bar button or keyboard shortcuts (`ctrl/cmd+k v` and `ctrl/cmd+shift+v`) when editing SVG files.
20 lines
358 B
TOML
20 lines
358 B
TOML
[package]
|
|
name = "svg_preview"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/svg_preview.rs"
|
|
|
|
[dependencies]
|
|
editor.workspace = true
|
|
file_icons.workspace = true
|
|
gpui.workspace = true
|
|
ui.workspace = true
|
|
workspace.workspace = true
|
|
workspace-hack.workspace = true
|