From cb7fa0ebd58bcdf7100067485590f19aa07dee51 Mon Sep 17 00:00:00 2001 From: Huachao Mao Date: Wed, 6 Apr 2016 22:19:10 +0800 Subject: [PATCH] read configuration settings when activated --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index cee5886f..cf933107 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -18,6 +18,7 @@ export function activate(context: ExtensionContext) { let outChannel = window.createOutputChannel('REST'); let statusBarItem = window.createStatusBarItem(StatusBarAlignment.Left) + let restClientSettings = new RestClientSettings(); // The command has been defined in the package.json file // Now provide the implementation of the command with registerCommand @@ -40,7 +41,6 @@ export function activate(context: ExtensionContext) { return; } - let restClientSettings = new RestClientSettings(); if (restClientSettings.clearOutput) { outChannel.clear(); }