jupyter / jupyter/notebook

Indent code block with space

Open
#2,979 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Just like the `tab` key indents a block of code, it would be amazing if the browser recognizes a `space` as a request to indent a block of code by one space when more than one line of code is selected. Right now this behavior will replace the code block with a space.

Contributor guide

Open the contributing guide

Research direction

Start by locating the browser code editor handling for the Tab key and space when multiple lines are selected. Reproduce the current replacement behavior, then verify that pressing space indents the selected code block by one space without replacing it.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.