-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: query text editor #4
Comments
IMHO |
If no one has started working on this, I would like to tackle it. |
@Tomcat-42 Could you try to create a POC integrating the Also apart from reedline there is also rustyline, but I think reedline is more mature. Another positive point about reedline is that there is already a repo that implements a REPL on top of it reedline-repl-rs |
@Tomcat-42 let us know if you have any WIP. You can also open a draft in case you make some progress there :p |
@danielhe4rt Ok, will do that. |
From what I tested it may be difficult, reedline kinda wants to occupy everything, at least with the defaults. We need to find a way to render it only within our constraints, sort of like a iframe. |
We'll have to copy some behaviors from Database Like shells, like: when to actually send the query? It's not when you press enter, but when the last character is an semicolon ";" and I'm just thinking how would be an UI for that. PS: I know that we stopped this project for now, but I'll be feeding it with information later. |
What if it's less like a REPL and more like an editor, similar to the scylladb studio itself? The user would be able to maintain multiple queries in the editor and selecting which one they want to run, or just ctrl+enter on the currently hovered one. |
Feature: Query Text Editor
The primary and only feature of CQLSH is his powerful REPL integration, thinking on that IMHO this will be the hardest feature to be implementing.
Here we have a couple of possibilities:
Let's use this issue to discuss about this feature for now.
The text was updated successfully, but these errors were encountered: