diff --git a/client/src/commands.ts b/client/src/commands.ts index 495d4011..7f56a24b 100644 --- a/client/src/commands.ts +++ b/client/src/commands.ts @@ -38,6 +38,7 @@ import { getWorkspacesEnabledInfo, setupCheckConfig } from "./enable"; import { denoUpgradePromptAndExecute } from "./upgrade"; import { join } from "path"; import { readFileSync } from "fs"; +import * as process from "process"; // deno-lint-ignore no-explicit-any export type Callback = (...args: any[]) => unknown; diff --git a/client/src/extension.ts b/client/src/extension.ts index 34200db6..e479619c 100644 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -89,6 +89,9 @@ export async function activate( { scheme: "file", language: "json" }, { scheme: "file", language: "jsonc" }, { scheme: "file", language: "markdown" }, + { scheme: "file", language: "html" }, + { scheme: "file", language: "css" }, + { scheme: "file", language: "yaml" }, { scheme: "untitled", language: "javascript" }, { scheme: "untitled", language: "javascriptreact" }, { scheme: "untitled", language: "typescript" }, @@ -96,6 +99,9 @@ export async function activate( { scheme: "untitled", language: "json" }, { scheme: "untitled", language: "jsonc" }, { scheme: "untitled", language: "markdown" }, + { scheme: "untitled", language: "html" }, + { scheme: "untitled", language: "css" }, + { scheme: "untitled", language: "yaml" }, { scheme: "deno", language: "javascript" }, { scheme: "deno", language: "javascriptreact" }, { scheme: "deno", language: "typescript" }, @@ -103,6 +109,9 @@ export async function activate( { scheme: "deno", language: "json" }, { scheme: "deno", language: "jsonc" }, { scheme: "deno", language: "markdown" }, + { scheme: "deno", language: "html" }, + { scheme: "deno", language: "css" }, + { scheme: "deno", language: "yaml" }, { notebook: "*", language: "javascript" }, { notebook: "*", language: "javascriptreact" }, { notebook: "*", language: "typescript" }, diff --git a/typescript-deno-plugin/src/index.ts b/typescript-deno-plugin/src/index.ts index f7b455c7..b4761e00 100644 --- a/typescript-deno-plugin/src/index.ts +++ b/typescript-deno-plugin/src/index.ts @@ -3,7 +3,9 @@ import type { PluginSettings } from "../../client/src/shared_types"; import type * as ts from "../node_modules/typescript/lib/tsserverlibrary"; import * as path from "path"; +import * as process from "process"; import * as os from "os"; +import { setImmediate } from "timers"; import * as util from "util"; /** Extract the return type from a maybe function. */