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

Development Tools Visual Studio Code Extensions

Juliana Snow
seal-mask
.a{fill-rule:evenodd;}techdegree
Juliana Snow
Web Development Techdegree Student 687 Points

BracketPairColorizer Question about formatting

Each time I try to do the shortcuts suggested for Mac (cmd +), I get the response "unable to write in user settings. Please open the user settings to correct errors/warnings in it and try again."

Since I don't know javascript yet, which I am guessing is the language of the "settings.json" file, I'm not sure where to put the code: "editor.bracketPairColorization.enabled": true

Can someone please guide me?

Caleb Kemp
Caleb Kemp
12,755 Points

I don't really use a Mac, and I'm not sure who would have experience using Visual Studio on a Mac, otherwise, I would tag someone for you. I just wrote this so you could at least know your question wasn't being entirely ignored.

1 Answer

Megan Amendola
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree seal-36
Megan Amendola
Treehouse Teacher

Hi,  Juliana Snow!

Bracket Pair Colorizer has actually been added to Visual Studio Code so you don't need to install an extension anymore. You can enable the extension by navigating to your settings in VSCode and then typing in bracket into the search bar should bring up the checkbox to enable it.

VSCode Settings: Bracket Pair Colorizer

As far as the commands not working, it sounds like something is causing an error in your settings at the moment and you will need to go in and clear the errors before they will work again ("Please open the user settings to correct errors/warnings in it and try again."). Errors typically show up in red or underlined in red. If you can share photos or a video of what is happening then we might be able to help out more.