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

Game Development Game Development with Phaser Building a Breakout Game with Phaser My Development Setup

Celso Silva
Celso Silva
2,773 Points

Cannot Turn Font Ligatures On

Hey, when I try to edit defaultSettings.json in VS Code, I get a message saying 'the file system of the file is read-only.' Is there a way to override this, or should I be using a different file to change my settings?

1 Answer

Rohald van Merode
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Rohald van Merode
Treehouse Staff

Hey Celso Silva 👋

The defaultSettings.json file is indeed read-only and can not be changed. You'll want to make adjustments in the settings.json file instead. In the command palette (shift + ctlr/cmd + P) you can find this file under: "Preferences: Open User Settings (JSON)".

Hope this helps 🙂

Celso Silva
Celso Silva
2,773 Points

Hey, thanks! I checked the settings.json file like you said, but it only has this in it:

{ "workbench.colorTheme": "Default High Contrast", "explorer.confirmDragAndDrop": false, "explorer.confirmDelete": false }

If I want to enable something like "editor.fontLigatures": true, should I add it directly to this file? Or is there a different way to properly override the default settings?

Rohald van Merode
seal-mask
.a{fill-rule:evenodd;}techdegree
Rohald van Merode
Treehouse Staff

You're welcome Celso Silva! 🙂

That is correct! The file only contains the settings that you have adjusted, so any changes you want to make have to be added, removed or edited. Upon adding "editor.fontLigatures": true, and saving the file, ligatures should start showing up as expected (as long as your current font supports ligatures).

This is the way to override the default settings, the defaultSettings.json file will always contain the defaults and con not be edited directly. You can use this file as a reference if you're looking for a specific setting. The settings you add to settings.json will supersede the default.