Skip to content

refactor(ide): centralize semantic facts#282

Closed
hongjr03 wants to merge 15 commits into
masterfrom
refactor/semantic-facts-core
Closed

refactor(ide): centralize semantic facts#282
hongjr03 wants to merge 15 commits into
masterfrom
refactor/semantic-facts-core

Conversation

@hongjr03

Copy link
Copy Markdown
Member

Summary

  • Introduce SemanticFacts as the shared IDE semantic entrypoint for target, symbol, relation, and edit facts.
  • Route hover, navigation, references, rename, document highlight, and call hierarchy through facts-layer target/relation/edit modeling.
  • Move source target logic under crates/ide/src/facts, model preprocessor macro/include targets as semantic symbols, and remove legacy reference fallback paths.
  • Preserve declaration-only reference targets so definitions with no reference edges still produce reference results when requested.

Validation

Rust CI commands run locally:

  • cargo fmt --all -- --check
  • cargo xtask check-config-artifacts
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace

Note: the GitHub CI Rust test matrix also runs on Windows and macOS after the PR is opened.

@github-actions

Copy link
Copy Markdown

Docs preview: https://vide.pascal-lab.net/preview/pr-282/

@hongjr03 hongjr03 closed this Jun 26, 2026
@hongjr03 hongjr03 deleted the refactor/semantic-facts-core branch June 27, 2026 08:40
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.

1 participant