Skip to content
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

Completion progress #3

Merged
merged 1 commit into from
Jul 6, 2024
Merged

Completion progress #3

merged 1 commit into from
Jul 6, 2024

Conversation

WillLillis
Copy link
Contributor

Heyo! I was able to spend some time working on the tree-sitter queries and completions mentioned in #2. I rewrote the cursor matching logic to take multiple lines into account, and added a few queries to give completions for SELECT and VALUE. I haven't had time to test this super thoroughly yet, but hopefully this can help with some ideas.

I can test/clean up this PR further if you're interested in merging, but I'm also happy to close if you want to just use it as a guide for when you implement this stuff yourself :)

surrealql_comps

Copy link
Owner

@Ce11an Ce11an left a comment

Choose a reason for hiding this comment

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

@WillLillis this looks great! Will get this in a build from there 🚀

P.S. If you're ever in London, let me know - I owe you a 🍺

@Ce11an Ce11an merged commit e59533d into Ce11an:main Jul 6, 2024
1 check passed
@WillLillis
Copy link
Contributor Author

P.S. If you're ever in London, let me know - I owe you a 🍺

Looking forward to taking you up on that 😀

@WillLillis WillLillis deleted the comps branch July 6, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants