Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions packages/common/src/extensionDependencies.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
export const extensionDependencies = [
// Cursorless access to Tree sitter
"pokey.parse-tree",

// Register necessary language-IDs for tests
"scala-lang.scala", // scala
"mrob95.vscode-talonscript", // talon
"jrieken.vscode-tree-sitter-query", // scm
"mathiasfrohlich.kotlin", // kotlin

// Necessary for the `drink cell` and `pour cell` tests
"ms-toolsai.jupyter",
];
19 changes: 18 additions & 1 deletion packages/cursorless-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,24 @@
"group": "navigation"
}
]
}
},
"languages": [
{
"id": "talon"
},
{
"id": "talon-list"
},
{
"id": "scala"
},
{
"id": "kotlin"
},
{
"id": "scm"
}
]
},
"scripts": {
"build": "pnpm run esbuild:prod && pnpm -F cheatsheet-local build:prod && pnpm -F cursorless-vscode-tutorial-webview build:prod && pnpm run populate-dist",
Expand Down
13 changes: 8 additions & 5 deletions packages/cursorless-vscode/src/scripts/initLaunchSandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@ async function main() {
}
});

let extensions = [...extensionDependencies, "pokey.command-server"];
const extensions = [
...extensionDependencies,
"pokey.command-server",
"mrob95.vscode-talonscript",
];

// Do not attempt to install jrieken:vscode-tree-sitter-query if editor is NOT VSCode, assuming lack of access to VSCode Marketplace
if (cliToolName !== vsCodeToolName) {
extensions = extensions.filter(
(e) => e !== "jrieken.vscode-tree-sitter-query",
);
if (cliToolName === vsCodeToolName) {
extensions.push("jrieken.vscode-tree-sitter-query");
} else {
console.log(
"Not installing jrieken:vscode-tree-sitter-query as it is not on the OpenVSX Marketplace.",
);
Expand Down
Loading