提交 0ba7f55d 编写于 作者: A Andre Weinand

fix typo in 'Capabilities'

上级 6dff3f61
......@@ -44,7 +44,7 @@ connection.onShutdown(() => {
});
// After the server has started the client sends an initilize request. The server receives
// in the passed params the rootPath of the workspace plus the client capabilites.
// in the passed params the rootPath of the workspace plus the client capabilities.
connection.onInitialize((params: InitializeParams): InitializeResult => {
return {
capabilities: {
......
......@@ -52,7 +52,7 @@ documents.listen(connection);
const filesAssociationContribution = new FileAssociationContribution();
// After the server has started the client sends an initilize request. The server receives
// in the passed params the rootPath of the workspace plus the client capabilites.
// in the passed params the rootPath of the workspace plus the client capabilities.
let workspaceRoot: URI;
connection.onInitialize((params: InitializeParams): InitializeResult => {
workspaceRoot = URI.parse(params.rootPath);
......
......@@ -252,7 +252,7 @@ export interface IRawBreakpointContribution {
}
export interface IRawDebugSession {
configuration: { type: string, capabilities: DebugProtocol.Capabilites };
configuration: { type: string, capabilities: DebugProtocol.Capabilities };
disconnect(restart?: boolean, force?: boolean): TPromise<DebugProtocol.DisconnectResponse>;
......
......@@ -231,7 +231,7 @@ declare module DebugProtocol {
/** Response to Initialize request. */
export interface InitializeResponse extends Response {
/** The capabilities of this debug adapter */
body?: Capabilites;
body?: Capabilities;
}
/** ConfigurationDone request; value of command field is "configurationDone".
......@@ -759,7 +759,7 @@ declare module DebugProtocol {
//---- Types
/** Information about the capabilities of a debug adapter. */
export interface Capabilites {
export interface Capabilities {
/** The debug adapter supports the configurationDoneRequest. */
supportsConfigurationDoneRequest?: boolean;
/** The debug adapter supports functionBreakpoints. */
......
......@@ -52,7 +52,7 @@ export class RawDebugSession extends v8.V8Protocol implements debug.IRawDebugSes
private startTime: number;
private stopServerPending: boolean;
private sentPromises: TPromise<DebugProtocol.Response>[];
private capabilities: DebugProtocol.Capabilites;
private capabilities: DebugProtocol.Capabilities;
private _onDidInitialize: Emitter<DebugProtocol.InitializedEvent>;
private _onDidStop: Emitter<DebugProtocol.StoppedEvent>;
......@@ -211,7 +211,7 @@ export class RawDebugSession extends v8.V8Protocol implements debug.IRawDebugSes
this._onDidEvent.fire(event);
}
public get configuration(): { type: string, capabilities: DebugProtocol.Capabilites } {
public get configuration(): { type: string, capabilities: DebugProtocol.Capabilities } {
return {
type: this.adapter.type,
capabilities: this.capabilities || {}
......
......@@ -145,7 +145,7 @@ export class MockDebugService implements debug.IDebugService {
class MockRawSession implements debug.IRawDebugSession {
public get configuration(): { type: string, capabilities: DebugProtocol.Capabilites } {
public get configuration(): { type: string, capabilities: DebugProtocol.Capabilities } {
return {
type: 'mock',
capabilities: {}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册