mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
assistant: Remove feature flag for terminal inline assistant (#15432)
This PR removes the feature flag for the terminal inline assistant, making it available to everyone. Release Notes: - Use Ctrl+Enter to summon the inline assistant in the terminal, which let's you generate terminal commands based on your description ([demo](https://twitter.com/thorstenball/status/1814241447383605329))
This commit is contained in:
parent
f124ca6474
commit
0b4afe518b
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -410,7 +410,6 @@ dependencies = [
|
||||
"ctor",
|
||||
"editor",
|
||||
"env_logger",
|
||||
"feature_flags",
|
||||
"fs",
|
||||
"futures 0.3.28",
|
||||
"fuzzy",
|
||||
|
@ -34,7 +34,6 @@ collections.workspace = true
|
||||
command_palette_hooks.workspace = true
|
||||
completion.workspace = true
|
||||
editor.workspace = true
|
||||
feature_flags.workspace = true
|
||||
fs.workspace = true
|
||||
futures.workspace = true
|
||||
fuzzy.workspace = true
|
||||
|
@ -644,11 +644,6 @@ impl AssistantPanel {
|
||||
.focus_handle(cx)
|
||||
.contains_focused(cx)
|
||||
{
|
||||
use feature_flags::FeatureFlagAppExt;
|
||||
if !cx.has_flag::<feature_flags::TerminalInlineAssist>() {
|
||||
return None;
|
||||
}
|
||||
|
||||
if let Some(terminal_view) = terminal_panel
|
||||
.read(cx)
|
||||
.pane()
|
||||
|
@ -43,11 +43,6 @@ impl FeatureFlag for LanguageModels {
|
||||
const NAME: &'static str = "language-models";
|
||||
}
|
||||
|
||||
pub struct TerminalInlineAssist {}
|
||||
impl FeatureFlag for TerminalInlineAssist {
|
||||
const NAME: &'static str = "terminal-inline-assist";
|
||||
}
|
||||
|
||||
pub struct GroupedDiagnostics {}
|
||||
impl FeatureFlag for GroupedDiagnostics {
|
||||
const NAME: &'static str = "grouped-diagnostics";
|
||||
|
Loading…
Reference in New Issue
Block a user