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] SQL Editor code auto completion #520

Open
JoshOY opened this issue Jun 7, 2021 · 0 comments
Open

[FEATURE] SQL Editor code auto completion #520

JoshOY opened this issue Jun 7, 2021 · 0 comments
Labels
design Design ideas & wanted features, etc. enhancement New feature or request help wanted Extra attention is needed

Comments

@JoshOY
Copy link
Member

JoshOY commented Jun 7, 2021

Is your feature request related to a problem? Please describe.

For most IDEs, code completion is an essential feature that developers heavily relies on.

image

Currently we are using monaco editor as the code-editing component in data development page. It now have the ability to hint and auto-complete some common tokens or keywords. BUT we still need to implement intelligence hints on field tokens (like table names, columns, etc.)

Describe the solution you'd like

We have made a few research on existing implementations.

  1. pgcli
  2. https://github.com/ascoders/weekly/blob/v2/085.%E7%B2%BE%E8%AF%BB%E3%80%8A%E6%89%8B%E5%86%99%20SQL%20%E7%BC%96%E8%AF%91%E5%99%A8%20-%20%E6%99%BA%E8%83%BD%E6%8F%90%E7%A4%BA%E3%80%8B.md

Useful Resources

  1. https://github.com/DTStack/dt-sql-parser

Describe alternatives you've considered
TODO

Additional context
TODO

@JoshOY JoshOY added design Design ideas & wanted features, etc. enhancement New feature or request help wanted Extra attention is needed labels Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design ideas & wanted features, etc. enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant