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

Java Java Objects Meet Objects Constructors

azar abedinpour
azar abedinpour
453 Points

how to invoke ctrl+z in the workspace? will it undue last saved edit or edit should be still unsaved?

when I use sequence ctrl+z in the workspace, it says command not found. instructor said you can undo the last few edits using 'command z'. I have windows environment, does the instructor mean 'ctrl+z' (for Workspace in windows environment)?

1 Answer

Travis Alstrand
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Travis Alstrand
Treehouse Project Reviewer

Hi there azar abedinpour 👋

It should be CTRL+Z on a Windows machine. I'm unable to hop on mine at the moment to double check but that should be it yes. You can double check by going to the very top navigation and clicking Edit and you should see your Undo & Redo options. You can click them right there or you will see their Keyboard Shortcut next to them on the right side.

Be sure you're clicked inside of and the cursor is visible in the top section which holds the code and not entering that in your Console at the bottom.

I hope this helps you out!