-
Notifications
You must be signed in to change notification settings - Fork 0
Settings
grarup edited this page Aug 21, 2015
·
1 revision
The main settings file looks like this.
{
"$schema" : "generalsettings.schema.json",
"schemas" : [
],
"templates" : [
],
"converttabs" : true,
"tabsize" : 2,
"shortcuts" : [
{
"gesture" : "ctrl+s",
"command" : "Save"
},
{
"gesture" : "ctrl+p",
"command" : "OpenFileSearch"
},
{
"gesture" : "ctrl+tab",
"command" : "ShowSwitchFile",
},
{
"gesture" : "f5",
"command" : "Run"
}
],
"editors" : [
"QubicleViewer.dll",
],
"runpath" : "",
"runparameters" : "",
}
schemas contains a list of paths to directories where schemas can be located
Example:
"schemas" : [
"C:\\test schemas",
"C:\\stonehearth schemas"
]
templates contains a list of paths to directories where templates can be located
Example:
"templates" : [
"C:\\test templates",
"C:\\stonehearth templates"
]
Tabs can be controlled by thees to settings converttabs and tabsize.
Converttabs determine if tabs should be converted to spaces
Tabsize set the number spaces a tab is equal to.
Example:
"converttabs" : true,
"tabsize" : 2,
Keyboard shortcuts for functions can be set.
Exsample
"shortcuts" : [
{
"gesture" : "ctrl+s",
"command" : "Save"
},
{
"gesture" : "ctrl+p",
"command" : "OpenFileSearch"
},
{
"gesture" : "ctrl+tab",
"command" : "ShowSwitchFile",
},
{
"gesture" : "f5",
"command" : "Run"
}
],
editors contains a list of dll's that contains editors.
Example:
"editors" : [
"QubicleViewer.dll",
],
The runpath and runparameters is used for the run command
Example:
"runpath" : "",
"runparameters" : "",