question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Syntax highlighting error for languages except Python

See original GitHub issue

When I start IJulia Notebook and get the kernel 8cb2529d-d2e3-48ce-a735-cdf7b31e2841, I want to connect to it with qtconsole:

jupyter qtconsole --existing 8cb2529d-d2e3-48ce-a735-cdf7b31e2841

Then it goes wrong that the qtconsole opened still use syntax for Python, not Julia, e.g., using is not highlighted(using is a keyword in Julia but not in Python). This drives me 懵逼, I love coding in qtconsole actually…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
takluyvercommented, Mar 28, 2016

Looking at the code (specifically FrontendWidget and JupyterWidget) it looks like the lexer is still hard-coded to Python - we don’t look at the highlighting information in kernel_info_reply.

0reactions
ccordoba12commented, Nov 13, 2016

@wmvanvliet, don’t worry, I’m working on this one 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Syntax highlighting/colors are still broken? #65713
This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in...
Read more >
Syntax highlighting not working for Python in VS Code with ...
Syntax highlighting looks fine to me based on the example code above. Could be more specific by what you mean with "fail in...
Read more >
A case against syntax highlighting - Linus Åkesson
Syntax highlighting doesn't improve legibility. It encourages you to skim through code rather than understand it. It makes you focus on syntax ...
Read more >
Syntax and Error Highlighting | IntelliJ Platform Plugin SDK
The class used to specify how a particular range of text should be highlighted is called TextAttributesKey . An instance of this class...
Read more >
Perl language syntax highlighting troubles (bug or limitation ?)
In regex id 3 , only the << string is highlighted ( Group 1 ) ... I don't get any longer a syntax...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found