问题
This would be useful because I often want to use the builtin "Find and Replace" tool on every cell in the notebook; because this tool only works on selected cells (which, usually, is just the "current" cell), it would be useful if I could quickly select all of them.
To be clear, I want to select the cells in "command mode"; I'm not talking about highlighting all the text. On my laptop, Cmd+A just highlights all the text.
Maybe some random plugin can do the trick?
回答1:
You can get the "Find and Replace" tool to work on every cell at once just by clicking on the "Replace in selected cells" toggle. It should be just to the left of the "find" box:
来源:https://stackoverflow.com/questions/49933535/how-can-i-select-every-cell-in-an-ipython-notebook