forked from adobe/brackets
-
Notifications
You must be signed in to change notification settings - Fork 0
Customize Your Code Font
Peter Flynn edited this page Nov 20, 2013
·
4 revisions
Brackets doesn't officially support a preference for changing the code editor font. But here's a quick hack you can use to work around issues like lack of Russian/Cyrillic support:
- Locate the installed Brackets source:
- On Mac, right-click Brackets and choose Show Package Contents, then expand the "Contents" folder.
- On Windows, navigate to your install folder (usually C:\Program Files (x86)\Brackets).
- Edit the file www/styles/brackets_theme_default.less
- On Windows, due to UAC, you may need to copy this file to another location, edit it, then copy it back.
- Find the
.code-font()
rule and change thefont-family
as needed. - Restart Brackets
Note: when you update Brackets, these changes will be lost and you'll have to repeat these steps. For a more permanent solution, you can write a Brackets extension that loads a stylesheet to override the appropriate font styles.