File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
sbt-dotty/src/dotty/tools/sbtplugin Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -899,7 +899,7 @@ object Build {
899
899
900
900
901
901
sbtPlugin := true ,
902
- version := " 0.1.3 " ,
902
+ version := " 0.1.4 " ,
903
903
ScriptedPlugin .scriptedSettings,
904
904
ScriptedPlugin .sbtTestDirectory := baseDirectory.value / " sbt-test" ,
905
905
ScriptedPlugin .scriptedBufferLog := false ,
Original file line number Diff line number Diff line change @@ -239,13 +239,14 @@ object DottyIDEPlugin extends AutoPlugin {
239
239
runProcess(codeCommand.value ++ Seq (" ." ), directory = baseDirectory.value)
240
240
} catch {
241
241
case ioex : IOException if ioex.getMessage.startsWith(""" Cannot run program "code"""" ) =>
242
- throw new MessageOnlyException (
242
+ val log = streams.value.log
243
+ log.error(
243
244
""" Could not find Visual Studio Code on your system.
244
- |Please download it at (https ://code.visualstudio.com/) and add it to your path and then rerun launchIDE
245
- |
246
- |For Linux: https://code.visualstudio.com/docs/setup/linux
247
- |For Windows: https://code.visualstudio.com/docs/setup/windows
248
- |For Mac: https://code.visualstudio.com/docs/setup/mac """ .stripMargin)
245
+ |Follow the instructions at http ://dotty.epfl.ch/docs/usage/ide-support.html
246
+ |to install it. """ .stripMargin)
247
+ throw new FeedbackProvidedException {
248
+ override def toString = " Could not find Visual Studio Code on your system. "
249
+ }
249
250
}
250
251
}
251
252
You can’t perform that action at this time.
0 commit comments