Image viewer (#9425)
This builds on #9353 by adding an image viewer to Zed. Closes #5251. Release Notes: - Added support for rendering image files ([#5251](https://github.com/zed-industries/zed/issues/5251)). <img width="1840" alt="image" src="https://github.com/zed-industries/zed/assets/836375/3bccfa8e-aa5c-421f-9dfa-671caa274c3c"> --------- Co-authored-by: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
8d515a620f
commit
56bd96bc64
10 changed files with 422 additions and 45 deletions
|
@ -46,6 +46,7 @@ fs.workspace = true
|
|||
futures.workspace = true
|
||||
go_to_line.workspace = true
|
||||
gpui.workspace = true
|
||||
image_viewer.workspace = true
|
||||
install_cli.workspace = true
|
||||
isahc.workspace = true
|
||||
journal.workspace = true
|
||||
|
|
|
@ -15,6 +15,7 @@ use env_logger::Builder;
|
|||
use fs::RealFs;
|
||||
use futures::{future, StreamExt};
|
||||
use gpui::{App, AppContext, AsyncAppContext, Context, SemanticVersion, Task};
|
||||
use image_viewer;
|
||||
use isahc::{prelude::Configurable, Request};
|
||||
use language::LanguageRegistry;
|
||||
use log::LevelFilter;
|
||||
|
@ -165,6 +166,7 @@ fn main() {
|
|||
command_palette::init(cx);
|
||||
language::init(cx);
|
||||
editor::init(cx);
|
||||
image_viewer::init(cx);
|
||||
diagnostics::init(cx);
|
||||
copilot::init(
|
||||
copilot_language_server_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue