Separate actions for accepting the inline suggestions and completions (#12094)

Release Notes:
- Added `editor::AcceptInlineCompletion` action (bound to Tab by
default) for accepting inline completions. ([6788](https://github.com/zed-industries/zed/issues/6788))

---------

Signed-off-by: Raphael Lüthy <raphael.luethy@fhnw.ch>
Co-authored-by: Conrad Irvin <conrad@zed.dev>
This commit is contained in:
Raphael Lüthy
2024-05-22 13:51:21 +03:00
committed by GitHub
co-authored by Conrad Irvin
parent 7c9c80d663
commit e68ef944d9
6 changed files with 36 additions and 30 deletions
+6
View File
@@ -501,6 +501,12 @@
"tab": "editor::ConfirmCompletion"
}
},
{
"context": "Editor && inline_completion && !showing_completions",
"bindings": {
"tab": "editor::AcceptInlineCompletion"
}
},
{
"context": "Editor && showing_code_actions",
"bindings": {