Skip to content
grarup edited this page Aug 21, 2015 · 1 revision

Settings

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

schemas contains a list of paths to directories where schemas can be located

Example:

"schemas" :	[
	"C:\\test schemas",
	"C:\\stonehearth schemas"
]

Templates

templates contains a list of paths to directories where templates can be located

Example:

"templates" :	[
	"C:\\test templates",
	"C:\\stonehearth templates"
]

Tabs

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,

Shortcuts

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

editors contains a list of dll's that contains editors.

Example:

"editors" : [
	"QubicleViewer.dll",
],

Run

The runpath and runparameters is used for the run command

Example:

"runpath" : "",
"runparameters" : "",

Clone this wiki locally