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-Templates
to your local drive.
$ git clone https://github.com/joeferraro/MavensMate-Templates
- Set
mm_template_location
to"local"
- Set
mm_template_source
to 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-Templates
project on GitHub. - Set
mm_template_location
to"remote"
- Set
mm_template_source
to the location on your repository, for example:"github_username/MavensMate-Templates/master"