Skip to content

feat(completions): complete policies #397

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 19 commits into from
May 22, 2025
Merged

Conversation

juleswritescode
Copy link
Collaborator

@juleswritescode juleswritescode commented May 12, 2025

Enables completions for policies – it requires a bit more complexity because tree sitter can't parse SQL statements.

Sadly, completing alter policy "{}" on public.users; doesn't work, because an "" will cause the scanner to fail.

Screen.Recording.2025-05-12.at.19.30.22.mov

@juleswritescode juleswritescode requested a review from psteinroe May 12, 2025 17:32
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.

we can merge this, although I think the effort / complexity is not worth it :D

@juleswritescode juleswritescode merged commit 400715f into main May 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