yetone / avante.nvim

Use your Neovim like using Cursor AI IDE!
Apache License 2.0
6.45k stars 234 forks source link

feature: All or selected kinds of file comprehensive codebase functionality in workspace #742

Open takeshiD opened 5 days ago

takeshiD commented 5 days ago

Feature request

I would like to apply codebase to all file extensions in the workspace, not just specific ones, and get answers from AI.

Motivation

In projects like Tauri, where multiple file types like Rust and Typescript are mixed, responding based on a single file extension is a bit unsatisfactory. For example, when requesting assistance with backend interface design that considers the frontend, knowledge of both frontend and backend is required.

To achieve this, I suspect it would be sufficient to allow RepoMap.get_repo_map to accept multiple file extensions as arguments instead of a single one. However, I haven't come up with a suitable user interface for selecting extensions.

Other

I haven't fully grasped the entirety of avante.nvim yet, but I will do my best to understand the code and submit a PR. However, I would like to discuss the user interface aspect.

aarnphm commented 4 days ago

hmm you might be interested in crates/avante-repo-map

but we need to figure out how to control this behaviour without reaching prompt length

For huge codebase like tauri, you might want to try gemini given they have 1M context length.