Last active
October 13, 2016 13:00
-
-
Save bantonsson/d2e82529980fd20991a4aaa722243f67 to your computer and use it in GitHub Desktop.
sbt project with a lot of projects take a long time to tab complete
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
def prefixedProj(suffix: String): Project => Project = (proj: Project) => { | |
val projectDirectory: String = s"prefixed-dir/prefixed-proj-$suffix" | |
proj | |
.in(file(projectDirectory)) | |
.settings(name := s"prefixed-proj-$suffix") | |
} | |
lazy val prefixedProj00WithARatherLongName = project.configure(prefixedProj("00")) | |
lazy val prefixedProj01WithARatherLongName = project.configure(prefixedProj("01")) | |
lazy val prefixedProj02WithARatherLongName = project.configure(prefixedProj("02")) | |
lazy val prefixedProj03WithARatherLongName = project.configure(prefixedProj("03")) | |
lazy val prefixedProj04WithARatherLongName = project.configure(prefixedProj("04")) | |
lazy val prefixedProj05WithARatherLongName = project.configure(prefixedProj("05")) | |
lazy val prefixedProj06WithARatherLongName = project.configure(prefixedProj("06")) | |
lazy val prefixedProj07WithARatherLongName = project.configure(prefixedProj("07")) | |
lazy val prefixedProj08WithARatherLongName = project.configure(prefixedProj("08")) | |
lazy val prefixedProj09WithARatherLongName = project.configure(prefixedProj("09")) | |
lazy val prefixedProj10WithARatherLongName = project.configure(prefixedProj("10")) | |
lazy val prefixedProj11WithARatherLongName = project.configure(prefixedProj("11")) | |
lazy val prefixedProj12WithARatherLongName = project.configure(prefixedProj("12")) | |
lazy val prefixedProj13WithARatherLongName = project.configure(prefixedProj("13")) | |
lazy val prefixedProj14WithARatherLongName = project.configure(prefixedProj("14")) | |
lazy val prefixedProj15WithARatherLongName = project.configure(prefixedProj("15")) | |
lazy val prefixedProj16WithARatherLongName = project.configure(prefixedProj("16")) | |
lazy val prefixedProj17WithARatherLongName = project.configure(prefixedProj("17")) | |
lazy val prefixedProj18WithARatherLongName = project.configure(prefixedProj("18")) | |
lazy val prefixedProj19WithARatherLongName = project.configure(prefixedProj("19")) | |
lazy val prefixedProj20WithARatherLongName = project.configure(prefixedProj("20")) | |
lazy val prefixedProj21WithARatherLongName = project.configure(prefixedProj("21")) | |
lazy val prefixedProj22WithARatherLongName = project.configure(prefixedProj("22")) | |
lazy val prefixedProj23WithARatherLongName = project.configure(prefixedProj("23")) | |
lazy val prefixedProj24WithARatherLongName = project.configure(prefixedProj("24")) | |
lazy val prefixedProj25WithARatherLongName = project.configure(prefixedProj("25")) | |
lazy val prefixedProj26WithARatherLongName = project.configure(prefixedProj("26")) | |
lazy val prefixedProj27WithARatherLongName = project.configure(prefixedProj("27")) | |
lazy val prefixedProj28WithARatherLongName = project.configure(prefixedProj("28")) | |
lazy val prefixedProj29WithARatherLongName = project.configure(prefixedProj("29")) | |
lazy val prefixedProj30WithARatherLongName = project.configure(prefixedProj("30")) | |
lazy val prefixedProj31WithARatherLongName = project.configure(prefixedProj("31")) | |
lazy val prefixedProj32WithARatherLongName = project.configure(prefixedProj("32")) | |
lazy val prefixedProj33WithARatherLongName = project.configure(prefixedProj("33")) | |
lazy val prefixedProj34WithARatherLongName = project.configure(prefixedProj("34")) | |
lazy val prefixedProj35WithARatherLongName = project.configure(prefixedProj("35")) | |
lazy val prefixedProj36WithARatherLongName = project.configure(prefixedProj("36")) | |
lazy val prefixedProj37WithARatherLongName = project.configure(prefixedProj("37")) | |
lazy val prefixedProj38WithARatherLongName = project.configure(prefixedProj("38")) | |
lazy val prefixedProj39WithARatherLongName = project.configure(prefixedProj("39")) | |
lazy val prefixedProj40WithARatherLongName = project.configure(prefixedProj("40")) | |
lazy val prefixedProj41WithARatherLongName = project.configure(prefixedProj("41")) | |
lazy val prefixedProj42WithARatherLongName = project.configure(prefixedProj("42")) | |
lazy val prefixedProj43WithARatherLongName = project.configure(prefixedProj("43")) | |
lazy val prefixedProj44WithARatherLongName = project.configure(prefixedProj("44")) | |
lazy val prefixedProj45WithARatherLongName = project.configure(prefixedProj("45")) | |
lazy val prefixedProj46WithARatherLongName = project.configure(prefixedProj("46")) | |
lazy val prefixedProj47WithARatherLongName = project.configure(prefixedProj("47")) | |
lazy val prefixedProj48WithARatherLongName = project.configure(prefixedProj("48")) | |
lazy val prefixedProj49WithARatherLongName = project.configure(prefixedProj("49")) | |
lazy val prefixedProj50WithARatherLongName = project.configure(prefixedProj("50")) | |
lazy val prefixedProj51WithARatherLongName = project.configure(prefixedProj("51")) | |
lazy val prefixedProj52WithARatherLongName = project.configure(prefixedProj("52")) | |
lazy val prefixedProj53WithARatherLongName = project.configure(prefixedProj("53")) | |
lazy val prefixedProj54WithARatherLongName = project.configure(prefixedProj("54")) | |
lazy val prefixedProj55WithARatherLongName = project.configure(prefixedProj("55")) | |
lazy val prefixedProj56WithARatherLongName = project.configure(prefixedProj("56")) | |
lazy val prefixedProj57WithARatherLongName = project.configure(prefixedProj("57")) | |
lazy val prefixedProj58WithARatherLongName = project.configure(prefixedProj("58")) | |
lazy val prefixedProj59WithARatherLongName = project.configure(prefixedProj("59")) | |
lazy val prefixedProj60WithARatherLongName = project.configure(prefixedProj("60")) | |
lazy val prefixedProj61WithARatherLongName = project.configure(prefixedProj("61")) | |
lazy val prefixedProj62WithARatherLongName = project.configure(prefixedProj("62")) | |
lazy val prefixedProj63WithARatherLongName = project.configure(prefixedProj("63")) | |
lazy val prefixedProj64WithARatherLongName = project.configure(prefixedProj("64")) | |
lazy val prefixedProj65WithARatherLongName = project.configure(prefixedProj("65")) | |
lazy val prefixedProj66WithARatherLongName = project.configure(prefixedProj("66")) | |
lazy val prefixedProj67WithARatherLongName = project.configure(prefixedProj("67")) | |
lazy val prefixedProj68WithARatherLongName = project.configure(prefixedProj("68")) | |
lazy val prefixedProj69WithARatherLongName = project.configure(prefixedProj("69")) | |
lazy val prefixedProj70WithARatherLongName = project.configure(prefixedProj("70")) | |
lazy val prefixedProj71WithARatherLongName = project.configure(prefixedProj("71")) | |
lazy val prefixedProj72WithARatherLongName = project.configure(prefixedProj("72")) | |
lazy val prefixedProj73WithARatherLongName = project.configure(prefixedProj("73")) | |
lazy val prefixedProj74WithARatherLongName = project.configure(prefixedProj("74")) | |
lazy val prefixedProj75WithARatherLongName = project.configure(prefixedProj("75")) | |
lazy val prefixedProj76WithARatherLongName = project.configure(prefixedProj("76")) | |
lazy val prefixedProj77WithARatherLongName = project.configure(prefixedProj("77")) | |
lazy val prefixedProj78WithARatherLongName = project.configure(prefixedProj("78")) | |
lazy val prefixedProj79WithARatherLongName = project.configure(prefixedProj("79")) | |
lazy val prefixedProj80WithARatherLongName = project.configure(prefixedProj("80")) | |
lazy val prefixedProj81WithARatherLongName = project.configure(prefixedProj("81")) | |
lazy val prefixedProj82WithARatherLongName = project.configure(prefixedProj("82")) | |
lazy val prefixedProj83WithARatherLongName = project.configure(prefixedProj("83")) | |
lazy val prefixedProj84WithARatherLongName = project.configure(prefixedProj("84")) | |
lazy val prefixedProj85WithARatherLongName = project.configure(prefixedProj("85")) | |
lazy val prefixedProj86WithARatherLongName = project.configure(prefixedProj("86")) | |
lazy val prefixedProj87WithARatherLongName = project.configure(prefixedProj("87")) | |
lazy val prefixedProj88WithARatherLongName = project.configure(prefixedProj("88")) | |
lazy val prefixedProj89WithARatherLongName = project.configure(prefixedProj("89")) | |
lazy val prefixedProj90WithARatherLongName = project.configure(prefixedProj("90")) | |
lazy val prefixedProj91WithARatherLongName = project.configure(prefixedProj("91")) | |
lazy val prefixedProj92WithARatherLongName = project.configure(prefixedProj("92")) | |
lazy val prefixedProj93WithARatherLongName = project.configure(prefixedProj("93")) | |
lazy val prefixedProj94WithARatherLongName = project.configure(prefixedProj("94")) | |
lazy val prefixedProj95WithARatherLongName = project.configure(prefixedProj("95")) | |
lazy val prefixedProj96WithARatherLongName = project.configure(prefixedProj("96")) | |
lazy val prefixedProj97WithARatherLongName = project.configure(prefixedProj("97")) | |
lazy val prefixedProj98WithARatherLongName = project.configure(prefixedProj("98")) | |
lazy val prefixedProj99WithARatherLongName = project.configure(prefixedProj("99")) |
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
at sbt.Command$.suggestions(Command.scala:112) | |
at sbt.Command$.similar(Command.scala:103) | |
at sbt.Command$.invalidValue(Command.scala:100) | |
at sbt.Act$$anonfun$getKey$1.apply(Act.scala:152) | |
at sbt.Act$$anonfun$getKey$1.apply(Act.scala:152) | |
at sbt.complete.ParserMain$$anonfun$failure$1.apply(Parser.scala:344) | |
at sbt.complete.ParserMain$$anonfun$failure$1.apply(Parser.scala:344) | |
at sbt.complete.Parser$$anonfun$mkFailures$1.apply(Parser.scala:187) | |
at sbt.complete.Parser$$anonfun$mkFailures$1.apply(Parser.scala:187) | |
at sbt.complete.Parser$Failure.errors$lzycompute(Parser.scala:167) | |
at sbt.complete.Parser$Failure.errors(Parser.scala:167) | |
at sbt.complete.Parser$Failure$$anonfun$$plus$plus$1.apply(Parser.scala:185) | |
at sbt.complete.Parser$Failure$$anonfun$$plus$plus$1.apply(Parser.scala:185) | |
at sbt.complete.Parser$$anonfun$mkFailures$1.apply(Parser.scala:187) | |
at sbt.complete.Parser$$anonfun$mkFailures$1.apply(Parser.scala:187) | |
at sbt.complete.Parser$Failure.errors$lzycompute(Parser.scala:167) | |
at sbt.complete.Parser$Failure.errors(Parser.scala:167) | |
at sbt.complete.Parser$Failure$$anonfun$$plus$plus$1.apply(Parser.scala:185) | |
at sbt.complete.Parser$Failure$$anonfun$$plus$plus$1.apply(Parser.scala:185) | |
at sbt.complete.Parser$$anonfun$mkFailures$1.apply(Parser.scala:187) | |
at sbt.complete.Parser$$anonfun$mkFailures$1.apply(Parser.scala:187) | |
at sbt.complete.Parser$Failure.errors$lzycompute(Parser.scala:167) | |
at sbt.complete.Parser$Failure.errors(Parser.scala:167) | |
at sbt.complete.ParserMain$$anonfun$3.apply(Parser.scala:562) | |
at sbt.complete.ParserMain$$anonfun$3.apply(Parser.scala:562) | |
at sbt.Util$$anonfun$1.apply(Util.scala:16) | |
at sbt.Util$$anonfun$1.apply(Util.scala:16) | |
at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:111) | |
at scala.collection.immutable.List.foldLeft(List.scala:84) | |
at scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:138) | |
at scala.collection.AbstractTraversable.$div$colon(Traversable.scala:105) | |
at sbt.Util$.separate(Util.scala:16) | |
at sbt.complete.ParserMain$class.seq0(Parser.scala:562) | |
at sbt.complete.Parser$.seq0(Parser.scala:135) | |
at sbt.complete.ParserSeq.derive(Parser.scala:676) | |
at sbt.complete.BindParser.derive(Parser.scala:693) | |
at sbt.complete.HomParser.derive(Parser.scala:632) | |
at sbt.complete.MapParser.derive(Parser.scala:705) | |
at sbt.complete.ParserMain$class.derive1(Parser.scala:454) | |
at sbt.complete.Parser$.derive1(Parser.scala:135) | |
at sbt.complete.ParserMain$$anonfun$apply$9.apply(Parser.scala:450) | |
at sbt.complete.ParserMain$$anonfun$apply$9.apply(Parser.scala:450) | |
at scala.collection.IndexedSeqOptimized$class.foldl(IndexedSeqOptimized.scala:51) | |
at scala.collection.IndexedSeqOptimized$class.foldLeft(IndexedSeqOptimized.scala:60) | |
at scala.collection.immutable.StringOps.foldLeft(StringOps.scala:31) | |
at scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:138) | |
at scala.collection.immutable.StringOps.$div$colon(StringOps.scala:31) | |
at sbt.complete.ParserMain$class.apply(Parser.scala:450) | |
at sbt.complete.Parser$.apply(Parser.scala:135) | |
at sbt.complete.BindParser$$anonfun$completions$3.apply(Parser.scala:685) | |
at sbt.complete.BindParser$$anonfun$completions$3.apply(Parser.scala:684) | |
at sbt.complete.Completions$$anonfun$flatMap$1$$anonfun$apply$1.apply(Completions.scala:19) | |
at sbt.complete.Completions$$anonfun$flatMap$1$$anonfun$apply$1.apply(Completions.scala:19) | |
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) | |
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251) | |
at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:153) | |
at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306) | |
at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:306) | |
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251) | |
at scala.collection.AbstractTraversable.flatMap(Traversable.scala:105) | |
at sbt.complete.Completions$$anonfun$flatMap$1.apply(Completions.scala:19) | |
at sbt.complete.Completions$$anonfun$flatMap$1.apply(Completions.scala:19) | |
at sbt.complete.Completions$$anon$1.get$lzycompute(Completions.scala:27) | |
at sbt.complete.Completions$$anon$1.get(Completions.scala:27) | |
at sbt.complete.Completions$$anonfun$$plus$plus$1.apply(Completions.scala:14) | |
at sbt.complete.Completions$$anonfun$$plus$plus$1.apply(Completions.scala:14) | |
at sbt.complete.Completions$$anon$1.get$lzycompute(Completions.scala:27) | |
at sbt.complete.Completions$$anon$1.get(Completions.scala:27) | |
at sbt.complete.Completions$$anonfun$flatMap$1.apply(Completions.scala:19) | |
at sbt.complete.Completions$$anonfun$flatMap$1.apply(Completions.scala:19) | |
at sbt.complete.Completions$$anon$1.get$lzycompute(Completions.scala:27) | |
at sbt.complete.Completions$$anon$1.get(Completions.scala:27) | |
at sbt.complete.JLineCompletion$.convertCompletions(JLineCompletion.scala:59) | |
at sbt.complete.JLineCompletion$$anonfun$parserAsCompletor$1.apply(JLineCompletion.scala:54) | |
at sbt.complete.JLineCompletion$$anonfun$parserAsCompletor$1.apply(JLineCompletion.scala:52) | |
at sbt.complete.JLineCompletion$$anonfun$customCompletor$1$$anonfun$2.apply(JLineCompletion.scala:78) | |
at sbt.complete.JLineCompletion$$anonfun$customCompletor$1$$anonfun$2.apply(JLineCompletion.scala:78) | |
at sbt.complete.JLineCompletion$.complete(JLineCompletion.scala:97) | |
at sbt.complete.JLineCompletion$$anonfun$customCompletor$1.apply(JLineCompletion.scala:78) | |
at sbt.complete.JLineCompletion$$anonfun$customCompletor$1.apply(JLineCompletion.scala:77) | |
at sbt.complete.JLineCompletion$CustomHandler.complete(JLineCompletion.scala:30) | |
at jline.console.ConsoleReader.complete(ConsoleReader.java:3311) | |
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2646) | |
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2372) | |
at jline.console.ConsoleReader.readLine(ConsoleReader.java:2360) | |
at sbt.JLine.sbt$JLine$$readLineDirectRaw(LineReader.scala:42) | |
at sbt.JLine$$anonfun$readLineDirect$2.apply(LineReader.scala:34) | |
at sbt.JLine$$anonfun$readLineDirect$2.apply(LineReader.scala:34) | |
at sbt.Signals0.withHandler(Signal.scala:81) | |
at sbt.Signals$.withHandler(Signal.scala:11) | |
at sbt.JLine.readLineDirect(LineReader.scala:34) | |
at sbt.JLine.readLineWithHistory(LineReader.scala:27) | |
at sbt.JLine.sbt$JLine$$unsynchronizedReadLine(LineReader.scala:19) | |
at sbt.JLine$$anonfun$readLine$1.apply(LineReader.scala:16) | |
at sbt.JLine$$anonfun$readLine$1.apply(LineReader.scala:16) | |
at sbt.JLine$$anonfun$withJLine$1.apply(LineReader.scala:117) | |
at sbt.JLine$$anonfun$withJLine$1.apply(LineReader.scala:115) | |
at sbt.JLine$.withTerminal(LineReader.scala:89) | |
at sbt.JLine$.withJLine(LineReader.scala:115) | |
at sbt.JLine.readLine(LineReader.scala:16) | |
at sbt.BasicCommands$$anonfun$shell$1.apply(BasicCommands.scala:174) | |
at sbt.BasicCommands$$anonfun$shell$1.apply(BasicCommands.scala:170) | |
at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30) | |
at sbt.Command$$anonfun$command$1$$anonfun$apply$1.apply(Command.scala:30) | |
at sbt.Command$.process(Command.scala:93) | |
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96) | |
at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:96) | |
at sbt.State$$anon$1.process(State.scala:184) | |
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96) | |
at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:96) | |
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) | |
at sbt.MainLoop$.next(MainLoop.scala:96) | |
at sbt.MainLoop$.run(MainLoop.scala:89) | |
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:68) | |
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:63) | |
at sbt.Using.apply(Using.scala:24) | |
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:63) | |
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:46) | |
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:30) | |
at sbt.MainLoop$.runLogged(MainLoop.scala:22) | |
at sbt.StandardMain$.runManaged(Main.scala:54) | |
at sbt.xMain.run(Main.scala:29) | |
at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109) | |
at xsbt.boot.Launch$.withContextLoader(Launch.scala:128) | |
at xsbt.boot.Launch$.run(Launch.scala:109) | |
at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35) | |
at xsbt.boot.Launch$.launch(Launch.scala:117) | |
at xsbt.boot.Launch$.apply(Launch.scala:18) | |
at xsbt.boot.Boot$.runImpl(Boot.scala:41) | |
at xsbt.boot.Boot$.main(Boot.scala:17) | |
at xsbt.boot.Boot.main(Boot.scala) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment