Skip to content

Notebooks respect files.xyz settings - #192941

Merged
Michael Lively (Yoyokrazy) merged 6 commits into
mainfrom
milively/nb-trim
Sep 18, 2023
Merged

Michael Lively (Yoyokrazy) merged 6 commits into
mainfrom
milively/nb-trim

Conversation

@Yoyokrazy

@Yoyokrazy Michael Lively (Yoyokrazy) commented Sep 12, 2023 •

Copy link
Copy Markdown
Collaborator

Fixes: #181905

Notebooks now respect the settings:

  • files.trimTrailingWhitespace
  • files.trimFinalNewlines

@Yoyokrazy

Copy link
Copy Markdown
Collaborator Author

Also support:

  • files.insertFinalNewLine

@rebornix Peng Lyu (rebornix) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's in the right direction 👍, left some comments on how we can perform more efficiently.

@rebornix Peng Lyu (rebornix) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work, thank you!

@Yoyokrazy
Michael Lively (Yoyokrazy) deleted the milively/nb-trim branch September 18, 2023 17:42
@chandra1109

Copy link
Copy Markdown

#193524
Review

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review pending..

@github-actions github-actions Bot locked and limited conversation to collaborators Nov 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Jupyter Notebook trim whitespaces not working in code cells

4 participants