You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notebooks now support multi cell commenting. This is accomplished via cell multi-select and triggering a LineCommentCommand for the entire cell's range. Currently this uses the Toggle behavior for the comment, using the pre-existing heuristics that all standard code editors use.
Steps to Test:
Open a notebook containing cells of various languages and editing states
Use cell multiselect via ctrl+click or shift+click to select various cell ranges (including only a single cell)
Use ctrl+/ to trigger a comment for these selected cells
Things to look for:
cells are toggling their comments as expected (it should mirror what happens to the same code if it was in it's own standard code editor. ie a python cell vs the same code in a .py file, etc)
no keybindings are broken (make sure normal multiline commenting works as expected within cells
nothing happens to cells not in an editing state
Thanks for testing!
The text was updated successfully, but these errors were encountered:
Refs: #142437
Complexity: 3
author: @Yoyokrazy
Create Issue
Summary
Notebooks now support multi cell commenting. This is accomplished via cell multi-select and triggering a
LineCommentCommand
for the entire cell's range. Currently this uses the Toggle behavior for the comment, using the pre-existing heuristics that all standard code editors use.Steps to Test:
ctrl+click
orshift+click
to select various cell ranges (including only a single cell)ctrl+/
to trigger a comment for these selected cellsThings to look for:
.py
file, etc)Thanks for testing!
The text was updated successfully, but these errors were encountered: