Feature Request: Support Codebase Semantic Indexing for Neovim
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- neovim
- Domínio
- developer-experience, tooling
Direção de pesquisa
Start by reading the existing copilot.vim LSP infrastructure and checking whether the underlying Copilot service supports repository indexing. Define how a repository index would be built, updated, queried, and supplied to requests, then verify the proposed command and cross-file retrieval against a large repository.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Feature Request: Support Codebase Semantic Indexing for Neovim
GitHub Copilot in VS Code provides Codebase Semantic Indexing, including the Chat: Build Codebase semantic index command. This is very useful when working with large repositories because Copilot can identify and retrieve relevant files and code across the codebase.
It would be very valuable to have similar functionality available in Neovim through copilot.vim.
Motivation
For a small/local coding task, the current Copilot experience works well. However, for a large codebase, repository-level context becomes increasingly important.
Without semantic codebase indexing, Neovim users may need to manually navigate to relevant files and provide context through multiple interactions. This can make large-codebase tasks less efficient and potentially result in significantly more context/tokens being used.
For example, for a request such as:
"Add a new workflow similar to the existing payment workflow."
Copilot should ideally be able to discover the relevant controllers, services, interfaces, implementations, configuration, and tests across the repository rather than relying primarily on the currently open files.
Proposed feature
Provide a way to build and maintain a semantic index of the current repository, similar to VS Code's:
Chat: Build Codebase semantic index
For example:
:Copilot build-codebase-index
The implementation could ideally reuse existing Copilot/LSP infrastructure if the underlying Copilot service already supports repository indexing.
Useful capabilities would include:
- Build an index for the current repository
- Incrementally update the index as files change
- Search/retrieve relevant code and symbols for Copilot requests
- Support repository-level and cross-file questions
- Use retrieved context when generating or modifying code
- Avoid sending unnecessary repository content to the model
Expected benefit
This would make Copilot in Neovim much more effective for large repositories, especially for:
- Multi-file feature implementation
- Refactoring
- Cross-file code understanding
- Large-scale code generation
- Finding relevant implementations and call paths
- Reducing unnecessary context/token usage
VS Code already provides this capability, so bringing equivalent repository-level semantic indexing to Neovim would significantly improve the large-codebase experience.
Thank you!
- Linguagem predominante
- Vim Script
- Estrelas
- 11.7k
- Forks
- 821
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/copilot.vim
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
github/copilot.vim#305 ·
-
No link to DeepWikiAberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
github/copilot.vim#303 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
github/copilot.vim#276 · 1 comentário · 1 reação ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 15/100
github/copilot.vim#308 ·
-
NeomarleyAberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 1/100
github/copilot.vim#304 · 1 reação ·
Todas as issues de github/copilot.vim
Issues semelhantes
-
area:release bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
registrystack/registry-stack#1874 ·
Mantenedores costumam responder em até 1 dia
-
namespace operations
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
EclipseFdn/open-vsx.org#13702 ·
Mantenedores costumam responder em até 1 dia
-
Adding SIMD typesAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
material-extensions/vscode-material-icon-theme#3610 ·
Mantenedores costumam responder em até 2 dias
-
deltareview treats a line-range citation as an unknown path, firing the delta-review pass spuriouslyAbertaagent-butler-finding bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
jordansmall/spindrift#4366 ·
Mantenedores costumam responder em até 1 dia