interactive: Missing syntax highlighting in Polyglot Notebook extension when launched from dev container
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

About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 15
- Comments: 24 (6 by maintainers)
@colombod In vscode, when you click Select Cell Language mode on a code cell, it brings up the command pallet, where if you click Auto Detect, it changes to whatever language you are using.
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.
@shiftybit it fixes the color only, and I if I open and close it, it dissapers. When I try to execute with anything but
codethere it doesn’t execute it.Same here. But onlye when working on a dev container. When working local on Windows 10, it works fine.