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:
Bennet Bo Fenner 2024-07-29 17:37:11 +02:00 committed by GitHub
parent f124ca6474
commit 0b4afe518b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 0 additions and 12 deletions

1
Cargo.lock generated
View File

@ -410,7 +410,6 @@ dependencies = [
"ctor",
"editor",
"env_logger",
"feature_flags",
"fs",
"futures 0.3.28",
"fuzzy",

View File

@ -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

View File

@ -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()

View File

@ -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";