can you count the letter a in:
q: how to rename class in mavensmate? i need to rename a class in mavensmate. i ended up creating a new class and copying the code. is there another way?

a: yes there is a way. while inside sublime:


*

*edit the class name you wanted to edit

*save it locally

*compile the file you just saved

*at the menu bar, click mavensmate > project > clean project (please see image below)



after the cleaning process, youll see that the old class file is still open in sublime, the class name already changed but the filename is still the same, and is not saved. this is normal dont worry. just discard this file. after discarding, search for the newly created file (one way to do this is to press ctrl+p, then type the new class name. it should be there and you should be able to choose it), choose it, and the new newly renamed class should open up. after the class opened up, you will see that its file name is the same as the class name.
if youre still having doubts if the class really got renamed, log in to your sfdc environment and search in objects > apex classes. youll find out that the old name is not there anymore, but the new name is.
cheers!
sam

update 2017-03
i found out that after step 4, you have to add a few more steps. take note that the steps below, i believe, applies to those mavensmate users of version >= 7.0.2, and the new mavensmate app version >= 0.0.10.


*click mavensmate > project > edit project...

*after the mavensmate app opens, go to the project metadata tab

*search for a class with a name thats same with the name you used in your renaming awhile ago.

*tick its checkbox

*click the blue update project button at the top right area.


thats it.

a: sadly, there isnt really. the only alternative is renaming classes/triggers by going into salesforce, but this isnt any more convenient than creating a new class and deleting the old one.
https://developer.salesforce.com/page/miscellaneous

user
The text includes one hundred and thirty-seven "a"s in total.
assistant