org.opencds.cqf.cql.ls.DebugCqlCommandContribution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cql-ls Show documentation
Show all versions of cql-ls Show documentation
A Language Server for CQL implementing the LSP
package org.opencds.cqf.cql.ls;
import java.io.ByteArrayOutputStream;
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.concurrent.CompletableFuture;
import java.util.stream.Collectors;
import com.google.gson.JsonElement;
import org.eclipse.lsp4j.ExecuteCommandParams;
import org.opencds.cqf.cql.evaluator.cli.Main;
import org.opencds.cqf.cql.ls.plugin.CommandContribution;
// TODO: This will be moved to the debug plugin once that's more fully baked..
public class DebugCqlCommandContribution implements CommandContribution {
// TODO: Delete once the plugin is fully supported
public static final String START_DEBUG_COMMAND = "org.opencds.cqf.cql.ls.plugin.debug.startDebugSession";
private CompletableFuture