Skip to content

Commit

Permalink
extract SnippetConfig type, #9286
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Jul 15, 2016
1 parent 7fa48d2 commit 5ebf587
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/editor/contrib/suggest/common/suggest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ export interface ISuggestionItem {
support: ISuggestSupport;
}

export type SnippetConfig = 'top' | 'bottom' | 'inline' | 'none' | 'only';

export interface ISuggestOptions {
groups?: ISuggestSupport[][];
snippetConfig?: 'top' | 'bottom' | 'inline' | 'none' | 'only';
snippetConfig?: SnippetConfig;
}

export function provideSuggestionItems(model: IReadOnlyModel, position: Position, options: ISuggestOptions = {}): TPromise<ISuggestionItem[]> {
Expand Down

0 comments on commit 5ebf587

Please sign in to comment.