Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Are there complete themes for Visualforce and/or Apex for Notepad++? Ideally with autocomplete for all parameters and methods and code highlighter? I made custom a theme for Visualforce only but without parameter identification so it is not completely useful. I use Notepad++ quite often in my work and it would be very helpful.

I think Notepad++ is the best solution (for me) between Eclipse (too slow when saving) and in-browser editor (unreliable but fast).

share|improve this question
    
what OS are you using? –  Phil B Feb 19 '13 at 15:08
    
@turbo2oh i'm on PC :) –  mast0r Feb 19 '13 at 15:16
2  
see also BrainEngine Studio and BrainEngine Next for a couple other alternatives –  bigassforce Feb 19 '13 at 16:04
2  
An alternative to the 'slow while saving' in Eclipse is disable the Automatic Build feature, which is the task perceived as slow during a save. It can be disabled at the workspace or project level. At that point you get the benefit of working in Eclipse with the schema available to you and can save (locally) quickly and as frequently as you see fit. When you are ready to build and deploy your local saves to SFDC, you can execute the builder via ctrl-B or the 'Build All' item on the Project menu. This does not make the remote save quicker, but you get control when the build action occurs. –  Mark Pond Feb 19 '13 at 17:28
    
@MarkPond Hey Mark, thank you for the answer. I will try that too. –  mast0r Feb 20 '13 at 8:37

2 Answers 2

up vote 7 down vote accepted

The only combination I'm aware of at the moment for a text editor is Sublime Text 2 and Maven's Mate.

Sublime Text 2 is cross-platfrom (as opposed to TextMate which is Mac only), super fast, and has a lot of really fantastic text productivity features, such as multi-line editing.

Maven's Mate gives you some of the major features Eclipse, such as deploying to the server when you save, and some initial auto-complete. It's still got a ways to go, but the deploy to server on save has been enough to make the switch for me. Note that Maven's Mate doesn't officially support Windows, but has a pull request which provides an alpha version.

Another alternative is to use Eclipse to manage pushing data back and forth to Salesforce and using Notepad++ (or any text editor) to edit the files. After you're done edit just go back to eclipse, right click the project, and select refresh (the eclipse refresh, not the force.com refresh from server). When you refresh the project the eclipse auto-build will automatically save it to the server. In practice I'll do the major refactors and editing in the text editor, and then correct typos in Eclipse since the save failures will link to the line number.

share|improve this answer
1  
Thanks for the answer. Just found a video about MavensMate as an alternative to the Force.com IDE. Looks good! youtube.com/watch?v=yKjpMbH6RG0 –  mast0r Feb 19 '13 at 15:49
    
@mast0r happy to help. If I've answered your question would you accept my answer? –  Ralph Feb 19 '13 at 15:57
    
This is what I was thinking about as well, thats why I asked what OS you were using. @Ralph are you on windows? I'm curious how stable the pull request version is. –  Phil B Feb 20 '13 at 14:38
    
I'm not, but looking at the original pull request it was a pretty small change (linux required a lot more tweaks). The tool is just a ruby on rails package, so in theory it should already be pretty stable cross platform. –  Ralph Feb 21 '13 at 0:38

Do you plan on using Notepad++ to edit the code and then push it to the server with Ant scripts or something? I'm curious how you plan on getting the code back to the server. Also, what about the added benefit of the Schema Browser etc?

I'll be the first to admit that the IDE has its problems, but I've never found a better solution.

As a backup plan if there is nothing available, you may be able to build something custom with Notepad++ (I'm not sure if it supports extensions/addons) using the Tooling API.

share|improve this answer
1  
I edit a lot of classes / pages per day and use Notepad++ as an intermediate storage for my data (search and replace, TextFX tools, etc). And then put the code back into the browser editor and save it. This is much faster than working only in Eclipse or only in browser. And yes, in Eclipse i only use Schema Browser. This is the approach that I have developed through the years. –  mast0r Feb 19 '13 at 15:16
1  
Interesting approach to it. If it works for you, awesome! Hopefully someone knows of a good theme you can use. I come from a Java background so using Eclipse for me is second nature at this point. I know all of the shortcuts etc so that is just what I am used to. It made the transition to using the Force.com IDE extension much simpler. –  Jesse Altman Feb 19 '13 at 15:27
1  
Yeah, that is it. I come from web developing, so Eclipse is not my friend so far. It is great to execute anonymous apex or browsing DB, but not working with visualforce or saving (just cant sitting and waiting for about 20 secs until the page/class is saved :) –  mast0r Feb 19 '13 at 15:31
    
I've used a combo technique with Eclipse and a text editor to some success. Create a project with your files in Eclipse, edit them in your favorite text editor, then return to eclipse, right click the project root and select refresh (not the force.com refresh), which will trigger a save to server action. –  Ralph Feb 19 '13 at 15:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.