To those hacking MavensMate's source code to keep it alive: I strongly recommend you migrate to official Salesforce tooling, namely the VS Code extensions for Salesforce.
MavensMate's codebase has not been updated nor has it been audited for security since development ceased in 2017. Since that time, several of its dependencies have received critical ...
I use these three: SFDX, the Force CLI and ForceCode (a VS Code Plugin).
SFDX can be used to work with Sandbox, Production, and Scratch Orgs.
The Force CLI is a grandparent of the sfdx plugin. SFDX represents a new era of development and is not yet optimised for all possible use cases and takes some time to ingest.
If u want to have a quick start with ...
MavensMate has reached its End Of Life. The connected app that it used to authenticate with Salesforce has been decommissioned, as indicated by the OAuth failure you see.
There is the chance it could be brought back to life if you were to supply a connected app client id to the Node process based on an examination of the core MavensMate package. It accepts ...
Do we need to work each developer in a different dev environment? if not, is there any way to work in the same environment without step on each other's toes?
When developers work in the same org, they tend to overwrite each other's work. You can avoid this with frequent communication and setting up some safeguards in each IDE (like checking the modified ...
As posted in the README notes, you must update to version 7:
Version 7 [prerelease channel]
You must install the following before continuing:
Sublime Text 3 http://www.sublimetext.com/3
Sublime Text Package Control https://packagecontrol.io/installation
MavensMate-app (must be running in order for MavensMate for Sublime Text v7.0+ to function) https://...
Neither Sublime Text nor MavensMate are Salesforce products, they are simply third party products that work with the Salesforce platform.
If you want to use the features provided Sublime Text, then support the developers and buy a license (details here).
If you don't want to buy a licence then I suggest you switch to another tool, such as the Force.com IDE ...
As Joe mentioned above, Mavensmate suffered from a serious CSRF & CORS vulnerability (conceived by @ralph-callaway; confirmed by myself) where any website could make requests against the localhost server. This essentially meant any website you visited could access the auth tokens for your authenticated orgs.
For Example, the following script will ...
No, it pulls the files from the source org first and then deploys. I once tried deploying a class that someone else had modified, but I hadn't updated in MavensMate. It deployed the version from Salesforce instead of the one locally.
You can use SFDX with normal sandboxes, but the exact steps needed will depend on your IDE. From a CLI perspective, you need to do this:
sfdx force:project:create -n "desiredProjectName"
sfdx force:auth:web:login -s -r https://test.salesforce.com
At this point, you will log in through your browser. Afterwards, you can use force:...
From the Sublime Text Site
Sublime Text may be downloaded and evaluated for free, however a
license must be purchased for continued use.
Licenses are per-user, rather than per-machine, so you can enjoy
Sublime Text on as many computers and operating systems as you wish
with your license.
You can purchase a license here
I develop in atom.io and use compare files but it looks like Sublime has a very similar package available called Compare Side-by-Side. You will need package control to install it but if you are using Mavensmate you must already have that installed.
You can edit list views by opening the objects/ folder, finding the .object file that you want to modify, and finding the section of listViews elements, which describe each of your list views. You'll want to read all about it in the documentation.
<?xml version="1.0" encoding="UTF-8"?>
I ran into the same. I found Issue #769 instructive.
joeferraro commented on Apr 12
Hey guys, so it doesn't look particularly straightforward to support TLS 1.1 in the Python-based mm tool. In the meantime, we're recommending folks use the node-based betas: https://github.com/joeferraro/MavensMate-SublimeText#version-7-betas
hemmeter commented on ...
You need to make sure the separate MavensMate application is installed and running in order to be able to save any files using Sublime Text. That's the tool that allows Sublime Text to communicate with the Salesforce servers.
You can see releases available to install here, where there is also a Latest Release button.
The newest version of MavensMate will be available for Github Atom, which is free and open source. You might check that out and stay abreast of the release timeline:
As per the GitHub site https://github.com/joeferraro/MavensMate-app, they have packaged the local MavensMate server into a nifty, cross-platform application called MavensMate-app. Why did they do it? Quite simply, to make it easier to install and run MavensMate. All MavensMate plugins (Sublime Text, Atom, etc.) now require MavensMate-app to be installed and ...
Typically, test classes cannot see the data in your environment. You need to create this data before / at the beginning of your test methods.
There are some great articles & even a Trailhead module:
Set Up Test Data for an Entire Test Class
Creating Test Data for Apex Tests
In short, you should create general test records in a @testSetup method. This ...
If you're open to alternatives to Sublime, Illuminated Cloud has limited support for Lightning components development right now with full support coming in the next few months. You can currently deploy and retrieve Aura bundle metadata including support for deploy-on-save behavior of the entire bundle when editing constituent files, and you can use IntelliJ ...
I took a brief look at the mavensmate code. What install Mavensmate API does is it creates a Mavensmate folder under your sublime's package\User folder and everything is inside there. By removing that folder you can remove Mavensmate API. In windows, it is usually under c:\users[username]\AppData\Roaming\Sublime Text 3\Packages\User. I am not sure about ...
I've pinged DaveC about this to see if we can get it corrected. I hit similar stumbling blocks when I first built from source but I did eventually get past them. The hg issue is either a path problem (I seem to recall having to add it to my path manually) or perhaps you have not installed this dependency? Waiting for the binaries to come back online is not a ...
So, I use a Mac, and I'm sure this key-combo is slightly different but what you want to do is bring up the command palette. On a mac thats Shift-Cmd-P. Googling reveals it's control-shift-p on winders.
Once you open the command palette, you can start typing the name of the command you want to run ie: deploy, or apex class, or trigger etc. Select what you'...
You know, I am in china behind the GFW, I can't see the Human Beings Verification alert, so I need to use VPN to answer your question, sorry about that.
You need to click new > new project to download the apex code, switch project just switch but not create project.
I recently got stuck with this error while I was trying to create a new project. I found out that I forgot to setup the path of my workspace directory under the "default" setting. However, I did setup the path of my workspace for the "user" setting. The paths for the both should be the same.
1. MavensMate > Settings > User
(Set the path on this ...
Using the comments provided I'm going to attempt to submit a response for documentation until someone else provides a better solution. Also SublimeApex has been converted to HaoIDE (the steps are basically the same)
Setting up SublimeApex HaoIDE
To start, once you install SublimeApex HaoIDE from Package Control and restart Sublime Text, you first need to ...
The best way I've seen this work is having each developer maintain their own sandbox. They can branch the svn/git repository and make changes to their branch in their own sandbox, and then have a shared sandbox which represents trunk/master branch.
git rebasing or svn updating is up to the developer, and merge conflicts are also up to the developer.
I just did this the other day. This is what I did:
1. Created a new Force.com project in Eclipse
2. I choice the same name and workspace location as the Sublime project
3. When prompted for items to pull down in the metadata I set it to None
4. This step may differ but I used git to revert my changes to the package file so that it would return to what I had ...
After the recent updates to the MavensMate-app, Mavensmate.exe needs to be running while trying to update a project, otherwise it will throw the error:
"Could not contact local MavensMate server, please ensure MavensMate-app is installed and running."
Go to your C:\Program file.. \ mavensmate \ mavensmate.exe and run mavensmate.exe.
I use the v6 and it ...
Hopefully, you are already using the SFDX tools (see e.g. Salesforce DX) that together with server-side changes have made compilation a bit faster.
There is no 100% client-side solution today. The commonly used IDEs - VSCode and Illuminated Cloud - both offer a level of syntax checking and auto-completion that help a bit. But ultimately, from time to time, ...
Answer: yes, something happened to stop my connection. Instead of trying to grab all of the data I needed in one go (then not knowing if it was doing anything), I separated out my next tries. For my example, this meant going into my report folder and choosing only certain sub folders for each update. Wait times were certainly much shorter. :)