mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
7e3ab9acc9
- Confirming a completion now runs the command immediately - Hitting `enter` on a line with a command now runs it - The output of commands gets folded away and replaced with a custom placeholder - Eliminated ambient context <img width="1588" alt="image" src="https://github.com/zed-industries/zed/assets/482957/b1927a45-52d6-4634-acc9-2ee539c1d89a"> Release Notes: - N/A --------- Co-authored-by: Nathan Sobo <nathan@zed.dev>
13 lines
439 B
Text
13 lines
439 B
Text
interface slash-command {
|
|
/// A slash command for use in the Assistant.
|
|
record slash-command {
|
|
/// The name of the slash command.
|
|
name: string,
|
|
/// The description of the slash command.
|
|
description: string,
|
|
/// The tooltip text to display for the run button.
|
|
tooltip-text: string,
|
|
/// Whether this slash command requires an argument.
|
|
requires-argument: bool,
|
|
}
|
|
}
|