Well, you start with cursor on your text, Ctrl+H and type replacement. But surprisingly i was not able to found any shorcut for actual replace or replace all action, rather than tabbing 5(!) times or moving my hand for a mouse.
Straightforward enter does nothing, tabbing to replace button and entering replaces, but throws me into the editor. VisualStudio-like Alt+A does nothing.
Am i missing something in spyder shortcuts?
Similar to Jupyter notebook, Spyder IDE allows you to create cells. To create a cell, simply put #%% in the script. Each #%% will signal generation of a new cell. To run a cell, press shift+enter while in focus of a cell.
The shortcut for replace is Ctrl + R.
I have the same issue with Spyder, I don't know why this has not been implemented in the editor.
The work around I currently have for multiple replace is to :
Copy the replacement term to the clipboard
Search(Find/Replace) for the term to replace
Use F3 to select the next term
Use paste Ctrl+V to replace it
Back to step [3] to find the next term
Hope this helps!
EDIT:
According to Spyder dev @carlos below. Since v3.2 This has now been implemented and you may just press and move to the next term.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With