Printer FriendlyEmail Article Link

TTworkbench: How to use automatic import statement?

Environment/Versions
TTworkbench 32/64 Bit Windows/Linux
Answer
In order to use the automatic import completion in TTCN-3 code:
1. Go and activate in menu Project > Build automatically.
2. Click in the TTCN-3 module  > Right Click, choose Organize imports (or Ctrl + Shift + O), (only) the needed modules including those in XSD or other language will be imported.
As default, those simple statement like types or templates will be explicitly imported.
If implicit import (import from ... all) is desired, you can change the setting over Window > Preferences > TTCN-3 > CLEditor, Configure project specific settings > check Organize Imports > check  Always use import all

Product : Tool Handling