MavensMate retrieves templates for Apex & Visualforce metadata from the MavensMate-Templates GitHub project. The project is open source and contribution is encouraged.
Developing Templates
You have the choice of cloning the MavensMate-Templates repository to your local drive and developing templates locally or forking the repository and sourcing templates from the forked repository.
Developing/Sourcing Templates Locally
- Clone
https://github.com/joeferraro/MavensMate-Templatesto your local drive.
$ git clone https://github.com/joeferraro/MavensMate-Templates - Set
mm_template_locationto"local" - Set
mm_template_sourceto the location on your drive, for example:"/Users/darylshaber/MavensMate/MavensMate-Templates"
*nix Users:"mm_template_source" : "/Users/darylshaber/MavensMate/MavensMate-Templates"
Windows Users:"mm_template_source" : "\\path\\to\\MavensMate-Templates"
Developing/Sourcing Templates Remotely
- Fork the
https://github.com/joeferraro/MavensMate-Templatesproject on GitHub. - Set
mm_template_locationto"remote" - Set
mm_template_sourceto the location on your repository, for example:"github_username/MavensMate-Templates/master"