function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
James L.James L. 

How to set "Insert Spaces instead of TAB when I hit ENTER key" in Eclipse + SFDC plugin

Hi,

 

This is driving me crazy.  

I already set "General -> Editor -> Text Editor -> Insert Sapce for Tab" in Eclipse + SFDC plugin.

This works if I hit TAB key. However in following case

 

    public class UIOppGrp {

 

If I hit ENTER after I input "{", the editor will do the auto-indentation and create a new line. But the new line starts with TAB, instead of space.

 

I found there's Indentation option for Java. But looks like that does not work with Eclipse + SFDC plugin

 

Thanks

James

Vasu BVasu B

Bump

 

This is driving me crazy and I cannot find a way around it.  I'm hoping somebody else has solved this.