Skip to content

Commit

Permalink
Add Tab as an alternative shortcut for accepting inline completion (j…
Browse files Browse the repository at this point in the history
…upyterlab#16565)

* Update Completer shortcuts

* updates docs

* removes unintended changes

* fix

* changes editor extensions completer invoke back to "Tab"

* update docs

* add Alt+End back as an option for inline-completer:accept

* fix inline completer adding keys seperately

* revert documentation test file

* update hover image
  • Loading branch information
andrewfulton9 authored Aug 28, 2024
1 parent d2c54cf commit 0b12f66
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@
"label": "Accept Inline Completion",
"caption": "",
"shortcuts": [
"Alt End"
"Tab"
]
},
{
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/completer-extension/schema/inline-completer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"selector": ".jp-mod-completer-enabled",
"preventDefault": false
},
{
"command": "inline-completer:accept",
"keys": ["Tab"],
"selector": ".jp-mod-inline-completer-active"
},
{
"command": "inline-completer:accept",
"keys": ["Alt End"],
Expand Down

0 comments on commit 0b12f66

Please sign in to comment.