Skip to content

Commit

Permalink
Only start the VSCode extension when a .ensime file exists
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 committed Jun 17, 2017
1 parent f42baea commit 37db947
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 37db947

Please sign in to comment.