Skip to content

Commit

Permalink
use user data instead of identity
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Aug 26, 2019
1 parent 15a59c2 commit f2eb88a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1199,9 +1199,9 @@ declare module 'vscode' {

export namespace window {

export function registerUserLoginProvider(identity: string, userLoginProvider: UserLoginProvider): Disposable;
export function registerUserLoginProvider(userDataId: string, userLoginProvider: UserLoginProvider): Disposable;

export function registerUserDataProvider(identity: string, userDataProvider: UserDataProvider): Disposable;
export function registerUserDataProvider(userDataId: string, userDataProvider: UserDataProvider): Disposable;

}

Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/api/common/userDataExtensionPoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const userIdentityContribution: IJSONSchema = {


const viewsContainersExtensionPoint: IExtensionPoint<IUserFriendlyUserIdentityDescriptor> = ExtensionsRegistry.registerExtensionPoint<IUserFriendlyUserIdentityDescriptor>({
extensionPoint: 'userIdentity',
extensionPoint: 'userData',
jsonSchema: userIdentityContribution
});

Expand Down

0 comments on commit f2eb88a

Please sign in to comment.