2021-02-20 20:02:34 +03:00
|
|
|
[workspace]
|
2022-10-25 20:31:58 +03:00
|
|
|
members = [
|
2024-02-16 05:54:43 +03:00
|
|
|
"crates/activity_indicator",
|
|
|
|
"crates/ai",
|
|
|
|
"crates/assets",
|
|
|
|
"crates/assistant",
|
|
|
|
"crates/audio",
|
|
|
|
"crates/auto_update",
|
|
|
|
"crates/breadcrumbs",
|
|
|
|
"crates/call",
|
|
|
|
"crates/channel",
|
|
|
|
"crates/cli",
|
|
|
|
"crates/client",
|
|
|
|
"crates/clock",
|
|
|
|
"crates/collab",
|
|
|
|
"crates/collab_ui",
|
|
|
|
"crates/collections",
|
|
|
|
"crates/command_palette",
|
2024-02-25 21:21:20 +03:00
|
|
|
"crates/command_palette_hooks",
|
2024-02-16 05:54:43 +03:00
|
|
|
"crates/copilot",
|
|
|
|
"crates/copilot_ui",
|
|
|
|
"crates/db",
|
|
|
|
"crates/diagnostics",
|
|
|
|
"crates/editor",
|
|
|
|
"crates/extension",
|
|
|
|
"crates/extensions_ui",
|
|
|
|
"crates/feature_flags",
|
|
|
|
"crates/feedback",
|
|
|
|
"crates/file_finder",
|
|
|
|
"crates/fs",
|
|
|
|
"crates/fsevent",
|
|
|
|
"crates/fuzzy",
|
|
|
|
"crates/git",
|
|
|
|
"crates/go_to_line",
|
|
|
|
"crates/gpui",
|
|
|
|
"crates/gpui_macros",
|
|
|
|
"crates/install_cli",
|
|
|
|
"crates/journal",
|
|
|
|
"crates/language",
|
|
|
|
"crates/language_selector",
|
|
|
|
"crates/language_tools",
|
2024-02-23 17:56:08 +03:00
|
|
|
"crates/languages",
|
2024-02-16 05:54:43 +03:00
|
|
|
"crates/live_kit_client",
|
|
|
|
"crates/live_kit_server",
|
|
|
|
"crates/lsp",
|
|
|
|
"crates/markdown_preview",
|
|
|
|
"crates/media",
|
|
|
|
"crates/menu",
|
|
|
|
"crates/multi_buffer",
|
|
|
|
"crates/node_runtime",
|
|
|
|
"crates/notifications",
|
|
|
|
"crates/outline",
|
|
|
|
"crates/picker",
|
|
|
|
"crates/prettier",
|
|
|
|
"crates/project",
|
|
|
|
"crates/project_panel",
|
|
|
|
"crates/project_symbols",
|
|
|
|
"crates/quick_action_bar",
|
|
|
|
"crates/recent_projects",
|
|
|
|
"crates/refineable",
|
|
|
|
"crates/refineable/derive_refineable",
|
|
|
|
"crates/release_channel",
|
|
|
|
"crates/rich_text",
|
|
|
|
"crates/rope",
|
|
|
|
"crates/rpc",
|
2024-02-21 15:56:43 +03:00
|
|
|
"crates/task",
|
|
|
|
"crates/tasks_ui",
|
2024-02-16 05:54:43 +03:00
|
|
|
"crates/search",
|
|
|
|
"crates/semantic_index",
|
|
|
|
"crates/settings",
|
|
|
|
"crates/snippet",
|
|
|
|
"crates/sqlez",
|
|
|
|
"crates/sqlez_macros",
|
|
|
|
"crates/story",
|
|
|
|
"crates/storybook",
|
|
|
|
"crates/sum_tree",
|
|
|
|
"crates/terminal",
|
|
|
|
"crates/terminal_view",
|
|
|
|
"crates/text",
|
|
|
|
"crates/theme",
|
|
|
|
"crates/theme_importer",
|
|
|
|
"crates/theme_selector",
|
2024-02-23 19:13:28 +03:00
|
|
|
"crates/telemetry_events",
|
2024-02-24 05:18:06 +03:00
|
|
|
"crates/time_format",
|
2024-02-16 05:54:43 +03:00
|
|
|
"crates/ui",
|
|
|
|
"crates/util",
|
|
|
|
"crates/vcs_menu",
|
|
|
|
"crates/vim",
|
|
|
|
"crates/welcome",
|
|
|
|
"crates/workspace",
|
|
|
|
"crates/zed",
|
|
|
|
"crates/zed_actions",
|
2022-10-25 20:31:58 +03:00
|
|
|
]
|
2021-10-04 22:22:21 +03:00
|
|
|
default-members = ["crates/zed"]
|
2022-01-26 23:51:29 +03:00
|
|
|
resolver = "2"
|
2021-04-02 20:02:09 +03:00
|
|
|
|
2022-10-11 03:10:42 +03:00
|
|
|
[workspace.dependencies]
|
2024-02-06 22:41:36 +03:00
|
|
|
activity_indicator = { path = "crates/activity_indicator" }
|
|
|
|
ai = { path = "crates/ai" }
|
|
|
|
assets = { path = "crates/assets" }
|
|
|
|
assistant = { path = "crates/assistant" }
|
|
|
|
audio = { path = "crates/audio" }
|
|
|
|
auto_update = { path = "crates/auto_update" }
|
|
|
|
breadcrumbs = { path = "crates/breadcrumbs" }
|
|
|
|
call = { path = "crates/call" }
|
|
|
|
channel = { path = "crates/channel" }
|
|
|
|
cli = { path = "crates/cli" }
|
|
|
|
client = { path = "crates/client" }
|
|
|
|
clock = { path = "crates/clock" }
|
|
|
|
collab = { path = "crates/collab" }
|
|
|
|
collab_ui = { path = "crates/collab_ui" }
|
|
|
|
collections = { path = "crates/collections" }
|
|
|
|
color = { path = "crates/color" }
|
|
|
|
command_palette = { path = "crates/command_palette" }
|
2024-02-25 21:21:20 +03:00
|
|
|
command_palette_hooks = { path = "crates/command_palette_hooks" }
|
2024-02-06 22:41:36 +03:00
|
|
|
copilot = { path = "crates/copilot" }
|
|
|
|
copilot_ui = { path = "crates/copilot_ui" }
|
|
|
|
db = { path = "crates/db" }
|
|
|
|
diagnostics = { path = "crates/diagnostics" }
|
|
|
|
editor = { path = "crates/editor" }
|
2024-02-07 23:14:50 +03:00
|
|
|
extension = { path = "crates/extension" }
|
2024-02-13 22:09:02 +03:00
|
|
|
extensions_ui = { path = "crates/extensions_ui" }
|
2024-02-06 22:41:36 +03:00
|
|
|
feature_flags = { path = "crates/feature_flags" }
|
|
|
|
feedback = { path = "crates/feedback" }
|
|
|
|
file_finder = { path = "crates/file_finder" }
|
|
|
|
fs = { path = "crates/fs" }
|
|
|
|
fsevent = { path = "crates/fsevent" }
|
|
|
|
fuzzy = { path = "crates/fuzzy" }
|
|
|
|
git = { path = "crates/git" }
|
|
|
|
go_to_line = { path = "crates/go_to_line" }
|
|
|
|
gpui = { path = "crates/gpui" }
|
|
|
|
gpui_macros = { path = "crates/gpui_macros" }
|
|
|
|
install_cli = { path = "crates/install_cli" }
|
|
|
|
journal = { path = "crates/journal" }
|
|
|
|
language = { path = "crates/language" }
|
|
|
|
language_selector = { path = "crates/language_selector" }
|
|
|
|
language_tools = { path = "crates/language_tools" }
|
2024-02-25 20:02:59 +03:00
|
|
|
languages = { path = "crates/languages" }
|
2024-02-06 22:41:36 +03:00
|
|
|
live_kit_client = { path = "crates/live_kit_client" }
|
|
|
|
live_kit_server = { path = "crates/live_kit_server" }
|
|
|
|
lsp = { path = "crates/lsp" }
|
|
|
|
markdown_preview = { path = "crates/markdown_preview" }
|
|
|
|
media = { path = "crates/media" }
|
|
|
|
menu = { path = "crates/menu" }
|
|
|
|
multi_buffer = { path = "crates/multi_buffer" }
|
|
|
|
node_runtime = { path = "crates/node_runtime" }
|
|
|
|
notifications = { path = "crates/notifications" }
|
|
|
|
outline = { path = "crates/outline" }
|
|
|
|
picker = { path = "crates/picker" }
|
|
|
|
plugin = { path = "crates/plugin" }
|
|
|
|
plugin_macros = { path = "crates/plugin_macros" }
|
|
|
|
prettier = { path = "crates/prettier" }
|
|
|
|
project = { path = "crates/project" }
|
|
|
|
project_panel = { path = "crates/project_panel" }
|
|
|
|
project_symbols = { path = "crates/project_symbols" }
|
|
|
|
quick_action_bar = { path = "crates/quick_action_bar" }
|
|
|
|
recent_projects = { path = "crates/recent_projects" }
|
|
|
|
release_channel = { path = "crates/release_channel" }
|
|
|
|
rich_text = { path = "crates/rich_text" }
|
|
|
|
rope = { path = "crates/rope" }
|
|
|
|
rpc = { path = "crates/rpc" }
|
2024-02-21 15:56:43 +03:00
|
|
|
task = { path = "crates/task" }
|
|
|
|
tasks_ui = { path = "crates/tasks_ui" }
|
2024-02-06 22:41:36 +03:00
|
|
|
search = { path = "crates/search" }
|
|
|
|
semantic_index = { path = "crates/semantic_index" }
|
|
|
|
settings = { path = "crates/settings" }
|
|
|
|
snippet = { path = "crates/snippet" }
|
|
|
|
sqlez = { path = "crates/sqlez" }
|
|
|
|
sqlez_macros = { path = "crates/sqlez_macros" }
|
|
|
|
story = { path = "crates/story" }
|
|
|
|
storybook = { path = "crates/storybook" }
|
|
|
|
sum_tree = { path = "crates/sum_tree" }
|
|
|
|
terminal = { path = "crates/terminal" }
|
|
|
|
terminal_view = { path = "crates/terminal_view" }
|
|
|
|
text = { path = "crates/text" }
|
|
|
|
theme = { path = "crates/theme" }
|
|
|
|
theme_importer = { path = "crates/theme_importer" }
|
|
|
|
theme_selector = { path = "crates/theme_selector" }
|
2024-02-24 05:18:06 +03:00
|
|
|
telemetry_events = { path = "crates/telemetry_events" }
|
|
|
|
time_format = { path = "crates/time_format" }
|
2024-02-06 22:41:36 +03:00
|
|
|
ui = { path = "crates/ui" }
|
|
|
|
util = { path = "crates/util" }
|
|
|
|
vcs_menu = { path = "crates/vcs_menu" }
|
|
|
|
vim = { path = "crates/vim" }
|
|
|
|
welcome = { path = "crates/welcome" }
|
|
|
|
workspace = { path = "crates/workspace" }
|
|
|
|
zed = { path = "crates/zed" }
|
|
|
|
zed_actions = { path = "crates/zed_actions" }
|
|
|
|
|
2024-01-31 05:41:29 +03:00
|
|
|
anyhow = "1.0.57"
|
2024-01-27 04:22:31 +03:00
|
|
|
async-compression = { version = "0.4", features = ["gzip", "futures-io"] }
|
2024-02-13 22:09:02 +03:00
|
|
|
async-tar = "0.4.2"
|
2024-01-31 05:41:29 +03:00
|
|
|
async-trait = "0.1"
|
2024-02-17 00:39:40 +03:00
|
|
|
blade-graphics = { git = "https://github.com/kvark/blade", rev = "e9d93a4d41f3946a03ffb76136290d6ccf7f2b80" }
|
|
|
|
blade-macros = { git = "https://github.com/kvark/blade", rev = "e9d93a4d41f3946a03ffb76136290d6ccf7f2b80" }
|
|
|
|
blade-rwh = { package = "raw-window-handle", version = "0.5" }
|
2024-01-23 00:11:24 +03:00
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
2024-02-23 19:13:28 +03:00
|
|
|
clickhouse = { version = "0.11.6" }
|
2024-01-05 20:08:41 +03:00
|
|
|
ctor = "0.2.6"
|
2024-02-24 05:18:06 +03:00
|
|
|
core-foundation = { version = "0.9.3" }
|
|
|
|
core-foundation-sys = "0.8.6"
|
2024-01-31 05:41:29 +03:00
|
|
|
derive_more = "0.99.17"
|
|
|
|
env_logger = "0.9"
|
|
|
|
futures = "0.3"
|
2024-02-02 17:58:07 +03:00
|
|
|
git2 = { version = "0.15", default-features = false }
|
2024-01-31 05:41:29 +03:00
|
|
|
globset = "0.4"
|
2024-02-23 19:13:28 +03:00
|
|
|
hex = "0.4.3"
|
2023-05-23 08:11:22 +03:00
|
|
|
indoc = "1"
|
2024-02-26 04:37:52 +03:00
|
|
|
# We explicitly disable http2 support in isahc.
|
2024-02-16 05:54:43 +03:00
|
|
|
isahc = { version = "1.7.2", default-features = false, features = ["static-curl", "text-decoding"] }
|
2024-02-26 04:37:52 +03:00
|
|
|
itertools = "0.11.0"
|
2024-01-31 05:41:29 +03:00
|
|
|
lazy_static = "1.4.0"
|
2024-02-20 07:49:47 +03:00
|
|
|
linkify = "0.10.0"
|
2023-04-25 03:41:55 +03:00
|
|
|
log = { version = "0.4.16", features = ["kv_unstable_serde"] }
|
2024-01-31 05:41:29 +03:00
|
|
|
ordered-float = "2.1.1"
|
|
|
|
parking_lot = "0.11.1"
|
2024-02-22 21:59:52 +03:00
|
|
|
profiling = "1"
|
2023-04-25 03:41:55 +03:00
|
|
|
postage = { version = "0.5", features = ["futures-traits"] }
|
2024-01-31 05:41:29 +03:00
|
|
|
pretty_assertions = "1.3.0"
|
|
|
|
prost = "0.8"
|
2024-02-26 22:04:48 +03:00
|
|
|
pulldown-cmark = { version = "0.10.0", default-features = false }
|
2024-01-31 05:41:29 +03:00
|
|
|
rand = "0.8.5"
|
2023-08-18 10:03:46 +03:00
|
|
|
refineable = { path = "./crates/refineable" }
|
2024-01-31 05:41:29 +03:00
|
|
|
regex = "1.5"
|
2023-10-03 22:16:53 +03:00
|
|
|
rusqlite = { version = "0.29.0", features = ["blob", "array", "modern_sqlite"] }
|
2024-01-31 05:41:29 +03:00
|
|
|
rust-embed = { version = "8.0", features = ["include-exclude"] }
|
|
|
|
schemars = "0.8"
|
2024-02-16 05:54:43 +03:00
|
|
|
semver = "1.0"
|
2022-10-11 03:10:42 +03:00
|
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
2023-03-17 17:39:24 +03:00
|
|
|
serde_derive = { version = "1.0", features = ["deserialize_in_place"] }
|
2022-10-11 03:10:42 +03:00
|
|
|
serde_json = { version = "1.0", features = ["preserve_order", "raw_value"] }
|
2024-02-16 05:54:43 +03:00
|
|
|
serde_json_lenient = { version = "0.1", features = ["preserve_order", "raw_value"] }
|
2024-01-27 06:40:31 +03:00
|
|
|
serde_repr = "0.1"
|
2024-02-23 19:13:28 +03:00
|
|
|
sha2 = "0.10"
|
2024-02-25 20:02:59 +03:00
|
|
|
shellexpand = "2.1.0"
|
2023-04-20 10:11:45 +03:00
|
|
|
smallvec = { version = "1.6", features = ["union"] }
|
2024-01-31 05:41:29 +03:00
|
|
|
smol = "1.2"
|
2023-10-05 00:16:32 +03:00
|
|
|
strum = { version = "0.25.0", features = ["derive"] }
|
2023-10-03 02:35:31 +03:00
|
|
|
sysinfo = "0.29.10"
|
2024-01-31 05:41:29 +03:00
|
|
|
tempfile = "3.9.0"
|
|
|
|
thiserror = "1.0.29"
|
2023-11-14 17:12:25 +03:00
|
|
|
tiktoken-rs = "0.5.7"
|
2024-02-16 05:54:43 +03:00
|
|
|
time = { version = "0.3", features = ["serde", "serde-well-known", "formatting"] }
|
2024-02-17 01:43:40 +03:00
|
|
|
toml = "0.8"
|
2024-02-23 22:50:06 +03:00
|
|
|
tower-http = "0.4.4"
|
2024-02-25 11:35:19 +03:00
|
|
|
tree-sitter = { version = "0.20", features = ["wasm"] }
|
2024-02-12 21:10:40 +03:00
|
|
|
tree-sitter-astro = { git = "https://github.com/virchau13/tree-sitter-astro.git", rev = "e924787e12e8a03194f36a113290ac11d6dc10f3" }
|
2023-10-24 10:16:06 +03:00
|
|
|
tree-sitter-bash = { git = "https://github.com/tree-sitter/tree-sitter-bash", rev = "7331995b19b8f8aba2d5e26deb51d2195c18bc94" }
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-c = "0.20.1"
|
2024-02-14 14:55:31 +03:00
|
|
|
tree-sitter-clojure = { git = "https://github.com/prcastro/tree-sitter-clojure", branch = "update-ts" }
|
2024-01-30 20:54:39 +03:00
|
|
|
tree-sitter-c-sharp = { git = "https://github.com/tree-sitter/tree-sitter-c-sharp", rev = "dd5e59721a5f8dae34604060833902b882023aaf" }
|
2024-02-02 17:58:07 +03:00
|
|
|
tree-sitter-cpp = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "f44509141e7e483323d2ec178f2d2e6c0fc041c1" }
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-css = { git = "https://github.com/tree-sitter/tree-sitter-css", rev = "769203d0f9abe1a9a691ac2b9fe4bb4397a73c51" }
|
2024-02-18 21:44:54 +03:00
|
|
|
tree-sitter-dockerfile = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = "33e22c33bcdbfc33d42806ee84cfd0b1248cc392" }
|
2024-02-19 22:10:08 +03:00
|
|
|
tree-sitter-dart = { git = "https://github.com/agent3bood/tree-sitter-dart", rev = "48934e3bf757a9b78f17bdfaa3e2b4284656fdc7" }
|
2023-07-28 03:41:13 +03:00
|
|
|
tree-sitter-elixir = { git = "https://github.com/elixir-lang/tree-sitter-elixir", rev = "a2861e88a730287a60c11ea9299c033c7d076e30" }
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-elm = { git = "https://github.com/elm-tooling/tree-sitter-elm", rev = "692c50c0b961364c40299e73c1306aecb5d20f40" }
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-embedded-template = "0.20.0"
|
2024-02-01 19:54:26 +03:00
|
|
|
tree-sitter-erlang = "0.4.0"
|
2024-01-31 20:41:19 +03:00
|
|
|
tree-sitter-gitcommit = { git = "https://github.com/gbprod/tree-sitter-gitcommit" }
|
2024-01-26 02:44:35 +03:00
|
|
|
tree-sitter-gleam = { git = "https://github.com/gleam-lang/tree-sitter-gleam", rev = "58b7cac8fc14c92b0677c542610d8738c373fa81" }
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-glsl = { git = "https://github.com/theHamsta/tree-sitter-glsl", rev = "2a56fb7bc8bb03a1892b4741279dd0a8758b7fb3" }
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-go = { git = "https://github.com/tree-sitter/tree-sitter-go", rev = "aeb2f33b366fd78d5789ff104956ce23508b85db" }
|
2024-01-31 10:46:13 +03:00
|
|
|
tree-sitter-gomod = { git = "https://github.com/camdencheek/tree-sitter-go-mod" }
|
2024-01-31 22:11:03 +03:00
|
|
|
tree-sitter-gowork = { git = "https://github.com/d1y/tree-sitter-go-work" }
|
2024-02-20 03:44:24 +03:00
|
|
|
tree-sitter-haskell = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "8a99848fc734f9c4ea523b3f2a07df133cbbcec2" }
|
2024-02-06 22:41:36 +03:00
|
|
|
tree-sitter-hcl = { git = "https://github.com/MichaHoffmann/tree-sitter-hcl", rev = "v1.1.0" }
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-heex = { git = "https://github.com/phoenixframework/tree-sitter-heex", rev = "2e1348c3cf2c9323e87c2744796cf3f3868aa82a" }
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-html = "0.19.0"
|
2024-02-25 11:35:19 +03:00
|
|
|
tree-sitter-json = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "40a81c01a40ac48744e0c8ccabbaba1920441199" }
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-lua = "0.0.14"
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-markdown = { git = "https://github.com/MDeiml/tree-sitter-markdown", rev = "330ecab87a3e3a7211ac69bbadc19eabecdb1cca" }
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-nix = { git = "https://github.com/nix-community/tree-sitter-nix", rev = "66e3e9ce9180ae08fc57372061006ef83f0abde7" }
|
2024-02-20 20:05:09 +03:00
|
|
|
tree-sitter-nu = { git = "https://github.com/nushell/tree-sitter-nu", rev = "7dd29f9616822e5fc259f5b4ae6c4ded9a71a132" }
|
2024-02-02 17:58:07 +03:00
|
|
|
tree-sitter-ocaml = { git = "https://github.com/tree-sitter/tree-sitter-ocaml", rev = "4abfdc1c7af2c6c77a370aee974627be1c285b3b" }
|
2024-01-28 01:43:39 +03:00
|
|
|
tree-sitter-php = "0.21.1"
|
2024-02-10 21:26:39 +03:00
|
|
|
tree-sitter-prisma-io = { git = "https://github.com/victorhqc/tree-sitter-prisma" }
|
2024-02-02 17:58:07 +03:00
|
|
|
tree-sitter-proto = { git = "https://github.com/rewinfrey/tree-sitter-proto", rev = "36d54f288aee112f13a67b550ad32634d0c2cb52" }
|
2024-02-23 14:19:36 +03:00
|
|
|
tree-sitter-purescript = { git = "https://github.com/postsolar/tree-sitter-purescript", rev = "v0.1.0" }
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-python = "0.20.2"
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-racket = { git = "https://github.com/zed-industries/tree-sitter-racket", rev = "eb010cf2c674c6fd9a6316a84e28ef90190fe51a" }
|
2023-07-14 04:09:32 +03:00
|
|
|
tree-sitter-ruby = "0.20.0"
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-rust = "0.20.3"
|
2024-01-28 01:13:23 +03:00
|
|
|
tree-sitter-scheme = { git = "https://github.com/6cdh/tree-sitter-scheme", rev = "af0fd1fa452cb2562dc7b5c8a8c55551c39273b9" }
|
2024-02-20 03:44:24 +03:00
|
|
|
tree-sitter-svelte = { git = "https://github.com/Himujjal/tree-sitter-svelte", rev = "bd60db7d3d06f89b6ec3b287c9a6e9190b5564bd" }
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-toml = { git = "https://github.com/tree-sitter/tree-sitter-toml", rev = "342d9be207c2dba869b9967124c679b5e6fd0ebe" }
|
|
|
|
tree-sitter-typescript = { git = "https://github.com/tree-sitter/tree-sitter-typescript", rev = "5d20856f34315b068c41edaee2ac8a100081d259" }
|
2024-02-20 03:44:24 +03:00
|
|
|
tree-sitter-uiua = { git = "https://github.com/shnarazk/tree-sitter-uiua", rev = "21dc2db39494585bf29a3f86d5add6e9d11a22ba" }
|
2024-01-31 05:41:29 +03:00
|
|
|
tree-sitter-vue = { git = "https://github.com/zed-industries/tree-sitter-vue", rev = "6608d9d60c386f19d80af7d8132322fa11199c42" }
|
|
|
|
tree-sitter-yaml = { git = "https://github.com/zed-industries/tree-sitter-yaml", rev = "f545a41f57502e1b5ddf2a6668896c1b0620f930" }
|
2024-01-25 07:07:18 +03:00
|
|
|
tree-sitter-zig = { git = "https://github.com/maxxnino/tree-sitter-zig", rev = "0d08703e4c3f426ec61695d7617415fff97029bd" }
|
2024-01-31 05:41:29 +03:00
|
|
|
unindent = "0.1.7"
|
|
|
|
url = "2.2"
|
|
|
|
uuid = { version = "1.1.2", features = ["v4"] }
|
2024-02-25 11:35:19 +03:00
|
|
|
wasmtime = "16"
|
Detect and possibly use user-installed `gopls` / `zls` language servers (#8188)
After a lot of back-and-forth, this is a small attempt to implement
solutions (1) and (3) in
https://github.com/zed-industries/zed/issues/7902. The goal is to have a
minimal change that helps users get started with Zed, until we have
extensions ready.
Release Notes:
- Added detection of user-installed `gopls` to Go language server
adapter. If a user has `gopls` in `$PATH` when opening a worktree, it
will be used.
- Added detection of user-installed `zls` to Zig language server
adapter. If a user has `zls` in `$PATH` when opening a worktree, it will
be used.
Example:
I don't have `go` installed globally, but I do have `gopls`:
```
~ $ which go
go not found
~ $ which gopls
/Users/thorstenball/code/go/bin/gopls
```
But I do have `go` in a project's directory:
```
~/tmp/go-testing φ which go
/Users/thorstenball/.local/share/mise/installs/go/1.21.5/go/bin/go
~/tmp/go-testing φ which gopls
/Users/thorstenball/code/go/bin/gopls
```
With current Zed when I run `zed ~/tmp/go-testing`, I'd get the dreaded
error:
![screenshot-2024-02-23-11 14
08@2x](https://github.com/zed-industries/zed/assets/1185253/822ea59b-c63e-4102-a50e-75501cc4e0e3)
But with the changes in this PR, it works:
```
[2024-02-23T11:14:42+01:00 INFO language::language_registry] starting language server "gopls", path: "/Users/thorstenball/tmp/go-testing", id: 1
[2024-02-23T11:14:42+01:00 INFO language::language_registry] found user-installed language server for Go. path: "/Users/thorstenball/code/go/bin/gopls", arguments: ["-mode=stdio"]
[2024-02-23T11:14:42+01:00 INFO lsp] starting language server. binary path: "/Users/thorstenball/code/go/bin/gopls", working directory: "/Users/thorstenball/tmp/go-testing", args: ["-mode=stdio"]
```
---------
Co-authored-by: Antonio <antonio@zed.dev>
2024-02-23 15:39:14 +03:00
|
|
|
which = "6.0.0"
|
2024-02-17 18:44:28 +03:00
|
|
|
sys-locale = "0.3.1"
|
2023-11-28 00:16:50 +03:00
|
|
|
|
2021-04-02 20:02:09 +03:00
|
|
|
[patch.crates-io]
|
2024-02-25 11:35:19 +03:00
|
|
|
tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "1d8975319c2d5de1bf710e7e21db25b0eee4bc66" }
|
|
|
|
wasmtime = { git = "https://github.com/bytecodealliance/wasmtime", rev = "v16.0.0" }
|
2024-02-14 14:55:31 +03:00
|
|
|
# Workaround for a broken nightly build of gpui: See #7644 and revisit once 0.5.3 is released.
|
|
|
|
pathfinder_simd = { git = "https://github.com/servo/pathfinder.git", rev = "e4fcda0d5259d0acf902aee6de7d2501f2bd6629" }
|
2022-07-09 00:08:35 +03:00
|
|
|
|
2021-04-20 01:00:10 +03:00
|
|
|
[profile.dev]
|
|
|
|
split-debuginfo = "unpacked"
|
2023-11-23 19:54:43 +03:00
|
|
|
debug = "limited"
|
2021-05-07 15:42:56 +03:00
|
|
|
|
2024-02-07 22:39:26 +03:00
|
|
|
# todo!(linux) - Remove this
|
2024-01-31 11:04:05 +03:00
|
|
|
[profile.dev.package.blade-graphics]
|
|
|
|
split-debuginfo = "off"
|
|
|
|
debug = "full"
|
|
|
|
|
2023-11-16 10:15:14 +03:00
|
|
|
[profile.dev.package.taffy]
|
|
|
|
opt-level = 3
|
|
|
|
|
2021-05-07 15:42:56 +03:00
|
|
|
[profile.release]
|
2023-11-23 19:54:43 +03:00
|
|
|
debug = "limited"
|
2023-06-06 22:50:08 +03:00
|
|
|
lto = "thin"
|
2023-06-22 19:06:17 +03:00
|
|
|
codegen-units = 1
|
2024-02-26 12:08:57 +03:00
|
|
|
|
|
|
|
[workspace.metadata.cargo-machete]
|
|
|
|
ignored = ["bindgen", "cbindgen", "prost_build", "serde"]
|