wiki:PRO_LIB_CORE_CODE_TEMPLATES

Version 2 (modified by Tanya, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

How to import code templates in Eclipse

  • Go to Window -> Preferences -> Java -> Editor -> Templates
  • Click "Import"
  • Import all templates which are in -> sophie2-platform/dev-tools/eclipse_templates in the repository.

Code Templates

Auto Property

  • Now you can only write auto_property + Ctrl + Space

Error: Macro Include(source:/trunk/sophie2-platform/dev-tools/eclipse_templates/auto_property.xml) failed
'NoneType' object has no attribute 'get_node'

Value Property

  • Now you can only write value_property + Ctrl + Space

Error: Macro Include(source:/trunk/sophie2-platform/dev-tools/eclipse_templates/value_property.xml) failed
'NoneType' object has no attribute 'get_node'

Final Property

  • Now you can only write final_property + Ctrl + Space

Error: Macro Include(source:/trunk/sophie2-platform/dev-tools/eclipse_templates/final_property.xml) failed
'NoneType' object has no attribute 'get_node'