Skip to content

Commit

Permalink
Add aadv2Token variable autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Huachao committed Aug 20, 2020
1 parent 064c1d7 commit 2606ed6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils/httpElementFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ export class HttpElementFactory {
null,
Constants.AzureActiveDirectoryDescription,
new SnippetString(`{{$\${name:${Constants.AzureActiveDirectoryVariableName.slice(1)}}}}`)));
originalElements.push(new HttpElement(
Constants.AzureActiveDirectoryV2TokenVariableName,
ElementType.SystemVariable,
null,
Constants.AzureActiveDirectoryV2TokenDescription,
new SnippetString(`{{$\${name:${Constants.AzureActiveDirectoryV2TokenVariableName.slice(1)}}}}`)));

// add environment custom variables
const environmentVariables = await EnvironmentVariableProvider.Instance.getAll();
Expand Down

0 comments on commit 2606ed6

Please sign in to comment.