Skip to content

Instantly share code, notes, and snippets.

@pavel-slepenkov
Created July 23, 2014 10:35
Show Gist options
  • Save pavel-slepenkov/d4d7501a4ea277883210 to your computer and use it in GitHub Desktop.
Save pavel-slepenkov/d4d7501a4ea277883210 to your computer and use it in GitHub Desktop.
Templates for setting up Mavensmate project in the same workspace with Force.com IDE project
{
"levels": {
"Apex_code": "DEBUG",
"Workflow": "INFO",
"Apex_profiling": "DEBUG",
"Callout": "INFO",
"Db": "INFO",
"Validation": "INFO"
}
}
{
"levels": {
"Workflow": "INFO",
"Callout": "INFO",
"System": "DEBUG",
"Database": "INFO",
"ApexCode": "DEBUG",
"Validation": "INFO",
"Visualforce": "DEBUG"
},
"users": [
""
],
"expiration": 480
}
{
"metadataObjects": [
{
"directoryName": "installedPackages",
"inFolder": false,
"metaFile": false,
"suffix": "installedPackage",
"xmlName": "InstalledPackage"
},
{
"childXmlNames": "CustomLabel",
"directoryName": "labels",
"inFolder": false,
"metaFile": false,
"suffix": "labels",
"xmlName": "CustomLabels"
},
{
"directoryName": "staticresources",
"inFolder": false,
"metaFile": true,
"suffix": "resource",
"xmlName": "StaticResource"
},
{
"directoryName": "scontrols",
"inFolder": false,
"metaFile": true,
"suffix": "scf",
"xmlName": "Scontrol"
},
{
"directoryName": "components",
"inFolder": false,
"metaFile": true,
"suffix": "component",
"xmlName": "ApexComponent"
},
{
"directoryName": "pages",
"inFolder": false,
"metaFile": true,
"suffix": "page",
"xmlName": "ApexPage"
},
{
"directoryName": "queues",
"inFolder": false,
"metaFile": false,
"suffix": "queue",
"xmlName": "Queue"
},
{
"directoryName": "roles",
"inFolder": false,
"metaFile": false,
"suffix": "role",
"xmlName": "Role"
},
{
"directoryName": "groups",
"inFolder": false,
"metaFile": false,
"suffix": "group",
"xmlName": "Group"
},
{
"childXmlNames": [
"CustomField",
"BusinessProcess",
"CompactLayout",
"RecordType",
"WebLink",
"ValidationRule",
"SharingReason",
"ListView",
"FieldSet"
],
"directoryName": "objects",
"inFolder": false,
"metaFile": false,
"suffix": "object",
"xmlName": "CustomObject"
},
{
"directoryName": "reportTypes",
"inFolder": false,
"metaFile": false,
"suffix": "reportType",
"xmlName": "ReportType"
},
{
"directoryName": "reports",
"inFolder": true,
"metaFile": false,
"suffix": "report",
"xmlName": "Report"
},
{
"directoryName": "dashboards",
"inFolder": true,
"metaFile": false,
"suffix": "dashboard",
"xmlName": "Dashboard"
},
{
"directoryName": "analyticSnapshots",
"inFolder": false,
"metaFile": false,
"suffix": "snapshot",
"xmlName": "AnalyticSnapshot"
},
{
"directoryName": "layouts",
"inFolder": false,
"metaFile": false,
"suffix": "layout",
"xmlName": "Layout"
},
{
"directoryName": "documents",
"inFolder": true,
"metaFile": true,
"xmlName": "Document"
},
{
"directoryName": "weblinks",
"inFolder": false,
"metaFile": false,
"suffix": "weblink",
"xmlName": "CustomPageWebLink"
},
{
"directoryName": "quickActions",
"inFolder": false,
"metaFile": false,
"suffix": "quickAction",
"xmlName": "QuickAction"
},
{
"directoryName": "flexipages",
"inFolder": false,
"metaFile": false,
"suffix": "flexipage",
"xmlName": "FlexiPage"
},
{
"directoryName": "tabs",
"inFolder": false,
"metaFile": false,
"suffix": "tab",
"xmlName": "CustomTab"
},
{
"directoryName": "customApplicationComponents",
"inFolder": false,
"metaFile": false,
"suffix": "customApplicationComponent",
"xmlName": "CustomApplicationComponent"
},
{
"directoryName": "applications",
"inFolder": false,
"metaFile": false,
"suffix": "app",
"xmlName": "CustomApplication"
},
{
"directoryName": "letterhead",
"inFolder": false,
"metaFile": false,
"suffix": "letter",
"xmlName": "Letterhead"
},
{
"directoryName": "email",
"inFolder": true,
"metaFile": true,
"suffix": "email",
"xmlName": "EmailTemplate"
},
{
"directoryName": "flows",
"inFolder": false,
"metaFile": false,
"suffix": "flow",
"xmlName": "Flow"
},
{
"childXmlNames": [
"WorkflowFieldUpdate",
"WorkflowKnowledgePublish",
"WorkflowTask",
"WorkflowAlert",
"WorkflowSend",
"WorkflowOutboundMessage",
"WorkflowFlowAction",
"WorkflowRule"
],
"directoryName": "workflows",
"inFolder": false,
"metaFile": false,
"suffix": "workflow",
"xmlName": "Workflow"
},
{
"childXmlNames": "AssignmentRule",
"directoryName": "assignmentRules",
"inFolder": false,
"metaFile": false,
"suffix": "assignmentRules",
"xmlName": "AssignmentRules"
},
{
"childXmlNames": "AutoResponseRule",
"directoryName": "autoResponseRules",
"inFolder": false,
"metaFile": false,
"suffix": "autoResponseRules",
"xmlName": "AutoResponseRules"
},
{
"childXmlNames": "EscalationRule",
"directoryName": "escalationRules",
"inFolder": false,
"metaFile": false,
"suffix": "escalationRules",
"xmlName": "EscalationRules"
},
{
"directoryName": "postTemplates",
"inFolder": false,
"metaFile": false,
"suffix": "postTemplate",
"xmlName": "PostTemplate"
},
{
"directoryName": "approvalProcesses",
"inFolder": false,
"metaFile": false,
"suffix": "approvalProcess",
"xmlName": "ApprovalProcess"
},
{
"directoryName": "homePageComponents",
"inFolder": false,
"metaFile": false,
"suffix": "homePageComponent",
"xmlName": "HomePageComponent"
},
{
"directoryName": "homePageLayouts",
"inFolder": false,
"metaFile": false,
"suffix": "homePageLayout",
"xmlName": "HomePageLayout"
},
{
"directoryName": "objectTranslations",
"inFolder": false,
"metaFile": false,
"suffix": "objectTranslation",
"xmlName": "CustomObjectTranslation"
},
{
"directoryName": "translations",
"inFolder": false,
"metaFile": false,
"suffix": "translation",
"xmlName": "Translations"
},
{
"directoryName": "classes",
"inFolder": false,
"metaFile": true,
"suffix": "cls",
"xmlName": "ApexClass"
},
{
"directoryName": "triggers",
"inFolder": false,
"metaFile": true,
"suffix": "trigger",
"xmlName": "ApexTrigger"
},
{
"directoryName": "profiles",
"inFolder": false,
"metaFile": false,
"suffix": "profile",
"xmlName": "Profile"
},
{
"directoryName": "permissionsets",
"inFolder": false,
"metaFile": false,
"suffix": "permissionset",
"xmlName": "PermissionSet"
},
{
"directoryName": "datacategorygroups",
"inFolder": false,
"metaFile": false,
"suffix": "datacategorygroup",
"xmlName": "DataCategoryGroup"
},
{
"directoryName": "remoteSiteSettings",
"inFolder": false,
"metaFile": false,
"suffix": "remoteSite",
"xmlName": "RemoteSiteSetting"
},
{
"directoryName": "authproviders",
"inFolder": false,
"metaFile": false,
"suffix": "authprovider",
"xmlName": "AuthProvider"
},
{
"directoryName": "sites",
"inFolder": false,
"metaFile": false,
"suffix": "site",
"xmlName": "CustomSite"
},
{
"childXmlNames": [
"LeadOwnerSharingRule",
"LeadCriteriaBasedSharingRule"
],
"directoryName": "leadSharingRules",
"inFolder": false,
"metaFile": false,
"suffix": "sharingRules",
"xmlName": "LeadSharingRules"
},
{
"childXmlNames": [
"CampaignOwnerSharingRule",
"CampaignCriteriaBasedSharingRule"
],
"directoryName": "campaignSharingRules",
"inFolder": false,
"metaFile": false,
"suffix": "sharingRules",
"xmlName": "CampaignSharingRules"
},
{
"childXmlNames": [
"CaseOwnerSharingRule",
"CaseCriteriaBasedSharingRule"
],
"directoryName": "caseSharingRules",
"inFolder": false,
"metaFile": false,
"suffix": "sharingRules",
"xmlName": "CaseSharingRules"
},
{
"childXmlNames": [
"ContactOwnerSharingRule",
"ContactCriteriaBasedSharingRule"
],
"directoryName": "contactSharingRules",
"inFolder": false,
"metaFile": false,
"suffix": "sharingRules",
"xmlName": "ContactSharingRules"
},
{
"childXmlNames": [
"OpportunityOwnerSharingRule",
"OpportunityCriteriaBasedSharingRule"
],
"directoryName": "opportunitySharingRules",
"inFolder": false,
"metaFile": false,
"suffix": "sharingRules",
"xmlName": "OpportunitySharingRules"
},
{
"childXmlNames": [
"AccountOwnerSharingRule",
"AccountCriteriaBasedSharingRule"
],
"directoryName": "accountSharingRules",
"inFolder": false,
"metaFile": false,
"suffix": "sharingRules",
"xmlName": "AccountSharingRules"
},
{
"childXmlNames": [
"CustomObjectOwnerSharingRule",
"CustomObjectCriteriaBasedSharingRule"
],
"directoryName": "customObjectSharingRules",
"inFolder": false,
"metaFile": false,
"suffix": "sharingRules",
"xmlName": "CustomObjectSharingRules"
},
{
"childXmlNames": [
"UserMembershipSharingRule",
"UserCriteriaBasedSharingRule"
],
"directoryName": "userSharingRules",
"inFolder": false,
"metaFile": false,
"suffix": "sharingRules",
"xmlName": "UserSharingRules"
},
{
"directoryName": "sharingSets",
"inFolder": false,
"metaFile": false,
"suffix": "sharingSet",
"xmlName": "SharingSet"
},
{
"directoryName": "communities",
"inFolder": false,
"metaFile": false,
"suffix": "community",
"xmlName": "Community"
},
{
"directoryName": "callCenters",
"inFolder": false,
"metaFile": false,
"suffix": "callCenter",
"xmlName": "CallCenter"
},
{
"directoryName": "connectedApps",
"inFolder": false,
"metaFile": false,
"suffix": "connectedApp",
"xmlName": "ConnectedApp"
},
{
"directoryName": "appMenus",
"inFolder": false,
"metaFile": false,
"suffix": "appMenu",
"xmlName": "AppMenu"
},
{
"directoryName": "siteDotComSites",
"inFolder": false,
"metaFile": true,
"suffix": "site",
"xmlName": "SiteDotCom"
},
{
"directoryName": "samlssoconfigs",
"inFolder": false,
"metaFile": false,
"suffix": "samlssoconfig",
"xmlName": "SamlSsoConfig"
},
{
"directoryName": "synonymDictionaries",
"inFolder": false,
"metaFile": false,
"suffix": "synonymDictionary",
"xmlName": "SynonymDictionary"
},
{
"directoryName": "settings",
"inFolder": false,
"metaFile": false,
"suffix": "settings",
"xmlName": "Settings"
}
],
"organizationNamespace": null,
"partialSaveAllowed": true,
"testRequired": false
}
{
"username": "salesforce@user.name", <<-- change this
"environment": "production",
"project_name": "project_name", <<-- change this
"workspace": "mavensmate_workspace", <<-- change this
"org_url": "",
"namespace": "",
"id": "",
"metadata_container": "",
"subscription": [
"ApexClass",
"ApexComponent",
"ApexPage",
"ApexTrigger",
"CustomApplication",
"CustomLabels",
"CustomObject",
"CustomObjectTranslation",
"CustomTab",
"Document",
"StaticResource"
]
}
{
"folders": [
{
"folder_exclude_patterns": [
"config/.symbols"
],
"path": "."
}
],
"settings": {
"auto_complete_triggers": [
{
"characters": ".",
"selector": "source - comment"
},
{
"characters": ":",
"selector": "text.html - comment"
},
{
"characters": "<",
"selector": "text.html - comment"
},
{
"characters": " ",
"selector": "text.html - comment"
}
]
}
}
/*
MavensMate Project settings
NOTE: MavensMate Project settings will override MavensMate default and user settings
*/
{
//"mm_api_version" : 29.0
//"mm_compile_with_tooling_api" : true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment