diff --git a/src/activity.ts b/src/activity.ts index 49862d3..853c3f6 100644 --- a/src/activity.ts +++ b/src/activity.ts @@ -1,14 +1,3 @@ -import { - type Selection, - type TextDocument, - debug, - DiagnosticSeverity, - env, - languages, - workspace, - NotebookDocument, - NotebookRange -} from "vscode"; import { resolveLangName, toLower, toTitle, toUpper } from "./helpers/resolveLangName"; import { type SetActivity } from "@xhayper/discord-rpc"; import { CONFIG_KEYS, FAKE_EMPTY } from "./constants"; @@ -18,7 +7,16 @@ import { isObject } from "./helpers/isObject"; import { getConfig } from "./config"; import { dataClass } from "./data"; import { sep } from "node:path"; -import { logInfo } from "./logger"; +import { + type Selection, + type TextDocument, + type NotebookDocument, + debug, + DiagnosticSeverity, + env, + languages, + workspace +} from "vscode"; // TODO: move this to data class export let totalProblems = 0; diff --git a/src/data.ts b/src/data.ts index 364754d..2a1224a 100644 --- a/src/data.ts +++ b/src/data.ts @@ -7,13 +7,13 @@ import { logInfo } from "./logger"; import { type WorkspaceFolder, type TextEditor, + type NotebookEditor, type Disposable, type Extension, EventEmitter, extensions, window, - workspace, - NotebookEditor + workspace } from "vscode"; const ALLOWED_SCHEME = ["file", "vscode-remote"];