Skip to content

Commit

Permalink
refactor: get extension id from extension context
Browse files Browse the repository at this point in the history
  • Loading branch information
VitGottwald committed Apr 13, 2023
1 parent 0751eb6 commit 3fe4c0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/idms-dialect-support/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
// Import the module and reference it with the alias vscode in your code below
import * as vscode from "vscode";

const extensionId: string = "BroadcomMFD.idms-dialect-for-cobol";
const mainExtension: string = "BroadcomMFD.cobol-language-support";

const dialectName = "IDMS";

let unregisterDialect: () => void;

export async function activate(context: vscode.ExtensionContext) {
const extensionId = context.extension.id;
const extensionUri = context.extensionUri;
const jarFolderUri = vscode.Uri.joinPath(extensionUri, "server", "jar");
const snippetPathUri = vscode.Uri.joinPath(extensionUri, "snippets.json");
Expand Down

0 comments on commit 3fe4c0a

Please sign in to comment.