interactive icon indicating copy to clipboard operation
interactive copied to clipboard

[Polyglot Notebook] Apply scope coloring rules from current theme in `.dib` files in vscode

Open sharpchen opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

  • Senario1: Working with .dib file. When semantic highlighting is disabled in vscode, nothing is colorized in cells. When enabled, it does some colorization but sometimes not working properly.
  • Senario2: Working with .ipynb file. Colorization works even when semantic highlighting is disabled.

Describe the solution you'd like Since polyglot notebook can specify language for each cell and a theme has specific rules for the language, is it possible to use those existing rules for colorization? Even when semantic highlighting is disabled.

Describe alternatives you've considered

sharpchen avatar May 26 '23 05:05 sharpchen

Is your feature request related to a problem? Please describe.

  • Senario1: Working with .dib file.

When semantic highlighting is disabled in vscode, nothing is colorized in cells. When enabled, it does some colorization but sometimes not working properly.

  • Senario2: Working with .ipynb file.

Colorization works even when semantic highlighting is disabled.

Describe the solution you'd like

Since polyglot notebook can specify language for each cell and a theme has specific rules for the language, is it possible to use those existing rules for colorization? Even when semantic highlighting is disabled.

Describe alternatives you've considered

Hoseinmj avatar Jun 02 '23 04:06 Hoseinmj

I wish we could have textmate rules applied for cells, there's nothing colored when semantic highlighting disabled.

sharpchen avatar Jan 05 '24 07:01 sharpchen