How to Find & Replace in Jupyter Lab

后端 未结 1 1636
半阙折子戏
半阙折子戏 2021-02-18 17:11

There\'s an option in Jupyter Notebooks where you can select some cells, and then hit F, which opens up a Find & Replace feature.

This shortcut doesn\'t work in Jupy

1条回答
  •  有刺的猬
    2021-02-18 17:35

    The Find & Replace feature was not removed, but the way it is named in the menu (simply Find...) and the UI which requires the user to click on a small arrow to access it may be confusing. Please see the GIF below which demonstrates how to use the search & replace feature:

    If you need a slightly more powerful refactoring tool (i.e. distinguishing the variable scopes) you may want to check out my jupyterlab-lsp project which now includes support for the rename action (see here for a demonstration GIF).

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