Skip to content

Commit

Permalink
Only start the VSCode extension when a .ensime file exists (dragos#47)
Browse files Browse the repository at this point in the history
The extension is useless without it, and this avoids conflicts with
other extensions like the Dotty Language Server (which will only start
when a .dotty-ide.json file is present after
scala/scala3#2777)
  • Loading branch information
smarter authored and fc committed Sep 9, 2017
1 parent 0f310c6 commit b4048b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scala/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Scala Language Server",
"description": "A Scala language server based on Ensime",
"icon": "images/scala-logo.png",
"version": "0.1.4",
"version": "0.1.5",
"repository": {
"url": "https://github.com/dragos/dragos-vscode-scala"
},
Expand All @@ -18,7 +18,7 @@
"Languages"
],
"activationEvents": [
"onLanguage:scala",
"workspaceContains:.ensime",
"onCommand:sbt.update",
"onCommand:sbt.compile",
"onCommand:sbt.run",
Expand Down

0 comments on commit b4048b3

Please sign in to comment.