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 trialEdward Bryan Kene Morales
7,374 PointsEditing line height in Brackets
Hi guys,
Please help me with editing the line height of the code in brackets. Sublime has this option and it makes the code really readable.
I am not sure if it is line height or margin before and after per line of code that I should edit. And I searched the internet how to do it but I haven't found any concrete source that would teach me how.
Anyone?
4 Answers
Justin Gibson
9,161 PointsOh... I didn't even know that program existed!
It looks like the only way you can achieve what you are looking for in Brackets is to go to 'File > Extension Manager > Themes' and then try out some of the themes there. I tried a few and the 'Newton Light' theme had the best line spacing I could find. You might be able to make your own theme as I am assuming you want to have full control over your line spacing.
Justin Gibson
9,161 PointsAre you wanting to increase the spacing between lines of code in workspaces?
Unfortunately there isn't really a way to do this. You can go to view menu and increase the font size which will in turn increase the line height.
Edward Bryan Kene Morales
7,374 PointsHi Justin,
Yes and no. Yes, I want to increase the line height to give a bit more spacing in between lines of code but I am talking about brackets - the open source editor made by adobe.
romanfeliz
11,710 PointsFind the installation folder of Bracket ..Ex C:\Program Files (x86)\Brackets\www\styles Open brackets.min.css \ Edit .CodeMirror line-height accordingly to your personal preference.
I have bracket in my Macbook pro and Windows machine . If you are using windows, I recommend you boot up in safe mode to make changes to the style-sheet. It would help you bypass any required permission.
Good luck!
Edward Bryan Kene Morales
7,374 PointsEdward Bryan Kene Morales
7,374 PointsYup it really has a nicer line height. Thanks! I will try to look around for how to adjust this in the core.