Make editor::AcceptPartialCopilotSuggestion a deprecated alias (#35507)
This is consistent with there being no copilot expecific variant of `editor::AcceptEditPrediction`. It also fixes a case where the `disable_ai: true` has effects at init time that aren't undone when changed, added in #35327. Release Notes: - N/A
This commit is contained in:
@@ -315,9 +315,8 @@ actions!(
|
||||
[
|
||||
/// Accepts the full edit prediction.
|
||||
AcceptEditPrediction,
|
||||
/// Accepts a partial Copilot suggestion.
|
||||
AcceptPartialCopilotSuggestion,
|
||||
/// Accepts a partial edit prediction.
|
||||
#[action(deprecated_aliases = ["editor::AcceptPartialCopilotSuggestion"])]
|
||||
AcceptPartialEditPrediction,
|
||||
/// Adds a cursor above the current selection.
|
||||
AddSelectionAbove,
|
||||
|
||||
Reference in New Issue
Block a user