
Run any Jupyter kernel in Zed on any buffer (editor): <img width="1074" alt="image" src="https://github.com/zed-industries/zed/assets/836375/eac8ed69-d02b-4d46-b379-6186d8f59470"> ## TODO ### Lifecycle * [x] Launch kernels on demand * [x] Wait for kernel to be started * [x] Request Kernel info on start * [x] Show in progress indicator * [ ] Allow picking kernel (it defaults to first matching language name) * [ ] Menu for interrupting and shutting down the kernel * [ ] Drop running kernels once editor is dropped ### Media Outputs * [x] Render text and tracebacks with ANSI color handling * [x] Render markdown as text * [x] Render PNG and JPEG images using an explicit height based on line-height * ~~Render SVG~~ -- not happening for this PR due to lack of text in SVG support * [ ] Process `update_display_data` message and related `display_id` * [x] Process `page` data from payloads as outputs * [ ] Render markdown as, well, rendered markdown -- Note: unsure if we can get line heights here ### Document * [x] Select code and run * [x] Run current line * [x] Clear previous overlapping runs * [ ] Support running markdown code blocks * [ ] Action to export session as notebook or output files * [ ] Action to clear all outputs * [ ] Delete outputs when lines are deleted ## Other missing features The following is a list of missing functionality or expectations that are out of scope for this PR. ### Python Environments Detecting python environments should probably be done in a separate PR in tandem with how they're used with LSP. Users likely want to pick an environment for their project, whether a virtualenv, conda env, pyenv, poetry backed virtualenv, or the system. Related issues: * https://github.com/zed-industries/zed/issues/7646 * https://github.com/zed-industries/zed/issues/7808 * https://github.com/zed-industries/zed/issues/7296 ### LSP Integration * Submit `complete_request` messages for completions to interleave interactive variables with LSP * LSP for IPython semantics (`%%timeit`, `!ls`, `get_ipython`, etc.) ## Future release notes - Run code in any editor, whether it's a script or a markdown document Release Notes: - N/A
155 lines
4.3 KiB
TOML
155 lines
4.3 KiB
TOML
[package]
|
|
description = "The fast, collaborative code editor."
|
|
edition = "2021"
|
|
name = "zed"
|
|
version = "0.141.0"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
authors = ["Zed Team <hi@zed.dev>"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[bin]]
|
|
name = "zed"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
activity_indicator.workspace = true
|
|
anyhow.workspace = true
|
|
assets.workspace = true
|
|
assistant.workspace = true
|
|
audio.workspace = true
|
|
auto_update.workspace = true
|
|
backtrace = "0.3"
|
|
breadcrumbs.workspace = true
|
|
call.workspace = true
|
|
channel.workspace = true
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
cli.workspace = true
|
|
client.workspace = true
|
|
collab_ui.workspace = true
|
|
collections.workspace = true
|
|
command_palette.workspace = true
|
|
copilot.workspace = true
|
|
db.workspace = true
|
|
diagnostics.workspace = true
|
|
editor.workspace = true
|
|
env_logger.workspace = true
|
|
extension.workspace = true
|
|
extensions_ui.workspace = true
|
|
feedback.workspace = true
|
|
file_icons.workspace = true
|
|
file_finder.workspace = true
|
|
fs.workspace = true
|
|
futures.workspace = true
|
|
git.workspace = true
|
|
git_hosting_providers.workspace = true
|
|
go_to_line.workspace = true
|
|
gpui.workspace = true
|
|
headless.workspace = true
|
|
http.workspace = true
|
|
image_viewer.workspace = true
|
|
inline_completion_button.workspace = true
|
|
install_cli.workspace = true
|
|
isahc.workspace = true
|
|
journal.workspace = true
|
|
language.workspace = true
|
|
language_selector.workspace = true
|
|
language_tools.workspace = true
|
|
languages.workspace = true
|
|
libc.workspace = true
|
|
log.workspace = true
|
|
markdown_preview.workspace = true
|
|
menu.workspace = true
|
|
mimalloc = { version = "0.1", optional = true }
|
|
nix = {workspace = true, features = ["pthread", "signal"] }
|
|
node_runtime.workspace = true
|
|
notifications.workspace = true
|
|
outline.workspace = true
|
|
outline_panel.workspace = true
|
|
parking_lot.workspace = true
|
|
profiling.workspace = true
|
|
project.workspace = true
|
|
project_panel.workspace = true
|
|
project_symbols.workspace = true
|
|
quick_action_bar.workspace = true
|
|
recent_projects.workspace = true
|
|
dev_server_projects.workspace = true
|
|
release_channel.workspace = true
|
|
repl.workspace = true
|
|
rope.workspace = true
|
|
search.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
settings.workspace = true
|
|
simplelog = "0.9"
|
|
smol.workspace = true
|
|
tab_switcher.workspace = true
|
|
supermaven.workspace = true
|
|
task.workspace = true
|
|
tasks_ui.workspace = true
|
|
telemetry_events.workspace = true
|
|
terminal_view.workspace = true
|
|
theme.workspace = true
|
|
theme_selector.workspace = true
|
|
urlencoding = "2.1.2"
|
|
ui.workspace = true
|
|
util.workspace = true
|
|
uuid.workspace = true
|
|
vim.workspace = true
|
|
welcome.workspace = true
|
|
workspace.workspace = true
|
|
zed_actions.workspace = true
|
|
|
|
[target.'cfg(target_os = "windows")'.build-dependencies]
|
|
winresource = "0.1"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
ashpd.workspace = true
|
|
|
|
[dev-dependencies]
|
|
call = { workspace = true, features = ["test-support"] }
|
|
editor = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
language = { workspace = true, features = ["test-support"] }
|
|
project = { workspace = true, features = ["test-support"] }
|
|
tree-sitter-markdown.workspace = true
|
|
tree-sitter-rust.workspace = true
|
|
workspace = { workspace = true, features = ["test-support"] }
|
|
|
|
[package.metadata.bundle-dev]
|
|
icon = ["resources/app-icon-preview@2x.png", "resources/app-icon-preview.png"]
|
|
identifier = "dev.zed.Zed-Dev"
|
|
name = "Zed Dev"
|
|
osx_minimum_system_version = "10.15.7"
|
|
osx_info_plist_exts = ["resources/info/*"]
|
|
osx_url_schemes = ["zed"]
|
|
|
|
[package.metadata.bundle-nightly]
|
|
icon = ["resources/app-icon-nightly@2x.png", "resources/app-icon-nightly.png"]
|
|
identifier = "dev.zed.Zed-Nightly"
|
|
name = "Zed Nightly"
|
|
osx_minimum_system_version = "10.15.7"
|
|
osx_info_plist_exts = ["resources/info/*"]
|
|
osx_url_schemes = ["zed"]
|
|
|
|
[package.metadata.bundle-preview]
|
|
icon = ["resources/app-icon-preview@2x.png", "resources/app-icon-preview.png"]
|
|
identifier = "dev.zed.Zed-Preview"
|
|
name = "Zed Preview"
|
|
osx_minimum_system_version = "10.15.7"
|
|
osx_info_plist_exts = ["resources/info/*"]
|
|
osx_url_schemes = ["zed"]
|
|
|
|
[package.metadata.bundle-stable]
|
|
icon = ["resources/app-icon@2x.png", "resources/app-icon.png"]
|
|
identifier = "dev.zed.Zed"
|
|
name = "Zed"
|
|
osx_minimum_system_version = "10.15.7"
|
|
osx_info_plist_exts = ["resources/info/*"]
|
|
osx_url_schemes = ["zed"]
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["profiling"]
|