From ca479e1b652b78d1d6d2af1183d75141483f76e5 Mon Sep 17 00:00:00 2001 From: Sheng Chen Date: Wed, 7 Apr 2021 12:28:55 +0800 Subject: [PATCH] chore: Rename group 9_sync to 9_configuration --- package.json | 2 +- src/extension.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 41de08b5..b25b1b4e 100644 --- a/package.json +++ b/package.json @@ -498,7 +498,7 @@ { "command": "java.project.update", "when": "view == javaProjectExplorer && viewItem =~ /java:project(?=.*?\\b\\+uri\\b)(?=.*?\\b\\+(maven|gradle)\\b)/", - "group": "9_sync@10" + "group": "9_configuration@10" } ] }, diff --git a/src/extension.ts b/src/extension.ts index 678597bb..adfc5557 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -15,9 +15,9 @@ import { EventCounter } from "./utility"; import { DependencyExplorer } from "./views/dependencyExplorer"; export async function activate(context: ExtensionContext): Promise { - await initExpService(context); contextManager.initialize(context); await initializeFromJsonFile(context.asAbsolutePath("./package.json"), { firstParty: true }); + await initExpService(context); await instrumentOperation("activation", activateExtension)(context); contextManager.setContextValue(Context.EXTENSION_ACTIVATED, true); contextManager.setContextValue(Context.SUPPORTED_BUILD_FILES, Build.FILE_NAMES);