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.

I installed Force IDE in my Eclipse. But all the code are opened in text editor. I tried open with > other editors and apex editor is still not there. Therefore I can't get the keywords highlighted or get the intelligent pop-ups. Is there any way I can resolve this?

share|improve this question
1  
Have you tried MavensMate? –  Bachovski May 26 at 0:32
    
I remember in Eclipse there are settings for the editors as well as assigning which is default editor for each file extension. I can't remember where exactly this was from top of my head but check the eclipse settings/preferences. –  Bachovski May 26 at 0:43
1  
No. I just looked at the website. Seems it is based on text editors so must be very different user experience from Eclipse based IDE. I will give it a try later. –  Lance Shi May 26 at 0:43
    
Different experience is right. IMO it's a VASTLY improved experience ;) –  LaceySnr May 26 at 1:14
    
Okay, since you guys are far better developers than I do, I will take your advice and try that. –  Lance Shi May 26 at 1:19
add comment

2 Answers 2

It's been awhile since I've used Eclipse as my Force.com IDE, but I think you want to open the Force.com perspective.

Windows > Open Perspective > Other. Force.com

enter image description here

share|improve this answer
    
I did it, but it still didn't fix for me. Since everybody is recommending Mavensmate, I will give it a try and see how it goes. –  Lance Shi May 26 at 1:21
    
Mavens is definitely the better option. That what I'm using day to day. –  Daniel Ballinger May 26 at 2:06
add comment

The Force IDE does have an Apex editor.

If you go to "About" and click on the salesforce.com icon and then "Plug-in Details" you should see the "Force.com IDE Editors" plug-in listed.

The Apex editor is associated by file extension (so the "File Associations" should get set automatically on installation) and so should be available whatever the perspective:

<!-- apex class/trigger editor -->
<editor
    id="com.salesforce.ide.ui.editors.apex"
    class="com.salesforce.ide.ui.editors.apex.ApexCodeMultiPageEditor"
    contributorClass="com.salesforce.ide.ui.editors.apex.ApexActionContributor"
    default="true"
    extensions="cls, cls-meta.xml, trigger, trigger-meta.xml"
    icon="icons/appExDevIco16.png"
    name="%editor.name.ApexCode">
        <contentTypeBinding contentTypeId="com.salesforce.ide.core.contentType.class" />
        <contentTypeBinding contentTypeId="com.salesforce.ide.core.contentType.trigger" />
</editor>

so presumably the problem is that your installation has failed in some way.

Perhaps the Force IDE will recover some of its lost ground when eventually it moves to using the newer APIs - see Force.com IDE - any news on the "after the refactor version"?.

share|improve this answer
    
Thank you for this. I looked at the list - and Force.com IDE Editors is not there. So I guess there is something wrong with my installation. –  Lance Shi May 26 at 7:57
add comment

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.