Skip to content

refactor: extract completions context into pgt_treesitter crate #466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 22, 2025

Conversation

juleswritescode
Copy link
Collaborator

@juleswritescode juleswritescode commented Jul 19, 2025

I wanted to extract the treesitter-context that's used in completions, so it can also be used for the on-hover feature.

I've also tried to clean up the APIs, detangled completion-context and sanitization, and extracted the general test helpers into the pgt_test_utils crate.

@juleswritescode juleswritescode changed the title Refactor/extract ts context refactor: extract completions context into pgt_treesitter crate Jul 19, 2025
@juleswritescode juleswritescode marked this pull request as ready for review July 19, 2025 14:25
Copy link
Collaborator

@psteinroe psteinroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!!

@psteinroe psteinroe merged commit 51abce1 into main Jul 22, 2025
7 checks passed
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.

2 participants