"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/vs/workbench/api/common/extHost.api.impl.ts" between
vscode-1.50.0.tar.gz and vscode-1.50.1.tar.gz

About: Visual Studio Code is a source code editor (available for Windows, macOS and Linux). It comes with built-in support for JavaScript, TypeScript and Node.js and has extensions for other languages (such as C++, C#, Java, Python, PHP, Go). Source code.

extHost.api.impl.ts  (vscode-1.50.0):extHost.api.impl.ts  (vscode-1.50.1)
skipping to change at line 228 skipping to change at line 228
}, },
getSession(providerId: string, scopes: string[], options? : vscode.AuthenticationGetSessionOptions) { getSession(providerId: string, scopes: string[], options? : vscode.AuthenticationGetSessionOptions) {
return extHostAuthentication.getSession(extension , providerId, scopes, options as any); return extHostAuthentication.getSession(extension , providerId, scopes, options as any);
}, },
logout(providerId: string, sessionId: string): Thenable<v oid> { logout(providerId: string, sessionId: string): Thenable<v oid> {
return extHostAuthentication.logout(providerId, s essionId); return extHostAuthentication.logout(providerId, s essionId);
}, },
get onDidChangeSessions(): Event<vscode.AuthenticationSes sionsChangeEvent> { get onDidChangeSessions(): Event<vscode.AuthenticationSes sionsChangeEvent> {
return extHostAuthentication.onDidChangeSessions; return extHostAuthentication.onDidChangeSessions;
}, },
get onDidChangePassword(): Event<void> {
return extHostAuthentication.onDidChangePassword;
}
}; };
// namespace: commands // namespace: commands
const commands: typeof vscode.commands = { const commands: typeof vscode.commands = {
registerCommand(id: string, command: <T>(...args: any[]) => T | Thenable<T>, thisArgs?: any): vscode.Disposable { registerCommand(id: string, command: <T>(...args: any[]) => T | Thenable<T>, thisArgs?: any): vscode.Disposable {
return extHostCommands.registerCommand(true, id, command, thisArgs); return extHostCommands.registerCommand(true, id, command, thisArgs);
}, },
registerTextEditorCommand(id: string, callback: (textEdit or: vscode.TextEditor, edit: vscode.TextEditorEdit, ...args: any[]) => void, thi sArg?: any): vscode.Disposable { registerTextEditorCommand(id: string, callback: (textEdit or: vscode.TextEditor, edit: vscode.TextEditorEdit, ...args: any[]) => void, thi sArg?: any): vscode.Disposable {
return extHostCommands.registerCommand(true, id, (...args: any[]): any => { return extHostCommands.registerCommand(true, id, (...args: any[]): any => {
const activeTextEditor = extHostEditors.g etActiveTextEditor(); const activeTextEditor = extHostEditors.g etActiveTextEditor();
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)