PyCall Highlighting
cojua8 opened this issue · 5 comments
cojua8 commented
Hi,
When using PyCall with the
py"""
some python code
"""
syntax, the editor does not read it as a code block, so all the julia code after it is colored as if it was a comment
pfitzseb commented
I think this happens when your python code is invalid (e.g. not indented correctly or whatnot). Can you make sure that's not the case?
cojua8 commented
Forgot to say I am working on VSCode. In Juno it works fine.
marius311 commented
pfitzseb commented
No, I don't think so.
marius311 commented
Surely there must be some way, right? :) If its a matter of staring at regex'es for long enough, I might be motivated enough to do it, if you could point me in the right direction?