) {
let kernel = std::mem::replace(&mut self.kernel, Kernel::ShuttingDown);
match kernel {
diff --git a/crates/ui/src/components/icon.rs b/crates/ui/src/components/icon.rs
index e8c4ad31ee..fde5523147 100644
--- a/crates/ui/src/components/icon.rs
+++ b/crates/ui/src/components/icon.rs
@@ -160,11 +160,11 @@ pub enum IconName {
Font,
FontSize,
FontWeight,
- Github,
- GenericMinimize,
- GenericMaximize,
GenericClose,
+ GenericMaximize,
+ GenericMinimize,
GenericRestore,
+ Github,
Hash,
HistoryRerun,
Indicator,
@@ -194,6 +194,10 @@ pub enum IconName {
PullRequest,
Quote,
Regex,
+ ReplPlay,
+ ReplOff,
+ ReplPause,
+ ReplNeutral,
Replace,
ReplaceAll,
ReplaceNext,
@@ -231,12 +235,12 @@ pub enum IconName {
Trash,
TriangleRight,
Update,
+ Visible,
WholeWord,
XCircle,
ZedAssistant,
ZedAssistantFilled,
ZedXCopilot,
- Visible,
}
impl IconName {
@@ -308,11 +312,11 @@ impl IconName {
IconName::Font => "icons/font.svg",
IconName::FontSize => "icons/font_size.svg",
IconName::FontWeight => "icons/font_weight.svg",
- IconName::Github => "icons/github.svg",
- IconName::GenericMinimize => "icons/generic_minimize.svg",
- IconName::GenericMaximize => "icons/generic_maximize.svg",
IconName::GenericClose => "icons/generic_close.svg",
+ IconName::GenericMaximize => "icons/generic_maximize.svg",
+ IconName::GenericMinimize => "icons/generic_minimize.svg",
IconName::GenericRestore => "icons/generic_restore.svg",
+ IconName::Github => "icons/github.svg",
IconName::Hash => "icons/hash.svg",
IconName::HistoryRerun => "icons/history_rerun.svg",
IconName::Indicator => "icons/indicator.svg",
@@ -342,6 +346,10 @@ impl IconName {
IconName::PullRequest => "icons/pull_request.svg",
IconName::Quote => "icons/quote.svg",
IconName::Regex => "icons/regex.svg",
+ IconName::ReplPlay => "icons/repl_play.svg",
+ IconName::ReplPause => "icons/repl_pause.svg",
+ IconName::ReplNeutral => "icons/repl_neutral.svg",
+ IconName::ReplOff => "icons/repl_off.svg",
IconName::Replace => "icons/replace.svg",
IconName::ReplaceAll => "icons/replace_all.svg",
IconName::ReplaceNext => "icons/replace_next.svg",
@@ -379,12 +387,12 @@ impl IconName {
IconName::Trash => "icons/trash.svg",
IconName::TriangleRight => "icons/triangle_right.svg",
IconName::Update => "icons/update.svg",
+ IconName::Visible => "icons/visible.svg",
IconName::WholeWord => "icons/word_search.svg",
IconName::XCircle => "icons/error.svg",
IconName::ZedAssistant => "icons/zed_assistant.svg",
IconName::ZedAssistantFilled => "icons/zed_assistant_filled.svg",
IconName::ZedXCopilot => "icons/zed_x_copilot.svg",
- IconName::Visible => "icons/visible.svg",
}
}
}
diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md
index 91fc796d8c..48c2a589b8 100644
--- a/docs/src/SUMMARY.md
+++ b/docs/src/SUMMARY.md
@@ -22,6 +22,7 @@
- [Collaboration](./collaboration.md)
- [Tasks](./tasks.md)
- [Remote Development](./remote-development.md)
+- [Repl](./repl.md)
# Language Support
diff --git a/docs/src/repl.md b/docs/src/repl.md
new file mode 100644
index 0000000000..e7fdc0c035
--- /dev/null
+++ b/docs/src/repl.md
@@ -0,0 +1,72 @@
+# REPL
+
+Read. Eval. Print. Loop.
+
+
+
+This feature is in active development. Details may change. We're delighted to get feedback as the REPL feature evolves.
+
+
+
+
+The built-in REPL for Zed allows you to run code interactively in your editor similarly to a notebook with your own text files.
+
+
+
+To start using the REPL, add the following to your Zed `settings.json` to bring the power of [Jupyter kernels](https://docs.jupyter.org/en/latest/projects/kernels.html) to your editor:
+
+```json
+{
+ "jupyter": {
+ "enabled": true
+ }
+}
+```
+
+After that, install any of the supported kernels:
+
+* [Python](#python)
+* [TypeScript via Deno](#deno)
+
+## Python
+
+### Global environment
+
+To setup your current python to have an available kernel, run:
+
+```
+python -m ipykernel install --user
+```
+
+### Conda Environment
+
+```
+source activate myenv
+conda install ipykernel
+python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
+```
+
+
+### Virtualenv with pip
+
+```
+source activate myenv
+pip install ipykernel
+python -m ipykernel install --user --name myenv --display-name "Python (myenv)"
+```
+
+## Deno
+
+[Install Deno](https://docs.deno.com/runtime/manual/getting_started/installation/) and then install the Deno jupyter kernel:
+
+```
+deno jupyter --unstable --install
+```
+
+## Other languages
+
+* [Julia](https://github.com/JuliaLang/IJulia.jl)
+* R
+ - [Ark Kernel from Positron, formerly RStudio](https://github.com/posit-dev/ark)
+ - [Xeus-R](https://github.com/jupyter-xeus/xeus-r)
+* [Scala](https://almond.sh/docs/quick-start-install)