| Summary: | Support default server side preferences for editor | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Bogdan Gheorghe <gheorghe> |
| Component: | Editor | Assignee: | Bogdan Gheorghe <gheorghe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 3.0 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Bogdan Gheorghe
Users can add editor preferences to the defaults.pref file on the server. For example, to enable autoSave with a 1250ms timeout and no UI visible in the prefs page (ie. always keep it on), the defaults.pref file would look like this:
{
"/plugins":{
"plugins/authenticationPlugin.html": true,
"plugins/fileClientPlugin.html":true,
"plugins/jslintPlugin.html":true,
"git/plugins/gitPlugin.html":true,
"profile/userservicePlugin.html":true,
"plugins/webEditingPlugin.html":true,
"plugins/pageLinksPlugin.html":true,
"plugins/preferencesPlugin.html":true,
"plugins/taskPlugin.html": true,
"plugins/csslintPlugin.html": true,
"plugins/site/sitePlugin.html": true,
"plugins/esprima/esprimaJsContentAssistPlugin.html":true,
"plugins/npmPlugin.html": true,
"shell/plugins/shellPagePlugin.html":true
},
"/editor/settings": {
"editorSettings": {
"autoSaveEnabled":true,
"autoSaveTimeout":1250,
"autoSaveVisible":false
}
}
}
|