Code editor questions (color, size)

Ok just this morning I changed text size the code editor, but now after an update I can not find that setting (it was shortcut “CTRL+ +”, “Ctrl+ -”). Ctrl+ + does not work anymore.

Colors. Search reveals a big ‘nay’ from 2 years ago, mentioning CSS. I don’t know where to find the defold settings/preferences/defaults (ubuntu 18.04). I am happy enough with the colors, except the comment grey is like looking at a wall of text, this one I would like to replace with a dim dark green (much as I get in vscode).

1 Like

It should be CMD+ and CMD- on OSX and I assume CTRL+ and CTRL- on Windows. And you need to be in a script file when you do it.

For now this is nothing that we expose. There’s a CSS somewhere, but I guess it gets overwritten every editor update. We do plan to expose this later on, but for now it’s not something we officially support.

I am on Linux, ubuntu 18.04, and the most I can do is shrink (via Ctrl+ -) the text to an unreadable size and never ever see it again…

“CTRL+ +” is not working.
"Ctrl+ - "is. which means, I can no longer read any script.

Once you have a script editor open, you can reset the font size in the menu:

2 Likes

I was going to yell and scream, assuming the font controls would be greyed out when not available (they are just not there) but…
I can see!
thanks.
Oh and “ctrl+ +” still does not work. ever. I must use that View>Increase drop down to increase font size.

edit:
on vscode I am using this extension: trixnz.vscode-lua
which is pretty good although I like the nice pink of the CONSTANTS in defold.
Just in case you want to see the green I was talking about.

1 Like

Please report this via Help->Report Issue. Thanks.