Developing in Moxie.Build on localhost give you the advantage of working with the template files natively. When working on procedures (MOX code) you need to access that through the Procedures page in the Admin area of a Moxie.Build system, if running the server on localhost or on a remote server. When running on a remote server, you can edit the template files via the Files page in the Admin area.
Best practice is to create folders off the root of C:\ (or another data drive) named C:\Temp and C:\Work and to use those folders for running Moxie.Build on localhost. After creating these folders, set the folder security to not inherit from parent, and set the permissions to only include your account and system, both with full control.
It is safe to backup / zip / copy a running instance of Moxie.Build. However, continuous cloud sync solutions such as OneDrive, Dropbox, etc. should not be used with a running instance because they can be prone to corruption with the continuous high frequency changes and in some cases these systems lock the files they are syncing which will block access to Moxie.Build. For backup purposes, configure a backup schedule for your C:\Temp and C:\Work folders which will ideally first zip up the folders and then back those up to your cloud storage space within the corporate environment.
Press F1, type "settings json" (without the quotes) and select Preferences: Open Settings (JSON). Replace the whole file with the below or manually merge in the JSON data if you have preexisting preferences you'd like to keep.
Note: workbench.colorTheme options include mox-classic (white background) and mox-dark
{
"workbench.startupEditor": "none",
"workbench.colorTheme": "mox-classic",
"workbench.editor.tabSizing": "shrink",
"files.associations": {
"*.tmp": "mox",
"*.ghosttext": "mox"
},
"[mox]": {
"editor.tabCompletion": "off",
"editor.insertSpaces": false,
"editor.trimAutoWhitespace": false,
"editor.wordBasedSuggestions": true,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
}
},
"editor.multiCursorModifier": "ctrlCmd",
"editor.insertSpaces": false,
"editor.trimAutoWhitespace": false,
"cSpell.language": "en,en-GB,en-US",
"cSpell.enabledLanguageIds": [
"asciidoc",
"c",
"cpp",
"csharp",
"css",
"go",
"handlebars",
"html",
"jade",
"javascript",
"javascriptreact",
"json",
"latex",
"less",
"markdown",
"mox",
"php",
"plaintext",
"pub",
"python",
"restructuredtext",
"rust",
"scss",
"text",
"typescript",
"typescriptreact",
"yml"
],
"funcList": {
"doubleSpacing": false,
"filters": [
{
"extensions": [
".mox",
".tmp",
".ghosttext"
],
"native": "/^\\s*(Function|Method|Macro)\\s+[a-zA-Z0-9.+(){}\\/\\\\[\\],_\\-=:;!@#$%^&*|,.<>? ]*\\).*$/mg",
"display": "/\\s*((Function|Method|Macro)\\s+[a-zA-Z0-9.+(){}\\/\\\\[\\],_\\-=:;!@#$%^&*|,.<>? ]+)/1",
"sort": 0
},
{
"extensions": [
".c",
".h"
],
"native": "/^[a-z]+\\s+\\w+\\(/mgi",
"display": "/\\S* +(\\w+)/1",
"sort": 0
},
{
"extensions": [
".cpp",
".hpp"
],
"native": "/(?:^\\w+\\s+|^)\\w+[:]*\\w+\\(/mgi",
"display": "/[\\S ]+(\\w+)/",
"sort": 0
},
{
"extensions": [
".ts",
".php"
],
"native": "/(?:^|\\s)function\\s+\\w+\\(/mg",
"display": "/\\s*function\\s+(\\w+)/1",
"sort": 0
},
{
"extensions": [
".asm"
],
"native": "/^\\w+:\\s*$/mg",
"display": "/\\w+/",
"sort": 0
},
{
"extensions": [
".ps1"
],
"native": "/function\\s+\\w+-?\\w*\\s*{/img",
"display": "/function\\s+(\\w+-?\\w*)/1i",
"sort": 0
}
]
},
"breadcrumbs.enabled": false,
"cSpell.userWords": [
"CUID",
"Wisebox",
"Zynim"
],
"editor.fontSize": 12,
"diffEditor.ignoreTrimWhitespace": true,
"editor.columnSelection": false,
"editor.minimap.enabled": false,
"editor.wordBasedSuggestionsMode": "matchingDocuments",
"files.autoSave": "afterDelay",
"bookmarks.navigateThroughAllFiles": false,
"security.workspace.trust.untrustedFiles": "open"
}