-
-
Notifications
You must be signed in to change notification settings - Fork 706
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
Try out CodeMirror SQL hints #949
Comments
I think this requires three extra files from https://github.com/codemirror/CodeMirror/tree/5.57.0/addon/hint
|
I'm attracted to this because of how good GraphiQL is for auto-completing queries. But I realize there's a problem here: GraphQL is designed to be autocomplete-friendly, but SQL is not. If you type |
I'm not going to do any more work on this - SQL isn't an auto-complete friendly enough language. |
FWIW, code mirror 6 now has this standard although if you want table-specific suggestions, you'd have to handle parsing out which table the user is querying yourself. |
Datasette is using that now, see: |
The text was updated successfully, but these errors were encountered: