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

[FEATURE] Add query completion and syntax highlighting #142

Closed
Crandel opened this issue Jan 10, 2023 · 4 comments
Closed

[FEATURE] Add query completion and syntax highlighting #142

Crandel opened this issue Jan 10, 2023 · 4 comments
Assignees
Labels
kind/enhancement New feature or request

Comments

@Crandel
Copy link

Crandel commented Jan 10, 2023

Describe the solution you'd like
It would be a good feature to complete via TAB SQL words and table names, columns, etc. while typing SQL queries in SQL Query panel

Describe alternatives you've considered
There is a cli tool usql written in Go with syntax highlighting and code completion. You could check how this feature is implemented there.

@Crandel Crandel added the kind/enhancement New feature or request label Jan 10, 2023
@danvergara danvergara self-assigned this Jan 10, 2023
@danvergara
Copy link
Owner

Nice suggestion!! It's a good idea, but a bit complex since the TUI library is the responsible to provide the editor. So, I have to figure out a way to leverage it. Fortunately, I forked that library, so I can implement something to extend the current editor's functionalities.

@Crandel
Copy link
Author

Crandel commented Jan 10, 2023

Awesome! Thank you for quick response

@rkgarcia
Copy link
Collaborator

usql looks pretty cool!

@danvergara
Copy link
Owner

@rkgarcia The problem is that we need to embed the tool into the text editor and I hesitated to complete this because I'm planning to ditch the current TUI library in favor of Charm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants