-
Notifications
You must be signed in to change notification settings - Fork 35.7k
Support nb cell Inline Values after cell execution #237995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/vs/workbench/contrib/notebook/browser/notebook.contribution.ts
Outdated
Show resolved
Hide resolved
| /** Cell execution inline vars */ | ||
| .nb-inline-value { | ||
| background-color: var(--vscode-editorInlayHint-background); | ||
| color: var(--vscode-editorInlayHint-foreground) !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should figure out why the decoration we add gets tokenization colors to avoid !important if possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will bring in a second PR, didn't find it at a first glance but will take another look. issue tracking here: #238091
Fixes: #237263
Adds support for inline vars after cell execution in notebooks. Extensions can use the
InlineValuesProviderclass to contribute providers that will give more intelligent results.