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 trialJohn LaGuardia
308 PointsConfused old guy...
Brand new to this: My first attempt to use Workstation was ok at best. Instructor already had text with indentations and color-coding. How do I know where/why to indent? Wasn't explained. Mine wasn't color-coded. Also, is there a way to have a split screen instead of toggling back-and-forth? Thank you!
2 Answers
Steven Parker
231,198 PointsFrom one geezer to another
I'm guessing you meant workspace instead of "workstation".
In C#, indentation is not required by the language, but it is considered a "best practice" to use indentation to indicate level of nesting. This means every time you start a new code block (using a brace "{") you would indent the lines following it one extra step until you end that block ("}").
The editor automatically colors based on syntax recognition. If you're not seeing colored keywords you might have a syntax error somewhere in your file that is throwing it off.
You should already have a split screen showing both the console and the edit area. In the edit area there are tabs for the open files. If you are asking about showing more than one tab at a time, I'm not aware of a way to do that within the workspace, but you can launch more than one workspace window and make a separate tab selection in each one. But be careful to save often to stay in sync.
Happy coding!
John LaGuardia
308 PointsHi Steven. Thank you so much for your answer! I knew it was Work SOMETHING! Lol...didn't want to go back and look! As far as split screen goes, yeah...I was hoping for a way I could be typing on my work while seeing what the instructor was doing at the same time! This stuff is daunting to me! Thanks again for the assist! -John