Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP Basics Unit Converter Integers

Lindsay Wilson
Lindsay Wilson
11,223 Points

Would love to know how you duplicate the code line so quickly without highlighting, copying and pasting - shortcut?

How do you duplicate the code line so quickly seemingly without highlighting, copying to clipboard and pasting?

Thx!

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! Correct me if I'm wrong, but I feel like you might be referring to the commands Alena is typing in the console. If you press the up arrow on your keyboard, it will start going through the last run commands in the console.

Does this help? :smiley:

Lindsay Wilson
Lindsay Wilson
11,223 Points

That does help to know, thanks!

Hi, also if you are using an outside IDE source there are different commands to copy code lines. ctrl+d or ctrl+shift+d depends on the IDE. :)