chore(vscode): set keybinding default to vscode-style. (#302)
parent
3c8455077e
commit
ec73728825
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
## Basic Usage
|
## Basic Usage
|
||||||
|
|
||||||
Tabby will show inline suggestions when you stop typing.
|
Tabby will show inline suggestions when you stop typing, and you can accept suggestions by just pressing the `Tab` key.
|
||||||
You can accept press `Tab` to accept by line, `Ctrl +Tab` key to accept full suggestion, or `Ctrl + RightArrow` to accept single word.
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
@ -15,7 +14,7 @@ When multiple choices are available, you can cycle through them by pressing `Alt
|
||||||
|
|
||||||
You can select a keybinding profile in the [settings](command:tabby.openSettings), or customize your own [keybindings](command:tabby.openKeybindings).
|
You can select a keybinding profile in the [settings](command:tabby.openSettings), or customize your own [keybindings](command:tabby.openKeybindings).
|
||||||
|
|
||||||
| | Accept Full Completion | Accept Next Word | Accept Next Line |
|
| | Next Line | Full Completion | Next Word |
|
||||||
| -------------: | :--------------------: | :---------------: | :--------------: |
|
| :--------------------------------- | :-------- | :-------------- | :---------------- |
|
||||||
| _tabby-style_ | Ctrl + Tab | Ctrl + RightArrow | Tab |
|
| _vscode-style_ | - | Tab | Ctrl + RightArrow |
|
||||||
| _vscode-style_ | Tab | Ctrl + RightArrow | - |
|
| _tabby-style_<br/>_(experimental)_ | Tab | Ctrl + Tab | Ctrl + RightArrow |
|
||||||
|
|
|
||||||
|
|
@ -124,11 +124,11 @@
|
||||||
"tabby.keybindings": {
|
"tabby.keybindings": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"tabby-style",
|
"vscode-style",
|
||||||
"vscode-style"
|
"tabby-style"
|
||||||
],
|
],
|
||||||
"default": "tabby-style",
|
"default": "vscode-style",
|
||||||
"markdownDescription": "Select keybinding profile to accept current inline completion. \n | | Accept Full Completion | Accept Next Word | Accept Next Line | \n |---:|:--:|:--:|:--:| \n | _tabby-style_ | Ctrl + Tab | Ctrl + RightArrow | Tab | \n | _vscode-style_ | Tab | Ctrl + RightArrow | - | \n "
|
"markdownDescription": "Select keybinding profile to accept current inline completion. \n | | Next Line | Full Completion | Next Word | \n |:---:|:---:|:---:|:---:| \n | _vscode-style_ | - | Tab | Ctrl + RightArrow | \n | _tabby-style_ <br/> _(experimental)_ | Tab | Ctrl + Tab | Ctrl + RightArrow | \n"
|
||||||
},
|
},
|
||||||
"tabby.usage.anonymousUsageTracking": {
|
"tabby.usage.anonymousUsageTracking": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,6 @@ export function agent(): TabbyAgent {
|
||||||
|
|
||||||
export async function createAgentInstance(context: ExtensionContext): Promise<TabbyAgent> {
|
export async function createAgentInstance(context: ExtensionContext): Promise<TabbyAgent> {
|
||||||
if (!instance) {
|
if (!instance) {
|
||||||
// NOTE: env.appHost will be "desktop" when running target "Run Web Extension in VS Code"
|
|
||||||
// To test data store in the web extension, run target "Run Web Extension in Browser"
|
|
||||||
const extensionDataStore: DataStore = {
|
const extensionDataStore: DataStore = {
|
||||||
data: {},
|
data: {},
|
||||||
load: async function () {
|
load: async function () {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue