Skip to content

Commit 11f96fa

Browse files
committed
Consider .sc files as belonging to Scala
The `languages` section has to be in the `contributes` section.
1 parent 0e1b20b commit 11f96fa

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

vscode-dotty/package.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,21 @@
2525
"main": "./out/src/extension",
2626
"activationEvents": [
2727
"onLanguage:scala",
28-
"workspaceContains:.dotty-ide.json",
29-
"workspaceContains:**.sc"
30-
],
31-
"languages": [
32-
{
33-
"id": "scala",
34-
"extensions": [
35-
".scala",
36-
".sc"
37-
],
38-
"aliases": [
39-
"Scala"
40-
]
41-
}
28+
"workspaceContains:.dotty-ide.json"
4229
],
4330
"contributes": {
31+
"languages": [
32+
{
33+
"id": "scala",
34+
"extensions": [
35+
".scala",
36+
".sc"
37+
],
38+
"aliases": [
39+
"Scala"
40+
]
41+
}
42+
],
4443
"commands": [
4544
{
4645
"command": "worksheet.evaluate",

0 commit comments

Comments
 (0)