Skip to content

Commit

Permalink
support schemes of extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
chemzqm committed May 2, 2019
1 parent d3e3d29 commit 244bb7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export async function activate(context: ExtensionContext): Promise<void> {
if (uri == 'vscode://settings') {
let schema: any = Object.assign({}, settingsSchema)
schema.properties = schema.properties || {}
if (extensions.schemes) Object.assign(schema.properties, extensions.schemes)
extensions.all.forEach(extension => {
let { packageJSON } = extension
let { contributes } = packageJSON
Expand Down

0 comments on commit 244bb7f

Please sign in to comment.