Skip to content

Commit

Permalink
Enable diagnostics (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Feb 20, 2022
1 parent bc483ce commit 57dd4dc
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@

import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;

import org.eclipse.jface.dialogs.MessageDialog;
Expand All @@ -39,6 +41,11 @@ public SolargraphStreamConnectionProvider() {
super(getSolargraphCommand(), System.getProperty("user.dir"));
}

@Override
public Object getInitializationOptions(URI rootUri) {
return Map.of("diagnostics", true);
}

@Override
public void start() throws IOException {
if (getCommands().isEmpty()) {
Expand Down

0 comments on commit 57dd4dc

Please sign in to comment.