Reputation: 29
I am using Eclipse Luna. I have installed the Perl EPIC plugin. I want to indent 4 spaces instead of TAB.
I have checked Window
-> Preferences
-> General
-> Editors
-> Text Editors
-> Insert spaces for tabs
, but still when there is need to auto indent a new line, Eclipse still indents with TAB instead of spaces.
How do I change it so EPIC will use spaces instead of tabs for indentation in Perl files?
Upvotes: 0
Views: 1233
Reputation: 69967
Late answer but I ran into the same issue, found this post, and subsequently how to change the formatting settings for Perl EPIC in Eclipse.
Window
menu and then choose Preferences
.Perl EPIC
and expand it in the tree.Editor
entry.Appearance
tab, you can change your preferences for Insert tabs/spaces on indent
and whether or not to use spaces instead of tabs.Upvotes: 1