enable continue autocomplete
This commit is contained in:
parent
3c5eabf430
commit
6f99efb7f3
3 changed files with 78 additions and 1 deletions
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
|
@ -53,6 +53,7 @@
|
|||
"nordified",
|
||||
"Noto",
|
||||
"nvme",
|
||||
"ollama",
|
||||
"Östberg",
|
||||
"papirus",
|
||||
"pipewire",
|
||||
|
@ -64,6 +65,7 @@
|
|||
"psycopg",
|
||||
"pulseaudio",
|
||||
"pyenv",
|
||||
"Qwen",
|
||||
"rtkit",
|
||||
"Rustc",
|
||||
"tailscale",
|
||||
|
|
73
home/.continue/config.json
Normal file
73
home/.continue/config.json
Normal file
|
@ -0,0 +1,73 @@
|
|||
{
|
||||
"models": [
|
||||
{
|
||||
"model": "AUTODETECT",
|
||||
"title": "Autodetect",
|
||||
"provider": "ollama"
|
||||
}
|
||||
],
|
||||
"tabAutocompleteModel": {
|
||||
"title": "Qwen 2.5 Coder 1.5b",
|
||||
"provider": "ollama",
|
||||
"model": "qwen2.5-coder:1.5b"
|
||||
},
|
||||
"customCommands": [
|
||||
{
|
||||
"name": "test",
|
||||
"prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
|
||||
"description": "Write unit tests for highlighted code"
|
||||
}
|
||||
],
|
||||
"contextProviders": [
|
||||
{
|
||||
"name": "code",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"name": "docs",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"name": "diff",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"name": "terminal",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"name": "problems",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"name": "folder",
|
||||
"params": {}
|
||||
},
|
||||
{
|
||||
"name": "codebase",
|
||||
"params": {}
|
||||
}
|
||||
],
|
||||
"slashCommands": [
|
||||
{
|
||||
"name": "edit",
|
||||
"description": "Edit selected code"
|
||||
},
|
||||
{
|
||||
"name": "comment",
|
||||
"description": "Write comments for the selected code"
|
||||
},
|
||||
{
|
||||
"name": "share",
|
||||
"description": "Export the current chat session to markdown"
|
||||
},
|
||||
{
|
||||
"name": "cmd",
|
||||
"description": "Generate a shell command"
|
||||
},
|
||||
{
|
||||
"name": "commit",
|
||||
"description": "Generate a git commit message"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -9,6 +9,8 @@
|
|||
"application/x-zerosize" = "code.desktop";
|
||||
};
|
||||
|
||||
home.file.".continue/config.json".source = ../../home/.continue/config.json;
|
||||
|
||||
catppuccin.vscode.enable = true;
|
||||
|
||||
programs.vscode = {
|
||||
|
@ -63,7 +65,7 @@
|
|||
"intelephense.telemetry.enabled" = false;
|
||||
|
||||
# AI
|
||||
"continue.enableTabAutocomplete" = false;
|
||||
"continue.enableTabAutocomplete" = true;
|
||||
};
|
||||
|
||||
keybindings = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue