Feature Request: Support Codebase Semantic Indexing for Neovim
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- neovim
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- Vim Script
- Star
- 11.7k
- Fork
- 821
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/copilot.vim
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
github/copilot.vim#305 ·
-
No link to DeepWikiĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
github/copilot.vim#303 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot.vim#276 · 1 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
github/copilot.vim#308 ·
-
NeomarleyĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 1/100
github/copilot.vim#304 · 1 reaction ·
Tất cả issue của github/copilot.vim
Issue tương tự
-
[request] poppler-data/0.4.12Đang mởupstream update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
conan-io/conan-center-index#31098 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
cvss-severity:high devguard l3montree-cybersecurity/.../devguard-documentation pkg:devguard/l3montree-c.../devguard-documentation risk:low state:open
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
l3montree-dev/devguard-documentation#338 · 1 bình luận ·
-
bug runtime spec compliance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
frostney/GocciaScript#1413 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
EverMind-AI/Raven#845 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-acceptance wg/developer-experience-ecosystem
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
vllm-project/semantic-router#4480 ·
Maintainer thường phản hồi trong vòng 1 ngày