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
rossace23
3,819 PointsIndentation in workspace issue
I am having a configuration issue with my workspace settings. When coding in javascript, when I hit enter to drop to a new line of code, the indentation is massive. My tab size is 2 and my spaces is set to 2 as well. I am not sure why the indentation is so large (all the way to column 32) on each line because my code blocks/braces are all closed properly and there aren't any bugs/improper formatting.
Any help would be great, as I feel like the answer is right under my nose. Below is an example of the indentation problem when I hit enter:
addItemButton.addEventListener('click', () => {
});