How do you do a find and replace in Roblox Studio code editor?

I’m looking at this pane in Roblox Studio and I’m not smart enough to figure out how to do a replace. I want to change all instances of the word “settings” in this file to “myprops”.

I’m finding the lack of a context menu option to Replace here very frustrating, especially since it highlights all the things I want replaced when I click it.

Almost seems like a UX bug.

CTRL + H works, but how would a user learn this hotkey? There should be a button or context menu somewhere in the GUI. Also the hotkey should be F3 like in Visual Studio/many other text editors. So crazy.

2 Likes

I believe you can do it by doing Crt, shift and f.

Or that is what I did to get mine.

It does depend on what operating system you have I believe.

1 Like

I know you can find and replace text via the Ctrl + H in studio - is that what you’re looking for?

1 Like

CTRL + Shift + F I think so :slight_smile:

1 Like

Here, you can click the down arrow and type the word you want it to be replaced with (I know, not very intuitive)

In the script editor, there is a button at the top, “Find” or “Find and Replace”.
Though it does seem strange there is no option for it in the context menu

2 Likes

image

Is this what you’re talking about?

image

yea it’s kinda hiding in plain sight

1 Like

It really is. I just ignore all the stuff up there. Like why is there a button up there to select all text? Who ever wants to do that? And tucked in that “Find” box is a way to jump to defined user functions, but no way to keep the window open or to scope it to the current script. So crazy.

Thanks.

A right click on a token should let me do a Replace tho.

3 Likes