Johan
Johan

Reputation: 615

Where to defined code formatting in Xtext

I am working in project generated by the xtext project wizard.

On the the Internet there is a lot of examples but I cannot see in which project and the package name the code formatting class must be defined.

Must the class also be register?

PS my Java skills is not very good.

Upvotes: 1

Views: 68

Answers (1)

Christian Dietrich
Christian Dietrich

Reputation: 11868

You can add a

formatter = {
    generateStub = true
}

To the Workflow

Upvotes: 1

Related Questions