Skip to content

Commit da50b68

Browse files
smarterjc776
authored andcommitted
Only start the VSCode extension when a .ensime file exists (dragos#47)
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)
1 parent 9df3a1b commit da50b68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scala/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Scala Language Server",
44
"description": "A Scala language server based on Ensime",
55
"icon": "images/scala-logo.png",
6-
"version": "0.1.4",
6+
"version": "0.1.5",
77
"repository": {
88
"url": "https://github.com/dragos/dragos-vscode-scala"
99
},
@@ -18,7 +18,7 @@
1818
"Languages"
1919
],
2020
"activationEvents": [
21-
"onLanguage:scala",
21+
"workspaceContains:.ensime",
2222
"onCommand:sbt.update",
2323
"onCommand:sbt.compile",
2424
"onCommand:sbt.run",

0 commit comments

Comments
 (0)