![JAR search and dependency download from the Maven repository](/logo.png)
org.eclipse.xtend.ide.common.XtendIdeSetup Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2010, 2020 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.xtend.ide.common;
import com.google.inject.Guice;
import com.google.inject.Injector;
import org.eclipse.xtend.core.XtendRuntimeModule;
import org.eclipse.xtend.core.XtendStandaloneSetup;
import org.eclipse.xtext.util.Modules2;
/**
* Initialization support for running Xtext languages as language servers.
*
* @since 2.12
*/
public class XtendIdeSetup extends XtendStandaloneSetup {
@Override
public Injector createInjector() {
return Guice.createInjector(Modules2.mixin(new XtendRuntimeModule(), new XtendIdeModule()));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy