# Find/replace in the editor?

**URL:** <https://in-thread.sonic-pi.net/t/find-replace-in-the-editor/6966>\
**Category:** Support, Help & Resources\
**Created:** [July 28, 2022, 3:21pm UTC](https://in-thread.sonic-pi.net/t/find-replace-in-the-editor/6966 "2022-07-28T15:21:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamcultur](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jamcultur](https://in-thread.sonic-pi.net/u/jamcultur)\
**Post date:** [July 28, 2022, 3:21pm UTC](https://in-thread.sonic-pi.net/t/find-replace-in-the-editor/6966/1 "2022-07-28T15:21:38Z")

</div>

I’m brand new to Sonic Pi and am using it on Windows 10. I can’t find some of the basic programming editor commands like find and replace. How do these work? Thank you!

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [July 28, 2022, 9:14pm UTC](https://in-thread.sonic-pi.net/t/find-replace-in-the-editor/6966/2 "2022-07-28T21:14:51Z")

</div>

Hi

Not available in the sonic pi editor.  
Some use vscode with a sonicpi server version.

edit : [VS Code extension](https://in-thread.sonic-pi.net/t/vs-code-extension/3935)

Cheers

---

<div class="post-metadata">

**Author:** ![jamcultur](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jamcultur](https://in-thread.sonic-pi.net/u/jamcultur)\
**Post date:** [July 29, 2022, 2:35pm UTC](https://in-thread.sonic-pi.net/t/find-replace-in-the-editor/6966/3 "2022-07-29T14:35:29Z")

</div>

The lack of find/replace is a serious problem. Are there any plans to implement those commands in Sonic Pi? Regardless of whether they are implemented as shortcut keys, buttons, or menu options, they need to be there.

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [July 29, 2022, 2:56pm UTC](https://in-thread.sonic-pi.net/t/find-replace-in-the-editor/6966/4 "2022-07-29T14:56:00Z")

</div>

> [@jamcultur](#):
>
> The lack of find/replace is a serious problem

yep but life is life. I presume there is no easy solution to implement that feature.

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [July 29, 2022, 6:43pm UTC](https://in-thread.sonic-pi.net/t/find-replace-in-the-editor/6966/5 "2022-07-29T18:43:19Z")

</div>

> [@jamcultur](#):
>
> Are there any plans to implement those commands in Sonic Pi?

I’m definitely not against the idea, it’s just not something I have significant motivation to work on at this point - there are lots of other things I’d like to work on.

However, if someone wants to take this on, I’d be very happy to discuss implementation/design ideas and to consider pull requests. For those interested, it would require C++/Qt work to be implemented.

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [July 30, 2022, 7:22am UTC](https://in-thread.sonic-pi.net/t/find-replace-in-the-editor/6966/6 "2022-07-30T07:22:35Z")

</div>

hi,

is this a way to get this ?

[![](https://img.youtube.com/vi/EOAk_PQBZic/maxresdefault.jpg "Rich Text Editor Step 1 - Udemy Preview - Qt Widgets for Beginners") ](https://www.youtube.com/watch?v=EOAk_PQBZic)

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [July 30, 2022, 8:47am UTC](https://in-thread.sonic-pi.net/t/find-replace-in-the-editor/6966/7 "2022-07-30T08:47:51Z")

</div>

Yes, for this feature to be implemented into the current GUI would require working with Qt and C++.

It’s definitely possible, and not likely to be too tricky for someone familiar with Qt. However, care would have to be taken to ensure any implementation fits Sonic Pi’s overall design. For example, I would prefer not to have any additional new windows popup - rather something within the current main window.
