@@ -47,7 +47,7 @@ verify.completions({
47
47
} ,
48
48
{
49
49
name : "bar" ,
50
- sortText : completion . SortText . AddIsSnippetSuffix (
50
+ sortText : completion . SortText . SortBelow (
51
51
completion . SortText . ObjectLiteralProperty ( completion . SortText . LocationPriority , "bar" ) ) ,
52
52
source : completion . CompletionSource . ObjectLiteralMethodSnippet ,
53
53
insertText : "bar(x: number): void {\n}," ,
@@ -69,7 +69,7 @@ verify.completions({
69
69
} ,
70
70
{
71
71
name : "bar" ,
72
- sortText : completion . SortText . AddIsSnippetSuffix (
72
+ sortText : completion . SortText . SortBelow (
73
73
completion . SortText . ObjectLiteralProperty ( completion . SortText . LocationPriority , "bar" ) ) ,
74
74
source : completion . CompletionSource . ObjectLiteralMethodSnippet ,
75
75
insertText : "bar(x: number): void {\n}," ,
@@ -81,7 +81,7 @@ verify.completions({
81
81
} ,
82
82
{
83
83
name : "foo" ,
84
- sortText : completion . SortText . AddIsSnippetSuffix (
84
+ sortText : completion . SortText . SortBelow (
85
85
completion . SortText . ObjectLiteralProperty ( completion . SortText . LocationPriority , "foo" ) ) ,
86
86
source : completion . CompletionSource . ObjectLiteralMethodSnippet ,
87
87
insertText : "foo(x: string): string {\n}," ,
@@ -119,7 +119,7 @@ verify.completions({
119
119
} ,
120
120
{
121
121
name : "\"space bar\"" ,
122
- sortText : completion . SortText . AddIsSnippetSuffix (
122
+ sortText : completion . SortText . SortBelow (
123
123
completion . SortText . ObjectLiteralProperty ( completion . SortText . LocationPriority , "\"space bar\"" ) ) ,
124
124
source : completion . CompletionSource . ObjectLiteralMethodSnippet ,
125
125
insertText : "\"space bar\"(): string {\n}," ,
@@ -141,7 +141,7 @@ verify.completions({
141
141
} ,
142
142
{
143
143
name : "bar" ,
144
- sortText : completion . SortText . AddIsSnippetSuffix (
144
+ sortText : completion . SortText . SortBelow (
145
145
completion . SortText . ObjectLiteralProperty ( completion . SortText . LocationPriority , "bar" ) ) ,
146
146
source : completion . CompletionSource . ObjectLiteralMethodSnippet ,
147
147
isSnippet : true ,
0 commit comments