2

e.g.

int hey = 5;

printf("%i",hey);

hey = 3;

I then want to change all the instances of "hey" to "a number".

int a_number = 5;

printf("%i",a_number);

a_number = 3;

I know in Py-charm the command is shift + f6.

Is there a similar command in cs50 IDE?

1 Answer 1

5

"Find"->"Replace" (or the corresponding Ctrl+H or Alt+Shift+F) would come close, performing simple text replacement. It has modes for matching whole words only, or using regular expressions.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .