All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.regnosys.rosetta.ide.RosettaIdeSetup Maven / Gradle / Ivy

Go to download

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));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy