Search code examples
xtend

How to write the symbol for begin/end expression inside RichString?


How do I write the symbol » from within an Eclipse environment with Xtend, in order to obtain this code:

def writeLetterTo(Person p) '''
    Dear «p.forename»,

    bla bla foo

    Yours sincerely,

    Joe Developer

        «signature»
'''

Solution

  • It's bound to CTRL+> and also available through code completion. An a mac it's also bound to ALT+SHIFT+Q