Skip to content

Bug: Jupyter Notebook trim whitespaces not working in code cells #181905

@hegerdes

Description

@hegerdes

Does this issue occur when all extensions are disabled?: Yes
Note: All extensions disabled - except python and jupyter notebook

The function to trim whitespaces does not work in jupyter notebook code cells

  • VS Code Version: 1.78.0 (252e546) - x64
  • OS Version: Win 11 Pro

Steps to Reproduce:

  1. Create a new Jupyter Notebook (.ipynb) file
  2. Create a cell and put some code with tailing whitespaces and empty lines in it

Example:
image

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersnotebook-cell-editorBugs related to code editors in Notebooks (not intellisense / LS's)on-testplan

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions