SnippetString and improved CompletionItem.insertText, #3210

This commit is contained in:
Johannes Rieken
2016-11-16 15:20:32 +01:00
parent 2f06e39fdb
commit c76b721d81
7 changed files with 219 additions and 144 deletions

View File

@@ -368,41 +368,42 @@ export function createApiFactory(initData: IInitData, threadService: IThreadServ
window,
workspace,
// types
Uri: URI,
Location: extHostTypes.Location,
Diagnostic: extHostTypes.Diagnostic,
DiagnosticSeverity: extHostTypes.DiagnosticSeverity,
EventEmitter: Emitter,
Disposable: extHostTypes.Disposable,
TextEdit: extHostTypes.TextEdit,
WorkspaceEdit: extHostTypes.WorkspaceEdit,
Position: extHostTypes.Position,
Range: extHostTypes.Range,
Selection: extHostTypes.Selection,
CancellationTokenSource: CancellationTokenSource,
Hover: extHostTypes.Hover,
SymbolKind: extHostTypes.SymbolKind,
SymbolInformation: extHostTypes.SymbolInformation,
DocumentHighlightKind: extHostTypes.DocumentHighlightKind,
DocumentHighlight: extHostTypes.DocumentHighlight,
CodeLens: extHostTypes.CodeLens,
ParameterInformation: extHostTypes.ParameterInformation,
SignatureInformation: extHostTypes.SignatureInformation,
SignatureHelp: extHostTypes.SignatureHelp,
CompletionItem: extHostTypes.CompletionItem,
CompletionItemKind: extHostTypes.CompletionItemKind,
CompletionList: extHostTypes.CompletionList,
Diagnostic: extHostTypes.Diagnostic,
DiagnosticSeverity: extHostTypes.DiagnosticSeverity,
Disposable: extHostTypes.Disposable,
DocumentHighlight: extHostTypes.DocumentHighlight,
DocumentHighlightKind: extHostTypes.DocumentHighlightKind,
DocumentLink: extHostTypes.DocumentLink,
ViewColumn: extHostTypes.ViewColumn,
StatusBarAlignment: extHostTypes.StatusBarAlignment,
IndentAction: languageConfiguration.IndentAction,
OverviewRulerLane: EditorCommon.OverviewRulerLane,
TextEditorRevealType: extHostTypes.TextEditorRevealType,
EndOfLine: extHostTypes.EndOfLine,
EventEmitter: Emitter,
Hover: extHostTypes.Hover,
IndentAction: languageConfiguration.IndentAction,
Location: extHostTypes.Location,
OverviewRulerLane: EditorCommon.OverviewRulerLane,
ParameterInformation: extHostTypes.ParameterInformation,
Position: extHostTypes.Position,
Range: extHostTypes.Range,
Selection: extHostTypes.Selection,
SignatureHelp: extHostTypes.SignatureHelp,
SignatureInformation: extHostTypes.SignatureInformation,
SnippetString: extHostTypes.SnippetString,
StatusBarAlignment: extHostTypes.StatusBarAlignment,
SymbolInformation: extHostTypes.SymbolInformation,
SymbolKind: extHostTypes.SymbolKind,
TextDocumentSaveReason: extHostTypes.TextDocumentSaveReason,
TextEdit: extHostTypes.TextEdit,
TextEditorCursorStyle: EditorCommon.TextEditorCursorStyle,
TextEditorLineNumbersStyle: extHostTypes.TextEditorLineNumbersStyle,
TextEditorRevealType: extHostTypes.TextEditorRevealType,
TextEditorSelectionChangeKind: extHostTypes.TextEditorSelectionChangeKind,
TextDocumentSaveReason: extHostTypes.TextDocumentSaveReason,
Uri: URI,
ViewColumn: extHostTypes.ViewColumn,
WorkspaceEdit: extHostTypes.WorkspaceEdit,
};
};
}