# How to find a string of code, project wide in any file?

**URL:** <https://forum.pinegrow.com/t/how-to-find-a-string-of-code-project-wide-in-any-file/4170>\
**Category:** Editing\
**Created:** [May 23, 2020, 9:19am UTC](https://forum.pinegrow.com/t/how-to-find-a-string-of-code-project-wide-in-any-file/4170 "2020-05-23T09:19:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoenS](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@CoenS](https://forum.pinegrow.com/u/CoenS)\
**Post date:** [May 23, 2020, 9:19am UTC](https://forum.pinegrow.com/t/how-to-find-a-string-of-code-project-wide-in-any-file/4170/1 "2020-05-23T09:19:06Z")

</div>

I cannot find the search and replace buttons in PG’s interface. Or of have I turned blind? Command + F doesn’t work. And I need to search project wide. Please show me the light!

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [May 23, 2020, 10:05am UTC](https://forum.pinegrow.com/t/how-to-find-a-string-of-code-project-wide-in-any-file/4170/2 "2020-05-23T10:05:27Z")

</div>

Hi @CoenS,  
There isn’t really a replace, but you can do a search of your code in two places.  
First, in the tree panel, at the very top there is a search box. It allows you to seacrch for elements or text on the page. You can then add the found items to group modify or select them one-by-one

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/9/96cff569cc7b98d162132fdc7e03ada5369a4e33.png)  
The second is in the code window. If your cursor is in the code and you type `CMD+F` (on a Mac or I think Linux, `CTRL+F` on Windows) it will open a code box at the top. You can do a straight text search or use regex.  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/b/b0e6749a758b5370805cef8371c632e888c2acf7.png)  
Your search will bring up the first match. Hitting the find key again will search for the next instance.  
However, neither has replace.  
Sorry,  
Bob

---

<div class="post-metadata">

**Author:** ![CoenS](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@CoenS](https://forum.pinegrow.com/u/CoenS)\
**Post date:** [May 23, 2020, 12:40pm UTC](https://forum.pinegrow.com/t/how-to-find-a-string-of-code-project-wide-in-any-file/4170/3 "2020-05-23T12:40:48Z")

</div>

Thanks a lot, Rob!  
(A bit disappointing though, that PG does not support multiple file searches … perhaps it will be added some day later!)

---

<div class="post-metadata">

**Author:** ![droidgoo](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/droidgoo/32/2209_2.png) [@droidgoo](https://forum.pinegrow.com/u/droidgoo)\
**Post date:** [May 23, 2020, 5:17pm UTC](https://forum.pinegrow.com/t/how-to-find-a-string-of-code-project-wide-in-any-file/4170/4 "2020-05-23T17:17:23Z")

</div>

> [@CoenS](#):
>
> PG does not support multiple file searches

PG does a lot that other code editors do not do… i think they have avoided dipping their toe into that because, as you can see by looking at the more feature rich (text based) code editors, there are a galaxy of features and quirky bits that ppl would want.

however the users of those code editors don’t get the UX that PG offers.

its my opinion that if you want the best of both worlds, you need to integrate one of the better text based editors using their PG plug in.

VSCode and Atom both offer PG plugins so they can serve as the text editor PG is missing.

---

<div class="post-metadata">

**Author:** ![CoenS](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@CoenS](https://forum.pinegrow.com/u/CoenS)\
**Post date:** [May 23, 2020, 8:18pm UTC](https://forum.pinegrow.com/t/how-to-find-a-string-of-code-project-wide-in-any-file/4170/5 "2020-05-23T20:18:29Z")

</div>

I added Atom onto PN and there I had my side wide search! Great suggestion  
@droidgoo. Problem solved. Thx!!
