How to insert a literal tab instead of auto-completing in Jupyter?

后端 未结 1 1676
日久生厌
日久生厌 2021-02-20 10:43

It is easy to indent a whole line.

  1. Just highlight the whole line and press Tab

  2. Go to the start of the line and press Tab

相关标签:
1条回答
  • 2021-02-20 11:26

    One alternative would be to use the Alt keyboard sequence.
    In this case it would be Alt + 09. It is about as short as one could hope for.

    For this to work you need a numpad on your keyboard, as the top row of numbers on the keyboard does not work to produce Alt keyboard sequences.

    However, this does leave rather ugly arrows in place of the tab, which seems to be the way Jupyter Notebooks displays tab characters.

    0 讨论(0)
提交回复
热议问题