Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

features: proposed behaviours and ideas #51

Open
8 of 13 tasks
aarnphm opened this issue Aug 17, 2024 · 20 comments
Open
8 of 13 tasks

features: proposed behaviours and ideas #51

aarnphm opened this issue Aug 17, 2024 · 20 comments

Comments

@aarnphm
Copy link
Collaborator

aarnphm commented Aug 17, 2024

A evergreen list of features and requests:

features.

ui.

  • change chat window bottom padding for vim.o.laststatus=3'

bugs.

qol.

cc @yetone for more suggestions and added to this tracking list

@yuchanns
Copy link
Collaborator

yuchanns commented Aug 18, 2024

Currently, we need to manually select a block using v to interact with. Can we auto-select a block based on the tree-sitter context?

@yetone
Copy link
Owner

yetone commented Aug 18, 2024

@yuchanns I use my configuration to leverage treesitter and quickly select a node with the simple . key.

https://github.com/yetone/cosmos-nvim/blob/b05a44687cd08a3664c084249ce7128df2ea1a6d/lua/layers/editor/configs.lua#L319

@aarnphm
Copy link
Collaborator Author

aarnphm commented Aug 18, 2024

Currently, we need to manually select a block using v to interact with. Can we auto-select a block based on the tree-sitter context?

I think this should be user config. I would prefer it not to be too invasive.

@yuchanns
Copy link
Collaborator

That's great!

@wongsingfo
Copy link

Currently, we need to manually select a block using v to interact with. Can we auto-select a block based on the tree-sitter context?

We can use the incremental_selection feature provided by nvim-treesitter to quickly select a block.

@aarnphm aarnphm pinned this issue Aug 20, 2024
@trashhalo
Copy link

New AI editor features dropping in zed. Sharing 🧵 for inspiration

https://x.com/zeddotdev/status/1825967812629631034?s=61

@raiku-dev
Copy link

raiku-dev commented Sep 2, 2024

@yetone Hey, Supermaven has this feature in VS Code that lets you attach any open files to the chat message.
I'd like to have the possibility to attach files from open buffers to give the AI more context of the setup I'm working on in K8s e.g.

Bildschirmfoto 2024-09-02 um 14 12 48

@olliezhu
Copy link

olliezhu commented Sep 3, 2024

would it be possible to add support for Nvchad? my understanding is that lazy.vim is currently recommended.

@raiku-dev
Copy link

would it be possible to add support for Nvchad? my understanding is that lazy.vim is currently recommended.

The plugin manager is meant by that but avante is compatible with any of the big plugin managers and NVChad has a place where you can add custom plugins. Check the avante readme and the NVChad docs on how to add plugins.

@aarnphm
Copy link
Collaborator Author

aarnphm commented Sep 3, 2024

any plugins manager listed on readme is supported.

@olliezhu
Copy link

olliezhu commented Sep 3, 2024

Check the avante readme and the NVChad docs on how to add plugins.

will do, thanks!

@zeroaddresss
Copy link

Vertex AI allows to use a set of LLMs (including Claude Sonnet), was wondering if it's possible to integrate Vertex within avante

@evanrichards
Copy link

Hey, Supermaven has this feature in VS Code that lets you attach any open files to the chat message.
I'd like to have the possibility to attach files from open buffers to give the AI more context of the setup I'm working on in K8s e.g.

cursor seems to support this with @'ing a file in the prompt.

@aarnphm
Copy link
Collaborator Author

aarnphm commented Sep 10, 2024

Hey, Supermaven has this feature in VS Code that lets you attach any open files to the chat message.
I'd like to have the possibility to attach files from open buffers to give the AI more context of the setup I'm working on in K8s e.g.

cursor seems to support this with @'ing a file in the prompt.

you can drag and drop or pasting image at the prompt atm. Feel free to add additional support for writing path to a file

@V4G4X
Copy link

V4G4X commented Sep 16, 2024

Hi, I see that "workspace context" is in the roadmap.

Does that mean if I open nvim with nvim /path/to/codebase:

  1. Avante will have indexed my entire codebase and pass that as context in the API request?
  2. Or will it pass my Neovim workspace (all open buffers) in the API request?

If it's the first, that's impressive, but can we get 2nd first?
Or somehow be able to pick which files' context we want to give?

@aarnphm
Copy link
Collaborator Author

aarnphm commented Sep 16, 2024

Hi, I see that "workspace context" is in the roadmap.

Does that mean if I open nvim with nvim /path/to/codebase:

Check the issue for this.

@GopherJ
Copy link

GopherJ commented Oct 7, 2024

I'd suggest to have more lsp features, avante can have an embeded lsp server to assist on diagnostics etc, generate new code actions based on diagnostics

@GopherJ
Copy link

GopherJ commented Oct 15, 2024

I just got another idea, avante can maybe provide also OCR features, which should be super cool!

something like: https://github.com/lukas-blecher/LaTeX-OCR, converting what's in clipboard to either text or latex or typst etc

@aradovic-at-symmetry
Copy link

aradovic-at-symmetry commented Oct 17, 2024

Bear in mind that there's a more fully-featured analogue for vscode called Cline. You may want to repurpose some approaches from it, maybe even parts of the code through an LLM to translate to lua.

Among its ideas:

  • give the LLM the option to run a command (after confirmation)
  • give the LLM the option to ask for access to another file
  • give you the option to give the LLM the contents of a file
  • give you the option to give the LLM the errors; for neovim the equivalent would be the quickfix or location list (because you can populate those either from :make or the Lsp)

@yuchanns
Copy link
Collaborator

yuchanns commented Oct 18, 2024

I think this might have some help to do with repo map. (Highlight the ast-grep)

Code Quality at Scale with AST Grep and LLMs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests