Yury Selivanov

Results 403 comments of Yury Selivanov

The syntax on the screenshot is "pycon" (python console); MagicPython doesn't provide it. This snippet highlighted with "python" syntax: ```python >>> lua_func = lua.eval(''' ... function(a, b) -- a plus...

Thank you, Leonardo! Feedback like this means a lot to us.

MagicPython is just a syntax file, it doesn't ship any code or use any APIs. Unfortunately it's unlikely that the bug is in MP itself.

Hi @blaisep! Last time I checked there were some ReST highlighters for ST, but I'm not sure of their quality. You might want to check them out first. In terms...

> I think this decision by the MagicPython devs to apply additional special meaning to a part of the Python language definition is a mistake. FWIW I agree, that probably...

We scope python2-only builtins as `variable.legacy.builtin.python` -- you can adjust your color scheme to highlight them. We're also working to make MagicPython configurable, stay tuned!

> Just as the above code snippet does, is it possible to colorize class imports in VSCode? No, not really, because syntax highlighter doesn't know if it's a class or...

That explains the bugs, sigh.

I'm not sure what's happening here, but my guess would be that the default highlighter names scopes slightly different from MP. We're not going to change them at this point...