apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.42k stars 4.5k forks source link

[Feature] [UI] SQL and Python Editor Highlight not Work #10752

Open vivostar opened 2 years ago

vivostar commented 2 years ago

Search before asking

What happened

When you create a sql node, the sql editor highlight is not work. However, shell editor highlight is work. image

So it is when you create a python node image

What you expected to happen

make sql and python highlight work. like following

select name, score
from students
where score < 10
print("Hello World")

How to reproduce

  1. download source code, and checkout dev branch
    git clone https://github.com/apache/dolphinscheduler.git
    cd dolphinscheduler
    git checkout dev
  2. start standalone-server, so you can create a development env
  3. start the dolphinscheduler-ui (you should install node and pnpm before you do this)
    cd dolphinscheduler-ui
    pnpm install
    pnpm dev
  4. you can create a dolphin project, and then you will reproduce the problem

Anything else

No response

Version

dev

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 2 years ago

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

songjianet commented 2 years ago

This can actually be considered an optimization point, because we didn't have to deal with more language highlighting support in a hurry. @vivostar