Fork me on GitHub

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

  1. Clone https://github.com/joeferraro/MavensMate-Templates to your local drive.
    $ git clone https://github.com/joeferraro/MavensMate-Templates
  2. Set mm_template_location to "local"
  3. 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

  1. Fork the https://github.com/joeferraro/MavensMate-Templates project on GitHub.
  2. Set mm_template_location to "remote"
  3. Set mm_template_source to the location on your repository, for example: "github_username/MavensMate-Templates/master"