You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* refactor(functions)!: unify buffer/selection/diagnostics resources
- Replace separate `buffer`, `buffers`, `selection`, `diagnostics`
and 'quickfix' resources with a unified `buffer` and `selection`
resource that automatically includes diagnostics in the output.
- Replace `register` resource with simplified `clipboard` resource
- Add new `bash` and `edit` tools for LLM-only usage.
- Update README to reflect new resource/tool types and usage.
- Remove unused/duplicated mappings and code for old resources.
- Improve enum handling and selection UI for resource schemas.
BREAKING CHANGE: Removes `buffers`, `diagnostics`, `register`,
and `quickfix` resources. Use `buffer`, `selection`, or
`clipboard` instead.
Signed-off-by: Tomas Slusny <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Tomas Slusny <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,11 +110,11 @@ EOF
110
110
111
111
# Sticky prompt that persists
112
112
113
-
> #buffer:current
113
+
> #buffer:active
114
114
> You are a helpful coding assistant
115
115
```
116
116
117
-
When you use `@copilot`, the LLM can call functions like `glob`, `file`, `gitdiff` etc. You'll see the proposed function call and can approve/reject it before execution.
117
+
When you use `@copilot`, the LLM can call functions like `bash`, `edit`, `file`, `glob`, `grep`, `gitdiff` etc. You'll see the proposed function call and can approve/reject it before execution.
118
118
119
119
# Usage
120
120
@@ -143,7 +143,6 @@ When you use `@copilot`, the LLM can call functions like `glob`, `file`, `gitdif
143
143
|`<C-l>`|`<C-l>`| Reset and clear the chat window |
144
144
|`<C-s>`|`<CR>`| Submit the current prompt |
145
145
| - |`grr`| Toggle sticky prompt for line under cursor |
146
-
| - |`grx`| Clear all sticky prompts in prompt |
147
146
|`<C-y>`|`<C-y>`| Accept nearest diff |
148
147
| - |`gj`| Jump to section of nearest diff |
149
148
| - |`gqa`| Add all answers from chat to quickfix list |
@@ -168,20 +167,23 @@ When you use `@copilot`, the LLM can call functions like `glob`, `file`, `gitdif
0 commit comments