Caret/config/user.json

40 lines
1.4 KiB
JSON
Raw Normal View History

2013-09-10 23:38:30 +00:00
/*
All settings for Caret are stored in JSON-formatted files. If you open one of
these files from the menu, then save it, it'll be dropped into Chrome's
synchronized storage, which means that (theoretically) all your computers will
2013-09-13 15:51:01 +00:00
get a copy. Comments are allowed, obviously--they'll be stripped out on load.
2013-09-10 23:38:30 +00:00
Your individual settings are shallow-merged with a copy of the defaults
(available from Settings > View Defaults). When you first open them, your
configuration will be a copy of the defaults, but I recommend stripping out
anything you don't want to set explicitly, so that you can benefit if the
default settings change in future releases.
If your local file is not valid JSON, the defaults will be used. If your changes
aren't being accepted, run the file (sans comments) through a JSON checker and
make sure you don't have any syntax errors.
2013-09-10 23:38:30 +00:00
*/
{
2013-09-13 15:51:01 +00:00
//This should be any of the supported Ace themes
2013-09-13 22:57:57 +00:00
"defaultTheme": "chrome", //AKA "Native",
"uiTheme": "light", //dark or light, your pick
2013-09-13 15:51:01 +00:00
//indentation only in spaces, as God intended
"indentation": 2,
"wordWrap": true,
2013-09-13 15:51:01 +00:00
//only fixed-width fonts supported, for now
"fontFamily": "",
"fontSize": 13,
2013-09-13 15:51:01 +00:00
//Web workers are used for code hinting in PHP, JavaScript, and JSON.
//We don't yet have a way to set the worker options, but you can disable it.
2013-09-14 21:08:25 +00:00
"useWorker": true,
//Crazy? You might like Vim keybindings. Only takes effect on restart
"emulateVim": false
}