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 trialLindsay Wilson
11,223 PointsWould 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
Treehouse TeacherHi 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?
Emil Pesaxov
3,684 PointsHi, 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. :)
Lindsay Wilson
11,223 PointsLindsay Wilson
11,223 PointsThat does help to know, thanks!