Up arrow in XCode?

is there a way to make Xcode repeat the last thing typed on the line?
Say you typed:

print("test)
and you wanted to repeat that again by using the up arrow? I am pretty sure Visual Studio lets you do this, as well as Mac’s terminal. Just would be faster if you are repeating the same command and just need to change one thing…

1 Like

For completeness, I’ll share @byaruhaf 's answer to your question from the Discord #iOS-and-swift channel:

you can repeat selected Text with CMD + D

For a video on how to do this, visit that post at:

2 Likes

This topic was automatically closed after 166 days. New replies are no longer allowed.