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:
parent
7c9c80d663
commit
e68ef944d9
6 changed files with 36 additions and 30 deletions
|
@ -501,6 +501,12 @@
|
|||
"tab": "editor::ConfirmCompletion"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && inline_completion && !showing_completions",
|
||||
"bindings": {
|
||||
"tab": "editor::AcceptInlineCompletion"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && showing_code_actions",
|
||||
"bindings": {
|
||||
|
|
|
@ -515,6 +515,12 @@
|
|||
"tab": "editor::ConfirmCompletion"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && inline_completion && !showing_completions",
|
||||
"bindings": {
|
||||
"tab": "editor::AcceptInlineCompletion"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && showing_code_actions",
|
||||
"bindings": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue