Feature Request: Support Codebase Semantic Indexing for Neovim
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- neovim
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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!
- 主要言語
- Vim Script
- スター
- 11.7k
- フォーク
- 821
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot.vim のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
github/copilot.vim#305 ·
-
No link to DeepWikiオープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
github/copilot.vim#303 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/copilot.vim#276 · コメント 1 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
github/copilot.vim#309 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
github/copilot.vim#308 ·
github/copilot.vim の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mksglu/context-mode#1268 ·
メンテナーはふだん 5 日以内に返信
-
[bug] Setup fails with "Cannot find matching keyid" when an older Node's corepack is on PATH対応中かも @EyalPoly が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
feedback simulation workshop
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
githubnext/gh-aw-workshop#4249 ·
メンテナーはふだん 1 日以内に返信
-
Area/Debugger Priority/High Team/DevTools Type/Bug
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
ballerina-platform/ballerina-lang#44778 ·
メンテナーはふだん 1 日以内に返信
-
dx hacktoberfest help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信