Skip to content

feat(php): add implementation CodeLens - #393

Open
sidux wants to merge 2 commits into
PHPantom-dev:mainfrom
sidux:feat/php-implementation-lenses
Open

feat(php): add implementation CodeLens#393
sidux wants to merge 2 commits into
PHPantom-dev:mainfrom
sidux:feat/php-implementation-lenses

Conversation

@sidux

@sidux sidux commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Why

Go to implementation already knows how to find descendants, but that capability is hard to discover from a declaration. Inherited and trait-provided implementations also need the same exact resolution path instead of a second approximation.

Summary

  • resolve inherited and trait-provided member implementations accurately
  • add implementation CodeLens for interfaces, classes, and methods after workspace indexing
  • open the exact implementation locations through the editor references UI

Validation

  • cargo clippy --all-targets -- -D warnings
  • cargo test: 14,093 passed; 12 ignored

@codecov-commenter

codecov-commenter commented Aug 27, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 94.88372% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/definition/implementation.rs 93.52% 9 Missing ⚠️
src/code_lens.rs 97.36% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@sidux
sidux force-pushed the feat/php-implementation-lenses branch from 9617693 to 40f2958 Compare August 30, 2026 15:32
sidux added 2 commits August 30, 2026 17:38
Share exact implementation locations across navigation and lenses, including concrete members supplied by traits or inherited from parent classes.
Show exact class and method implementation targets after indexing, including inherited and trait-provided members.
@sidux
sidux force-pushed the feat/php-implementation-lenses branch from 40f2958 to 15d502f Compare August 30, 2026 15:53
@sidux sidux mentioned this pull request Aug 30, 2026
6 tasks
@AJenbo AJenbo added this to the Sprint 7 milestone Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants