Eclipse 3.6, turn off autocomplete for Salesforce (force.com) - eclipse

I'm using the force.com (Salesforce) plugin in Eclipse.
Is there a way forcibly turn off autocomplete? (Typing a quote makes the end pair automatically appear. This drives me crazy)
In eclipse I can turn this off for individual languages but the preferences > force.com section doesn't expose this. I'd be happy if autocomplete was forcibly turned off everywhere.

What you're looking for is in the "Editor" preferences (search for editor and then look for Typing below the editor of your language).
For Java, that would be Java -> Editor -> Typing -> Automatically close.

Related

Eclipse for Android, lost code completion feature

I wanted to transfer my Syntax coloring settings from my Eclipse EE to my Eclipse for Android, so I did what is told in this question. The problem is that, even if my syntax coloring did apply correctly, I lost all my code completion and proposals (and, conveniently enough, I didn't make a backup)! If I press ctrl + space, I get a No default proposals message. Always.
I wouldn't like to have to install the whole IDE again, so if someone could provide a solution to this it would be much appreciated.
Preferences > Java > Editor > Content Assist > Advanced lists the default content assist proposals. Check that some proposals are actually enabled.

Eclipse : Run an external software in editor view

I am using Eclipse to edit almost any file that I code. But for some, I prefer to use gEdit (for instance CoffeeScript files).
I wondered if there was a way to somehow embed the UI of gEdit (or any other software) in the Editor view of Eclipse. I could use my favorite editor in an unified environment and this could also bring the richness of the Eclipse environment to those files (even if I'm well aware that most of it won't work).
But is it ever possible ? Better, is there already a plugin for that ?
Thanks for your help !
I wondered if there was a way to somehow embed the UI of gEdit (or any other software) in the Editor view of Eclipse.
No, there isn't.
However, you can execute an external editor from Eclipse.
From the main Eclipse menu, left click on Window -> Preferences.
On the Preferences dialog, left click General -> Editors -> File Associations.
For any file type, you can associate one or more editors. These editors can be external to Eclipse.
Once you've done this, you can bring up your external editor by double clicking on the module name in the Package Explorer.
After you're finished editing with an external editor, refresh the module so Eclipse knows you've made changes.
SWT allows to integrate apps using OLE. Unluckily this is obviously available only when running on Windows.
For more info, see this article by Lars Vogel.

How can do code alignment in Eclipse base Force.com IDE

How can do code alignment with Eclipse base Force.com IDE.
Alignment shortcut key 'CTRL+SHIFT+F' is not working for Apex code.
None of the suggestions so far work for me. Note that the Force IDE opens the Apex class in an Apex Editor. This editor does not appear in the list of contexts that you can associate with a key event. For example, this list contains such contexts as "editing in structured text", "editing in Java Source", etc.
The Apex Editor does not contribute a "Source" menu option to the right click menu. So there is no way to get to the formatting features.
I tried to open the apex class in the Java. Now the "Source" menu option appears the format option doesn't do anything. (Hence no key event will be able to do anything.)
The only thing I can get to work is this ...
Select file.... Open With... Other ... locate Java Editor.
Once file is open ... select all text .. right click and select Source ... Correct Indentation .
This does not reformat but it does fix the indentation problem.
Someday I hope SFDC will make the code for the Force IDE open source. Then we, as a community, could build more developer-friendly tools.
Apex classes and triggers use a different editor than Java. The auto formatter (or code alignment) does not work with Apex Code (or the Apex Code Editor). I couldn't get CTRL-SHIFT+F to work in the most recent version of Eclipse with the Force.com IDE, either. I believe this is because the auto formatter is designed to work with Java only.
However, if you switch to the Java perspective and open your Apex class with the Java Editor, CTRL+I does correct indentation properly.
Go to Preferences -> General -> Keys and type "format" into the search box, you will see what keys (if any) are bound to the format commands. Then you can bind what you like or use what's available.

Keyboard shortcut synchronization with Eclipse and IDEA?

My time spent programming is split between what I do at work, and the programming I do at home in my spare time. At work, we use Vista machines and IntelliJ IDEA 8, whilst at home I use Mac OS X and Eclipse.
As you can imagine, my ability to easily switch between the two is getting more difficult as I find the keyboard shortcuts are different.
Is there a good way to quickly standardize the shortcuts for both Eclipse and IDEA? I see myself mostly using Eclipse in the future, so I would preferably like to switch in that direction.
If not, I'll do it manually (ughh).
To get Eclipse Shortcuts, go to "Settings" and type "keymap".
Then select Eclipse on the list.
Odd, someone had the exact same wish back in 2005!
Intellij is supposed to have an Eclipse Keymap
The IntelliJ FAQ for eclipse user mentions:
IntelliJ IDEA includes a bundled Eclipse keymap, so you can select it in Settings dialog, Keymap if you prefer using shortcuts you're accustomed to.
IntelliJ is supposed to have that Eclipse keymaps since the Demetra 6.0.5 version.
See their Release Notes from that (old) version.
Shortcut to use Eclipse shortcuts in IntelliJ Idea:
Press ctrl+`(also have tilde~ on it, button at the left side of digit 1). Then press 3 (Keymap) and select 2 (Eclipse). Done!
From the Settings dialog box --> select Keymap --> select "eclipse" from keymap dropdown list. Have a look at below link for details:
https://confluence.jetbrains.com/display/IntelliJIDEA/Configure+Keymap
This doesn't directly address your question, but IntelliJ's license allows you to run the application from home. See their faq.
That way you can use IntelliJ both at work, and at home.

How do I get Aptana to recognize .jspf files?

How do I get Aptana to recognize .jspf files?
I'd like to have syntax highlighting for .jspf files. I'm sure there's a preference/config option or an xml file to edit, but I'm not finding it.
I assume it's similar to the eclipse process, so I'm tagging eclipse, too. If it's not, I'll remove the tag.
I hope this is what you mean but you can set your file assosiations in Eclipse usually like this (and yes, Apatana is Eclipse based so it should work the same way):
Window -> Preferences
Then
General -> Editors -> File Associations
Select *.jspf and move or add the Aptana Editor you want to use by default.