com.regnosys.rosetta.ide.RosettaIdeSetup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.regnosys.rosetta.ide Show documentation
Show all versions of com.regnosys.rosetta.ide Show documentation
Responsibilities: adding support for developing Rosetta in an IDE, including
- language server features (semantic highlighting, inlay hints, etc)
- syntax highlighting
The newest version!
/**
* generated by Xtext 2.24.0
*/
package com.regnosys.rosetta.ide;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.regnosys.rosetta.RosettaRuntimeModule;
import com.regnosys.rosetta.RosettaStandaloneSetup;
import org.eclipse.xtext.util.Modules2;
/**
* Initialization support for running Xtext languages as language servers.
*/
@SuppressWarnings("all")
public class RosettaIdeSetup extends RosettaStandaloneSetup {
@Override
public Injector createInjector() {
RosettaRuntimeModule _rosettaRuntimeModule = new RosettaRuntimeModule();
RosettaIdeModule _rosettaIdeModule = new RosettaIdeModule();
return Guice.createInjector(Modules2.mixin(_rosettaRuntimeModule, _rosettaIdeModule));
}
}