-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using vscode with Jupyter extension, how to find/replace text within a notebook cell #141493
Comments
Thanks for the suggestion. Find/Replace is handled by VS code core. Transferring. |
@lgonzalezsa thanks for your feedback, this can be a great addition to the new filter UX we introduced for the find widget |
Awesome! |
@rebornix Why not just make it so that you search within the current selection? If you're focusing a cell, you search the cell. It seems unnecessary to make this a toggle. |
Any update on this? I think find/replace is still a nightmare in Jupyter notebooks. |
Hi any update ? |
Wanting update +1 |
Any solutions to find/replace within the selected notebook cell? |
+1. This would be really helpful! |
This is going to be huge help! |
The solution that I am using :
|
The other way is to use Alt+Click of the mouse on all areas you want to edit at the same time if Ctrl+Shift+L ends up selecting beyond parts which you wish to edit. For the VS Code solution to this problem, I think we need the find/replace function to have the option of restricting it to the selected text instead of just confining it to the selected cell as the prior option can also easily achieve the selected cell option. Of course, having both options is even better. |
If I want to restrict my selection I don't use the mouse (as it's not easy, and takes too much time), I simply select the occurrence then keep pressing Ctrl+D to select only the next occurrence. |
I learned from https://stackoverflow.com/a/73109147/1729896 that using |
See also #121218 |
In Jupyter Lab and Notebook web UI, it is possible to find and replace in the selected cell or entire notebook.
How to instruct vscode to replace only in the selected cell?
https://stackoverflow.com/questions/70043037/using-vscode-with-jupyter-extension-how-to-find-replace-text-within-a-notebook
The text was updated successfully, but these errors were encountered: