Skip to content

Commit 81a757c

Browse files
Switch scala dependency extension (#1897)
`scalameta.metals` includes `scala-lang.scala` that actually adds the language identifier that we need. Switch to it directly to avoid installing more extensions than necessary ## Checklist - [/] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [/] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [/] I have not broken the cheatsheet
1 parent 76085d1 commit 81a757c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/common/src/extensionDependencies.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
export const extensionDependencies = [
2+
// Cursorless access to Tree sitter
23
"pokey.parse-tree",
34

4-
// Register necessary file extensions for tests
5-
"scalameta.metals",
6-
"mrob95.vscode-talonscript",
7-
"jrieken.vscode-tree-sitter-query",
5+
// Register necessary language-IDs for tests
6+
"scala-lang.scala", // scala
7+
"mrob95.vscode-talonscript", // talon
8+
"jrieken.vscode-tree-sitter-query", // scm
89

910
// Necessary for the `drink cell` and `pour cell` tests
1011
"ms-toolsai.jupyter",

0 commit comments

Comments
 (0)