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.

Missing syntax highlighting in Polyglot Notebook extension

See original GitHub issue

Describe the bug

Please provide as much information as you can.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

  • OS
    • Windows 11
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Firefox
    • Safari
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • Visual Studio Code
    • Visual Studio Code Insiders
    • Visual Studio
    • Other (please specify)

Polyglot Notebooks Version: v1.0.4102020

Version: 1.75.0 (user setup)
Commit: e2816fe719a4026ffa1ee0189dc89bdfdbafb164
Date: 2023-02-01T15:23:45.584Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: 10.2.154.23-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: No

Screenshots

image

Issue Analytics

  • State:open
  • Created 8 months ago
  • Reactions:8
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
tunbk1002commented, Feb 25, 2023

Same here on WSL. In recent versions(since the very beginning of Jan 23, when I had this issue), syntax highlighting seem to be fine before .NET Interactive extension activation (tested by creating a new polyglot notebook with .ipynb, put some code in and reload window to see the colors disappear after this extension loaded). If I downgrade the extension to 1.0.3553070(labeled as 3 months ago), basic language features like syntax highlighting works but suggestions still doesn’t have any styling. About the extensions that I currently enabled, almost all of them are remote development support published by Microsoft.

image

2reactions
Pelukocommented, Feb 28, 2023

Same here. But onlye when working on a dev container. When working local on Windows 10, it works fine.

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Polyglot Notebooks Extension GA + 1 Milestone
Missing syntax highlighting in Polyglot Notebook extension Area-Polyglot Notebooks Extension bug Something isn't working Impact-Medium.
Read more >
VSCode Jupyter Extension: Rich syntax highlighting not ...
It can happen because there is conflict with Dependency Analytics extension with jupyter. Try to disable Dependency Analytics extension.
Read more >
Polyglot Notebooks
Extension for Visual Studio Code - Polyglot Notebooks for VS Code. ... Polyglot Notebooks, features such as completions, documentation, syntax highlighting, ...
Read more >
Announcing Polyglot Notebooks! Multi-language ...
The Polyglot Notebooks extension in VS Code currently supports the following ... syntax highlighting, and signature help for all languages.
Read more >
Interactive C# with Polyglot Notebooks - The New Dev's Guide
We'll see how C# code can be used in a notebook to perform lightweight demonstrations and experiments without needing the weight of a...
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