8 Commits

Author SHA1 Message Date
Enes Kutay SEZEN
9895ce7681
feat (file_selector): Add multi select (#971)
* Add multi select

* Remove comment
2025-01-05 17:23:52 +08:00
Rohith Ravi
be92be6124
feat(context): mention @quickfix to add files in qf to context (#988)
Neovim allows quickfix list to be populated in a variety of ways: grep,
lsp symbol references etc. Being able to add files in the quickfix
window to the LLM chat context allows for interesting workflows. For
example, one could search for a symbol using the LSP integration,
populate the quickfix with that list and then pass those along as
context in Avante using @quickfix mention in the sidebar.

If there are no files in the quickfix list or the items do not have a
file, nothing is added to the context.
2024-12-24 22:48:37 +08:00
Christopher Brewin
8067cb0240
fix(file_selector): empty buffer and chat without file context. (#953) 2024-12-18 19:22:40 +08:00
yetone
4d1447b62f
fix: also filter out selected files when using fzf and telescope (#947) 2024-12-13 23:23:16 +08:00
yetone
1516ce093a
fix(ci): lua style (#946) 2024-12-13 23:05:44 +08:00
Fernando Freire
5c20cc1779
feat(context): add current buffer to selected file ctx (#941) 2024-12-13 22:57:42 +08:00
Aaron Lifton
a1da07097d
feat: allow configurable file select provider (#944)
- add file_selector config
- add providers for fzf and telescope
2024-12-13 22:55:36 +08:00
Christopher Brewin
78dd9b0a6d
feat(context): add a ui for selecting and adding files to the sidebar as context (#912)
* feat(sidebar): supports select files

chore (context) update add type annotations to context functions

chore (sidebar) remove unused notify function call

refactor (sidebar) remove setting search file to file path

chore (sidebar) remove nvim_notify debugging api call

* feat (files) allow selecting a file by string via cmp suggestion menu

* chore (context) refactor to allow context using @file with a context view

* refactor (context) refactor seletected file types as an array of path and content

* refactor (config) remove unused configuration options

* refactor (sidebar) remove unused unbild key

* refactor (context) remove unused imports

* refactor (mentions) update mentions to support items with callback functions and removal of the underlying selection.

* fix (sidebar) add file context as a window that is visitable via the tab key

* refactor (file_content) remove file content as an input to llm

* feat (sidebar) support suggesting and applying code in all languages that are in the context

* feat (sidebar) configurable mapping for removing a file from the context.

* feat (context_view) configure hints for the context view for adding and deleting a file.

* feat (context) add hints for the context view.

* fix (sidebar) type when scrolling the results buffer.

* refactor (selected files) refactor llm stream to accept an array of selected file metadata

* refactor: context => selected_files

---------

Co-authored-by: yetone <yetoneful@gmail.com>
2024-12-12 01:29:10 +08:00