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

SQL syntax highlighting with CodeMirror #89

Merged
merged 1 commit into from
Nov 15, 2017
Merged

Conversation

tomdyson
Copy link
Contributor

Addresses #13

Future enhancements could include autocompletion of table and column names, e.g. with

extraKeys: {"Ctrl-Space": "autocomplete"},
hintOptions: {tables: {
      users: ["name", "score", "birthDate"],
      countries: ["name", "population", "size"]
    }}

(see https://codemirror.net/doc/manual.html#addon_sql-hint and source at http://codemirror.net/mode/sql/)

@tomdyson tomdyson changed the title SQL syntax highlighting with Codemirror SQL syntax highlighting with CodeMirror Nov 14, 2017
@simonw
Copy link
Owner

simonw commented Nov 15, 2017

This is exactly what I was after, thanks!

@simonw simonw merged commit 8252daa into simonw:master Nov 15, 2017
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