Feature Request: Support Codebase Semantic Indexing for Neovim
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- neovim
- Domaine
- developer-experience, tooling
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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!
- Langage dominant
- Vim Script
- Étoiles
- 11.7k
- Forks
- 821
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de github/copilot.vim
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
github/copilot.vim#305 ·
-
No link to DeepWikiOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
github/copilot.vim#303 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
github/copilot.vim#276 · 1 commentaire · 1 réaction ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
github/copilot.vim#308 ·
-
NeomarleyOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 1/100
github/copilot.vim#304 · 1 réaction ·
Toutes les issues de github/copilot.vim
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
rubygems/rubygems.org#6895 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement good first issue hacktoberfest size/medium up-for-grabs
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Redo-San/RedoSan-Authenticity#507 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
petercorke/robotics-toolbox-python#709 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
cline/mcp-marketplace#2750 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
anthropics/claude-agent-sdk-python#1353 ·
Les mainteneurs répondent en général sous 1 jour