From 504ac0d635d36e94dc6241a43cfba88b36c9a889 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Sun, 7 Feb 2016 22:27:29 +1000 Subject: Enable IntellIJ smarts while editing the build Even though our build can't be imported into IntelliJ automatically, we don't need to live in the dark ages of red squigglies when editing build.sbt. This commit hand-crafts the module defintion for the project, which has SBT and its dependendencies on the classpath. A screenshot of the code assist is worth the thousand expletives I uttered while writing the pictured code without this facility: https://www.dropbox.com/s/6mxv0iwxkhvnor7/Screenshot%202016-02-07%2022.09.12.png?dl=0 To download the sources for the SBT JARs that are referenced herein, run sbt> reload plugins sbt> updateClassifiers --- src/intellij/scala-build.iml.SAMPLE | 109 ++++++++++++++++++++++++++++++++++++ src/intellij/scala.ipr.SAMPLE | 3 +- 2 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 src/intellij/scala-build.iml.SAMPLE (limited to 'src') diff --git a/src/intellij/scala-build.iml.SAMPLE b/src/intellij/scala-build.iml.SAMPLE new file mode 100644 index 0000000000..bf722e464f --- /dev/null +++ b/src/intellij/scala-build.iml.SAMPLE @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/intellij/scala.ipr.SAMPLE b/src/intellij/scala.ipr.SAMPLE index 47ac2be188..420f559097 100644 --- a/src/intellij/scala.ipr.SAMPLE +++ b/src/intellij/scala.ipr.SAMPLE @@ -46,6 +46,7 @@ + @@ -125,4 +126,4 @@ - \ No newline at end of file + -- cgit v1.2.3