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

JavaScript JavaScript Loops, Arrays and Objects Tracking Multiple Items with Arrays Accessing Items in an Array

Do we really need a new workspace for every single video?

This workspace appears to be the same as where we left off in the previous video and I see this happen frequently in this line of classes. The front end classes seem to keep a continual work space going far more often. Trying to use treehouse workspaces for my own projects is an exercise in frustration when I'm sorting through dozens of nearly identical lesson workspaces.

3 Answers

Hey David Laycock,

I've experienced the same issue. Here's a fix that has kept my sanity:

1 Workspace Per Stage Rule

Open only 1 workspace per Stage or Course (depends on the nature of the course).

  • When you click to open it, rename it immediately. Examples, "3 page portfolio site", "jQuery - image gallery template", "JS - hide and show some text", etc. Sometimes you don't need to rename the title, but if you're looking to use these for your personal projects I strongly suggest you rename them.

  • You can also rename your Workspace later by going to Workspaces and clicking on the gear to the right (settings). Rename your Workspace to your liking and click "Update Workspace".

Warning! - be careful when doing this. You might accidentally miss a small change here or there, which can, in turn, lead to more frustration and lots of time lost. My next suggestion should prevent this problem:

Keep it Tidy

  1. During each Step in a Stage, open up the Workspace to see if there's any new content (If there's not - and often the Treehouse teacher will tell or show you this - then go to Workspaces and delete that Workspace. You don't need it). Otherwise, copy the content you need and then delete the now redundant Workspace.

  2. Condense and Delete. Condense your Workspaces where you can. I have an HTML Workspace that encompasses nearly all the HTML courses I've taken. It's a bit cluttered as a result, but it's all in one place so it's easy to search and not spread out across multiple Workspaces.

This step takes more time, but it's a heck of a lot better than sifting through countless, similarly named Workspaces, right?

Additional Tip

Save your Workspaces into logically organized files and folder via Dropbox (or your cloud storage of choice). Upon Stage or Course completion, I manually 'sync' my Treehouse Workspaces to Dropbox. That way, all my data is backed up. Plus, loading a text file is still a bit faster than loading Workspaces.

Future Hope?

Treehouse is always refining how they do things. Perhaps they'll come across our mutual concerns and create a more intuitive solution to Workspaces. I'm sure they're already well aware of some of the deficiencies in how Workspaces are organized. I'll take this opportunity to audaciously suggest the following:

  1. Upon clicking "Launch Workspace", allow user to Create New Workspace or Open Saved Workspace

  2. Allow user to bulk delete Workspaces

  3. Allow user to create folders within Workspaces for more efficient organization

  4. In addition to renaming the Workspace title, allow user to add descriptive subtext underneath the title. For example, allow user to change:

Front End Optimization using developer tools

Started from Chrome DevTools

To:

Front End Optimization using developer tools

Made my site faster using devtools extension, resizing images, and doing other rad stuff. Started from Chrome DevTools

Closing

Something I keep in mind, too, is that Workspace technology is pretty remarkable! When I began using Treehouse, the only option was to download the project files and go from there. Workspaces is a huge step up and I'm really thankful that Treehouse implemented them. They keep getting better, so I'm sure we'll see some new changes before too long (and most likely better than my recommended changes above).

Hope that helps, David!

Michael Timbs
Michael Timbs
15,761 Points

I have been thinking the same thing and today this is what I have started doing.

After my first week of treehouse (and dev in general) I've decided that I am going to have a crack at nodejs development seriously. So today I installed node and sublime text 2 to use rather than workspaces.

I created some directories that i now do all these treehouse lessons on so that i can refer back to them later if i need. This allows me to decide which ones I want to keep and limit my workspaces based on what I want to control. Also it provides a great library for future reference as I can use my own naming convention for each lesson.

If I ever come across an unexpected error between videos that I can't find in my code I can just copy and paste over my css and index.html files with the updated workspace files and try again. Seems to be working fine so far.

I know this is a year later since the original post, and even the replies, but I am experiencing the same thing this far out. Workspaces is an awesome thing. For the most part, I enjoy the heck out of it. However, just like in this track and in another one that I switch over to from time to time, it gets pretty old having to start a new Workspace with each video.

Daniel Hurd is on point with his response to this your original post, and it still rings completely true a year later after you posted. I especially like his suggestion of having the ability to mass delete multiple Workspaces instead of having to delete them one by one. Up until now, I would just open a new one every time that it would prompt me to, and to keep my collected Workspaces from getting way out of control, I would finish a section or stage and go back and delete all of them. I just hated seeing such huge numbers of different Workspaces in there.

As of a couple of days ago, I decided to just deal with the fuss of just downloading the course files and using them in Microsoft Expression Web 4 (until I learn all the ins and outs of Brackets or some other editor). That way, I can keep every single one of the lessons, and I am not limited on how many I can keep. I can always go back and look at any little bit of course work.

However, for tracks that I am taking like Java, I still use the Workspaces for right now (which the Java track doesn't seem to pile up the Workspaces that much).