- Install bloop
1.0.0-M11
by following the Bloop installation instructions. Then, make sure you start up the bloop server on the background and to generate the configuration files by runningbloopInstall
in your build tool. - Install IntelliJ EAP 2018.2 and then enable the nigthly version of the Scala Plugin. Instructions here and picture here:
- Reboot IntelliJ. After the Scala nightly is released, open a normal project in IntelliJ and look for the IntelliJ action "Enable bsp" (usually with Ctrl-Shift-A). The search box will show the full action name: "Enable experimental bsp support". Click on it.
- Close the project you're in and import the project. This time, when IntelliJ shows you the available options for the import, the
bsp
option wi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version" : "1.1.2", | |
"project" : { | |
"name" : "frontend", | |
"directory" : "/Users/jvican/Code/bloop/frontend", | |
"sources" : [ | |
"/Users/jvican/Code/bloop/frontend/src/main/scala-2.12", | |
"/Users/jvican/Code/bloop/frontend/src/main/scala", | |
"/Users/jvican/Code/bloop/frontend/src/main/java", | |
"/Users/jvican/Code/bloop/frontend/target/scala-2.12/src_managed/main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ uname -a | |
Linux lamppc8 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | |
➜ ~ cat /proc/cpuinfo | |
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 60 | |
model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz | |
stepping : 3 | |
microcode : 0x1c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code navigation does not work for the file '/Users/jvican/Code/bloop/integrations/gradle-bloop/src/test/scala/bloop/integrations/gradle/ConfigGenerationSuite.scala' because the build target gradleBloop212-test is being compiled. Wait until compilation is finished and try again. | |
build shutdown: bloop | |
java.util.concurrent.ExecutionException: org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: com.sun.jna.LastErrorException: [32] Broken pipe | |
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) | |
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915) | |
at scala.meta.internal.metals.BuildServerConnection.$anonfun$shutdown$1(BuildServerConnection.scala:41) | |
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) | |
at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:658) | |
at scala.util.Success.$anonfun$map$1(Try.scala:255) | |
at scala.util.Success.map(Try.scala:213) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Baseed on previous attempts of others: https://github.com/NixOS/nixpkgs/issues/41189 | |
{ lib, vscode-utils, autoPatchelfHook, bash, file, makeWrapper, dotnet-sdk | |
, curl, gcc, icu, libkrb5, libsecret, libunwind, libX11, lttng-ust, openssl, utillinux, zlib | |
, enableDiagnosticsWorkaround ? false, gccStdenv, dos2unix | |
}: | |
with lib; | |
let | |
# https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/linux#install-prerequisites-manually |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bloop.tracing | |
import brave.{Span, Tracer} | |
import brave.propagation.TraceContext | |
import monix.eval.Task | |
import monix.execution.misc.NonFatal | |
import scala.util.Failure | |
import scala.util.Success |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failed to connect with build server, no functionality will work. | |
org.eclipse.lsp4j.jsonrpc.JsonRpcException: java.io.IOException: com.sun.jna.LastErrorException: [32] Broken pipe | |
at org.eclipse.lsp4j.jsonrpc.json.StreamMessageConsumer.consume(StreamMessageConsumer.java:72) | |
at org.eclipse.lsp4j.jsonrpc.RemoteEndpoint.request(RemoteEndpoint.java:161) | |
at org.eclipse.lsp4j.jsonrpc.services.EndpointProxy.invoke(EndpointProxy.java:91) | |
at com.sun.proxy.$Proxy8.buildShutdown(null) | |
at scala.meta.internal.metals.BuildServerConnection.shutdown(BuildServerConnection.scala:41) | |
at scala.meta.internal.metals.MetalsLanguageServer.autoConnectToBuildServer(MetalsLanguageServer.scala:988) | |
at scala.meta.internal.metals.MetalsLanguageServer.quickConnectToBuildServer(MetalsLanguageServer.scala:981) | |
at scala.meta.internal.metals.MetalsLanguageServer.executeCommand(MetalsLanguageServer.scala:871) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version" : "1.0.0", | |
"project" : { | |
"name" : "frontend", | |
"directory" : "/Users/jvican/Code/bloop/frontend", | |
"sources" : [ | |
"/Users/jvican/Code/bloop/frontend/src/main/scala-2.12", | |
"/Users/jvican/Code/bloop/frontend/src/main/scala", | |
"/Users/jvican/Code/bloop/frontend/src/main/java", | |
"/Users/jvican/Code/bloop/frontend/target/scala-2.12/src_managed/main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version" : "1.0.0", | |
"project" : { | |
"name" : "frontend", | |
"directory" : "/Users/jvican/Code/bloop/frontend", | |
"sources" : [ | |
"/Users/jvican/Code/bloop/frontend/src/main/scala-2.12", | |
"/Users/jvican/Code/bloop/frontend/src/main/scala", | |
"/Users/jvican/Code/bloop/frontend/src/main/java", | |
"/Users/jvican/Code/bloop/frontend/target/scala-2.12/src_managed/main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Generated by maven-plugin-tools 3.5 on 2018-06-16 --> | |
<plugin> | |
<name>maven-bloop</name> | |
<description>maven-bloop</description> | |
<groupId>ch.epfl.scala</groupId> | |
<artifactId>maven-bloop_2.12</artifactId> | |
<version>1.0.0-M11</version> |