kun-scheduler
kun-scheduler copied to clipboard
[FEATURE] SQL Editor code auto completion
Is your feature request related to a problem? Please describe.
For most IDEs, code completion is an essential feature that developers heavily relies on.
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.
- pgcli
- 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
- https://github.com/DTStack/dt-sql-parser
Describe alternatives you've considered TODO
Additional context TODO