Generate code for expressions in design time to enable intellisense

Fixes #80