edit predictions: Reset onboarding action (#24387)
https://github.com/user-attachments/assets/bb597b93-a616-4f8a-8608-013b8202799c Release Notes: - N/A
This commit is contained in:
parent
09967ac3d0
commit
e1bb9570df
3 changed files with 50 additions and 24 deletions
|
@ -206,6 +206,17 @@ pub enum InlineCompletionProvider {
|
|||
Zed,
|
||||
}
|
||||
|
||||
impl InlineCompletionProvider {
|
||||
pub fn is_zed(&self) -> bool {
|
||||
match self {
|
||||
InlineCompletionProvider::Zed => true,
|
||||
InlineCompletionProvider::None
|
||||
| InlineCompletionProvider::Copilot
|
||||
| InlineCompletionProvider::Supermaven => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// The settings for edit predictions, such as [GitHub Copilot](https://github.com/features/copilot)
|
||||
/// or [Supermaven](https://supermaven.com).
|
||||
#[derive(Clone, Debug, Default)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue