Syntax highlighter #1263
jvbelenky
started this conversation in
Squiggle Improvement Proposal
Replies: 1 comment
-
Yeah, the current syntax highlighter is really basic. We plan to improve on that in the future, but that's not a single task, it's a lot of small steps. If you have some specific code snippets that don't work as you wish you would, it'd be really useful to collect them in this thread. Then we could fix them one by one. The specific task of highlighting only known standard library function calls and not highlighting others (or highlighting those differently) would require semantic highlighting. The next step for this is #1107, but then we'll need a few more steps after that before we get there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the syntax highlighter will highlight syntax even if it's not valid Squiggle code. That's bad! Especially when I'm trying to remember Squiggle syntax vs other languages. Eg: I tried writing MvNormal( and it highlighted as soon as I added the parenthesis. Would be cool to fix this.
Beta Was this translation helpful? Give feedback.
All reactions