Book a Demo

Author Topic: Editor: use spaces instead of tabs  (Read 3242 times)

EricP

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Editor: use spaces instead of tabs
« on: March 05, 2011, 02:42:21 am »
Can anyone tell me how to set the EA internal code editor to use spaces instead of tabs, and set the number of spaces per tab?

I did it once but then I had to re-install EA and lost that setting, and now I can't find it.

Version is 7.5.850.

Thanks...

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Editor: use spaces instead of tabs
« Reply #1 on: March 07, 2011, 10:20:36 am »
For EA 7.5 you will need to edit the appropriate .properties files under the "\Program Files\Sparx Systems\EA\Config" directory.  There is a PDF file in this directory that should provide further help.  See the properties TAB_USE_SPACES and TAB_WIDTH.

EA 8.0 provides the ability to edit these settings directly from the Tools | Options dialog.
http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/software_development/editor_language_properties.html

HTH.