-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
feat(sql-editor-minor-improvements) #3173
base: master
Are you sure you want to change the base?
Conversation
- disabled spellcheck - moved the sql on right top side
For the syntax coloring, I would need some guidance. I found highlight.js, but not sure if it's integrating correctly with the existing component lifecycle. Most of the libs do not provide syntax coloring for text-area, they do it for other html elements. |
@alecsci They are using ngx-highlightjs (which is based on highlightjs) from what i talked to helias a few weeks ago. I haven't had time to try in a basic/blank TS page the textarea synatax colour (which it supports i think reading somewhere in that website or in another post refering to it, if i find i can leave it here) |
I got it now, they are already using ngx-highlightjs but in other parts of the application. L.E: At this point, I don't know how to properly do this, there are some limitations that must be considered:
|
@alecsci sorry it took a while to review this PR but I'm extremely busy lately. The code looks good. I was wondering if this is already some improvement we could merge or to be considered yet a Work In Progress (I haven't tested it locally, just checked the code). If you tested this already and it already makes it a bit better, I'd just merge it. |
Hi @FrancescoBorzi The only missing part to be completely done is the sql code ngx highlighting in the editor menu which I couldn't find yet a solution. |
Progresses: 3131