REditorSupport / REditorSupport/languageserver

Formatting Jupyter Notebooks adds a newline at the end of every cell

Open
#623 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
675
Forks
118
Avg merge
1d 37m
Merged PRs (30d)
11

Description

Running Format Notebook on R in a Jupyter Notebook adds a newline at the end of every cell.

This was previously an issue with Python notebooks in VS Code as well, discussed here: https://github.com/microsoft/vscode-python/issues/17681

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with Format Notebook on an R cell in a Jupyter Notebook, then trace the notebook-formatting entry point. Compare the output before and after formatting; done means formatting no longer adds an unwanted trailing newline to every cell.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, r
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.