@@ -10,7 +10,7 @@ import { FileService, FileType } from '../fileService';
10
10
import { URI } from 'vscode-uri' ;
11
11
import { ExtractOptions } from 'emmet' ;
12
12
13
- const extensionsPath = path . join ( path . normalize ( path . join ( __dirname , '../../..' ) ) , 'testData' , 'custom-snippets-profile' ) ;
13
+ const extensionsPath = [ path . join ( path . normalize ( path . join ( __dirname , '../../..' ) ) , 'testData' , 'custom-snippets-profile' ) ] ;
14
14
const bemFilterExample = 'ul.search-form._wide>li.-querystring+li.-btn_large' ;
15
15
const expectedBemFilterOutput =
16
16
`<ul class="search-form search-form_wide">
@@ -77,7 +77,7 @@ const fileService: FileService = {
77
77
}
78
78
}
79
79
80
- function updateExtensionsPath ( extPath : string | string [ ] ) : Promise < void > {
80
+ function updateExtensionsPath ( extPath : string [ ] ) : Promise < void > {
81
81
return updateExtensionsPathHelper ( extPath , fileService , URI . file ( '/home/projects/test' ) )
82
82
}
83
83
@@ -366,7 +366,7 @@ describe('Test variables settings', () => {
366
366
describe ( 'Test custom snippets' , ( ) => {
367
367
it ( 'should use custom snippets for given syntax from extensionsPath' , async ( ) => {
368
368
const customSnippetKey = 'ch' ;
369
- await updateExtensionsPath ( null ) ;
369
+ await updateExtensionsPath ( [ ] ) ;
370
370
const expandOptionsWithoutCustomSnippets = getExpandOptions ( 'css' ) ;
371
371
assert ( ! expandOptionsWithoutCustomSnippets . snippets ) ;
372
372
@@ -380,7 +380,7 @@ describe('Test custom snippets', () => {
380
380
it ( 'should use custom snippets inherited from base syntax from extensionsPath' , async ( ) => {
381
381
const customSnippetKey = 'ch' ;
382
382
383
- await updateExtensionsPath ( null ) ;
383
+ await updateExtensionsPath ( [ ] ) ;
384
384
const expandOptionsWithoutCustomSnippets = getExpandOptions ( 'scss' ) ;
385
385
assert ( ! expandOptionsWithoutCustomSnippets . snippets ) ;
386
386
@@ -396,12 +396,12 @@ describe('Test custom snippets', () => {
396
396
397
397
it ( 'should use custom snippets for given syntax in the absence of base syntax from extensionsPath' , async ( ) => {
398
398
const customSnippetKey = 'ch' ;
399
- await updateExtensionsPath ( null ) ;
399
+ await updateExtensionsPath ( [ ] ) ;
400
400
const expandOptionsWithoutCustomSnippets = getExpandOptions ( 'scss' ) ;
401
401
assert ( ! expandOptionsWithoutCustomSnippets . snippets ) ;
402
402
403
403
// Use custom snippets from extensionsPath
404
- await updateExtensionsPath ( path . join ( path . normalize ( path . join ( __dirname , '../../..' ) ) , 'testData' , 'custom-snippets-without-inheritence' ) ) ;
404
+ await updateExtensionsPath ( [ path . join ( path . normalize ( path . join ( __dirname , '../../..' ) ) , 'testData' , 'custom-snippets-without-inheritence' ) ] ) ;
405
405
const expandOptionsWithCustomSnippets = getExpandOptions ( 'scss' ) ;
406
406
407
407
assert . strictEqual ( Object . keys ( expandOptionsWithCustomSnippets . snippets ) . some ( key => key === customSnippetKey ) , true ) ;
@@ -410,7 +410,7 @@ describe('Test custom snippets', () => {
410
410
it ( 'should throw error when snippets file from extensionsPath has invalid json' , async ( ) => {
411
411
const invalidJsonPath = path . join ( path . normalize ( path . join ( __dirname , '../../..' ) ) , 'testData' , 'custom-snippets-invalid-json' ) ;
412
412
try {
413
- await updateExtensionsPath ( invalidJsonPath ) ;
413
+ await updateExtensionsPath ( [ invalidJsonPath ] ) ;
414
414
return Promise . reject ( 'There should be an error as snippets file contained invalid json' ) ;
415
415
} catch ( e ) {
416
416
assert . ok ( e ) ;
@@ -422,7 +422,7 @@ describe('Test custom snippets', () => {
422
422
await updateExtensionsPath ( extensionsPath ) ;
423
423
assert . strictEqual ( Object . keys ( getExpandOptions ( 'scss' ) . snippets ) . some ( key => key === customSnippetKey ) , true ) ;
424
424
425
- await updateExtensionsPath ( null ) ;
425
+ await updateExtensionsPath ( [ ] ) ;
426
426
assert . ok ( ! getExpandOptions ( 'scss' ) . snippets , 'There should be no custom snippets as extensionPath was not given' ) ;
427
427
} ) ;
428
428
@@ -432,7 +432,7 @@ describe('Test custom snippets', () => {
432
432
assert . strictEqual ( Object . keys ( getExpandOptions ( 'scss' ) . snippets ) . some ( key => key === customSnippetKey ) , true ) ;
433
433
434
434
try {
435
- await updateExtensionsPath ( extensionsPath + 'path' ) ;
435
+ await updateExtensionsPath ( [ "./this/is/not/valid" ] ) ;
436
436
return Promise . reject ( 'There should be an error as extensionPath was faulty' ) ;
437
437
} catch ( e ) {
438
438
assert . ok ( ! getExpandOptions ( 'scss' ) . snippets , 'There should be no custom snippets as extensionPath was faulty' ) ;
@@ -449,7 +449,7 @@ describe('Test custom snippets', () => {
449
449
450
450
const extensionsPathParent = path . join ( path . normalize ( path . join ( __dirname , '../../..' ) ) , 'testData' ) ;
451
451
try {
452
- await updateExtensionsPath ( extensionsPathParent ) ;
452
+ await updateExtensionsPath ( [ extensionsPathParent ] ) ;
453
453
return Promise . reject ( 'There should be an error as extensionPath was faulty' ) ;
454
454
} catch ( e ) {
455
455
assert . ok ( ! getExpandOptions ( 'scss' ) . snippets , 'There should be no custom snippets as extensionPath was faulty' ) ;
@@ -459,12 +459,12 @@ describe('Test custom snippets', () => {
459
459
// https://github.com/microsoft/vscode/issues/116741
460
460
it ( 'should use the first valid custom snippets from an array of extensions path' , async ( ) => {
461
461
const customSnippetKey = 'ch' ;
462
- await updateExtensionsPath ( null ) ;
462
+ await updateExtensionsPath ( [ ] ) ;
463
463
const expandOptionsWithoutCustomSnippets = getExpandOptions ( 'css' ) ;
464
464
assert ( ! expandOptionsWithoutCustomSnippets . snippets ) ;
465
465
466
466
// Use custom snippets from extensionsPathArray
467
- const extensionsPathArray = [ "./this/is/not/valid" , extensionsPath ]
467
+ const extensionsPathArray = [ "./this/is/not/valid" , extensionsPath [ 0 ] ]
468
468
await updateExtensionsPath ( extensionsPathArray ) ;
469
469
const expandOptionsWithCustomSnippets = getExpandOptions ( 'css' ) ;
470
470
@@ -495,29 +495,29 @@ describe('Test emmet preferences', () => {
495
495
496
496
describe ( 'Test filters (bem and comment)' , ( ) => {
497
497
it ( 'should expand haml' , async ( ) => {
498
- await updateExtensionsPath ( null ) ;
498
+ await updateExtensionsPath ( [ ] ) ;
499
499
assert . strictEqual ( expandAbbreviation ( 'ul[data="class"]' , getExpandOptions ( 'haml' , { } ) ) , '%ul(data="class") ${0}' ) ;
500
500
} ) ;
501
501
502
502
it ( 'should expand attributes with []' , async ( ) => {
503
- await updateExtensionsPath ( null ) ;
503
+ await updateExtensionsPath ( [ ] ) ;
504
504
assert . strictEqual ( expandAbbreviation ( 'div[[a]="b"]' , getExpandOptions ( 'html' , { } ) ) , '<div [a]="b">${0}</div>' ) ;
505
505
} ) ;
506
506
507
507
it ( 'should expand abbreviations that are nodes with no name' , async ( ) => {
508
- await updateExtensionsPath ( null ) ;
508
+ await updateExtensionsPath ( [ ] ) ;
509
509
assert . strictEqual ( expandAbbreviation ( 'c' , getExpandOptions ( 'html' , { } ) ) , '<!-- ${0} -->' ) ;
510
510
} ) ;
511
511
512
512
it ( 'should use filters from expandOptions' , async ( ) => {
513
- await updateExtensionsPath ( null ) ;
513
+ await updateExtensionsPath ( [ ] ) ;
514
514
assert . strictEqual ( expandAbbreviation ( bemFilterExample , getExpandOptions ( 'html' , { } , 'bem' ) ) , expectedBemFilterOutput ) ;
515
515
assert . strictEqual ( expandAbbreviation ( commentFilterExample , getExpandOptions ( 'html' , { } , 'c' ) ) , expectedCommentFilterOutput ) ;
516
516
assert . strictEqual ( expandAbbreviation ( bemCommentFilterExample , getExpandOptions ( 'html' , { } , 'bem,c' ) ) , expectedBemCommentFilterOutput ) ;
517
517
} ) ;
518
518
519
519
it ( 'should use filters from syntaxProfiles' , async ( ) => {
520
- await updateExtensionsPath ( null ) ;
520
+ await updateExtensionsPath ( [ ] ) ;
521
521
assert . strictEqual ( expandAbbreviation ( bemFilterExample , getExpandOptions ( 'html' , {
522
522
syntaxProfiles : {
523
523
html : {
@@ -537,7 +537,7 @@ describe('Test filters (bem and comment)', () => {
537
537
538
538
describe ( 'Test completions' , ( ) => {
539
539
it ( 'should provide multiple common tags completions in html' , async ( ) => {
540
- await updateExtensionsPath ( null ) ;
540
+ await updateExtensionsPath ( [ ] ) ;
541
541
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , 'd' ) ;
542
542
const position = Position . create ( 0 , 1 ) ;
543
543
const completionList = doComplete ( document , position , 'html' , {
@@ -553,7 +553,7 @@ describe('Test completions', () => {
553
553
} ) ;
554
554
555
555
it ( 'should provide multiple snippet suggestions in html' , async ( ) => {
556
- await updateExtensionsPath ( null ) ;
556
+ await updateExtensionsPath ( [ ] ) ;
557
557
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , 'a:' ) ;
558
558
const position = Position . create ( 0 , 2 ) ;
559
559
const completionList = doComplete ( document , position , 'html' , {
@@ -569,7 +569,7 @@ describe('Test completions', () => {
569
569
} ) ;
570
570
571
571
it ( 'should not provide any suggestions in html for class names or id' , async ( ) => {
572
- await updateExtensionsPath ( null ) ;
572
+ await updateExtensionsPath ( [ ] ) ;
573
573
const testCases = [ 'div.col' , 'div#col' ] ;
574
574
testCases . forEach ( abbr => {
575
575
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , abbr ) ;
@@ -587,7 +587,7 @@ describe('Test completions', () => {
587
587
} ) ;
588
588
589
589
it ( 'should provide multiple snippet suggestions in html for nested abbreviations' , async ( ) => {
590
- await updateExtensionsPath ( null ) ;
590
+ await updateExtensionsPath ( [ ] ) ;
591
591
const testCases = [ 'ul>a:' , 'ul+a:' ] ;
592
592
testCases . forEach ( abbr => {
593
593
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , abbr ) ;
@@ -607,7 +607,7 @@ describe('Test completions', () => {
607
607
608
608
it ( 'should not provide link:m as a suggestion' , async ( ) => {
609
609
// https://github.com/microsoft/vscode/issues/66680
610
- await updateExtensionsPath ( null ) ;
610
+ await updateExtensionsPath ( [ ] ) ;
611
611
const abbr = 'link:m' ;
612
612
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , abbr ) ;
613
613
const position = Position . create ( 0 , abbr . length ) ;
@@ -624,7 +624,7 @@ describe('Test completions', () => {
624
624
625
625
it ( 'should not provide marginright as a suggestion SCSS' , async ( ) => {
626
626
// https://github.com/microsoft/vscode-emmet-helper/issues/42
627
- await updateExtensionsPath ( null ) ;
627
+ await updateExtensionsPath ( [ ] ) ;
628
628
const abbr = 'marginright' ;
629
629
const document = TextDocument . create ( 'test://test/test.scss' , 'scss' , 0 , abbr ) ;
630
630
const position = Position . create ( 0 , abbr . length ) ;
@@ -640,7 +640,7 @@ describe('Test completions', () => {
640
640
} ) ;
641
641
642
642
it ( 'should provide completions html' , async ( ) => {
643
- await updateExtensionsPath ( null ) ;
643
+ await updateExtensionsPath ( [ ] ) ;
644
644
const bemFilterExampleWithInlineFilter = bemFilterExample + '|bem' ;
645
645
const commentFilterExampleWithInlineFilter = commentFilterExample + '|c' ;
646
646
const bemCommentFilterExampleWithInlineFilter = bemCommentFilterExample + '|bem|c' ;
@@ -682,7 +682,7 @@ describe('Test completions', () => {
682
682
} ) ;
683
683
684
684
it ( 'should provide completions css' , async ( ) => {
685
- await updateExtensionsPath ( null ) ;
685
+ await updateExtensionsPath ( [ ] ) ;
686
686
const testCases : [ string , string ] [ ] = [
687
687
[ 'trf' , 'transform: ;' ] ,
688
688
[ 'trf:rx' , 'transform: rotateX(angle);' ] ,
@@ -712,7 +712,7 @@ describe('Test completions', () => {
712
712
713
713
it ( 'should not provide html completions for xml' , async ( ) => {
714
714
// https://github.com/microsoft/vscode/issues/97632
715
- await updateExtensionsPath ( null ) ;
715
+ await updateExtensionsPath ( [ ] ) ;
716
716
const testCases : string [ ] = [ 'a' , 'bo' , 'body' ] ;
717
717
const positionLine = 0 ;
718
718
testCases . forEach ( abbreviation => {
@@ -731,7 +731,7 @@ describe('Test completions', () => {
731
731
} ) ;
732
732
733
733
it ( 'should provide hex color completions css' , async ( ) => {
734
- await updateExtensionsPath ( null ) ;
734
+ await updateExtensionsPath ( [ ] ) ;
735
735
const testCases : [ string , string ] [ ] = [
736
736
[ '#1' , '#111' ] ,
737
737
[ '#ab' , '#ababab' ] ,
@@ -759,7 +759,7 @@ describe('Test completions', () => {
759
759
} ) ;
760
760
761
761
it . skip ( 'should provide empty incomplete completion list for abbreviations that just have the vendor prefix' , async ( ) => {
762
- await updateExtensionsPath ( null ) ;
762
+ await updateExtensionsPath ( [ ] ) ;
763
763
const testCases : [ string , number , number ] [ ] = [
764
764
[ '-' , 0 , 1 ] ,
765
765
[ '-m-' , 0 , 3 ] ,
@@ -787,7 +787,7 @@ describe('Test completions', () => {
787
787
} )
788
788
789
789
it ( 'should provide completions for text that are prefix for snippets, ensure $ doesnt get escaped' , async ( ) => {
790
- await updateExtensionsPath ( null ) ;
790
+ await updateExtensionsPath ( [ ] ) ;
791
791
const testCases : [ string , number , number ] [ ] = [
792
792
[ '<div> l </div>' , 0 , 7 ]
793
793
] ;
@@ -811,7 +811,7 @@ describe('Test completions', () => {
811
811
} ) ;
812
812
813
813
it ( 'should provide completions for scss' , async ( ) => {
814
- await updateExtensionsPath ( null ) ;
814
+ await updateExtensionsPath ( [ ] ) ;
815
815
const testCases : [ string , number , number ] [ ] = [
816
816
[ 'm:a' , 0 , 3 ]
817
817
] ;
@@ -831,7 +831,7 @@ describe('Test completions', () => {
831
831
} ) ;
832
832
833
833
it ( 'should provide completions with escaped $ in scss' , async ( ) => {
834
- await updateExtensionsPath ( null ) ;
834
+ await updateExtensionsPath ( [ ] ) ;
835
835
const testCases : [ string , number , number ] [ ] = [
836
836
[ 'bgi$hello' , 0 , 9 ]
837
837
] ;
@@ -852,7 +852,7 @@ describe('Test completions', () => {
852
852
} ) ;
853
853
854
854
it ( 'should provide completions with escaped $ in html' , async ( ) => {
855
- await updateExtensionsPath ( null ) ;
855
+ await updateExtensionsPath ( [ ] ) ;
856
856
const testCases : [ string , number , number , string , string ] [ ] = [
857
857
[ 'span{\\$5}' , 0 , 9 , '<span>$5</span>' , '<span>\\$5</span>' ] ,
858
858
[ 'span{\\$hello}' , 0 , 13 , '<span>$hello</span>' , '<span>\\$hello</span>' ]
@@ -948,7 +948,7 @@ describe('Test completions', () => {
948
948
} ) ;
949
949
950
950
it ( 'should not provide completions as they would noise when typing (html)' , async ( ) => {
951
- await updateExtensionsPath ( null ) ;
951
+ await updateExtensionsPath ( [ ] ) ;
952
952
const testCases : [ string , number , number ] [ ] = [
953
953
[ '<div>abc</div>' , 0 , 8 ] ,
954
954
[ '<div>Abc</div>' , 0 , 8 ] ,
@@ -977,7 +977,7 @@ describe('Test completions', () => {
977
977
} ) ;
978
978
979
979
it ( 'should provide completions for pascal-case tags when typing (jsx)' , async ( ) => {
980
- await updateExtensionsPath ( null ) ;
980
+ await updateExtensionsPath ( [ ] ) ;
981
981
const testCases : [ string , number , number , string , string ] [ ] = [
982
982
[ '<div>Router</div>' , 0 , 11 , 'Router' , '<Router>|</Router>' , ] ,
983
983
[ '<div>MyAwesomeComponent</div>' , 0 , 23 , 'MyAwesomeComponent' , '<MyAwesomeComponent>|</MyAwesomeComponent>' ] ,
@@ -999,7 +999,7 @@ describe('Test completions', () => {
999
999
} )
1000
1000
1001
1001
it ( 'should not provide completions as they would noise when typing (css)' , async ( ) => {
1002
- await updateExtensionsPath ( null ) ;
1002
+ await updateExtensionsPath ( [ ] ) ;
1003
1003
const testCases : [ string , number , number ] [ ] = [
1004
1004
[ 'background' , 0 , 10 ] ,
1005
1005
[ 'font-family' , 0 , 11 ] ,
@@ -1023,7 +1023,7 @@ describe('Test completions', () => {
1023
1023
} ) ;
1024
1024
1025
1025
it ( 'should provide completions for loremn with n words' , async ( ) => {
1026
- await updateExtensionsPath ( null ) ;
1026
+ await updateExtensionsPath ( [ ] ) ;
1027
1027
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , '.item>lorem10' ) ;
1028
1028
const position = Position . create ( 0 , 13 ) ;
1029
1029
const completionList = doComplete ( document , position , 'html' , {
@@ -1046,7 +1046,7 @@ describe('Test completions', () => {
1046
1046
} ) ;
1047
1047
1048
1048
it ( 'should provide completions for lorem*n with n lines' , async ( ) => {
1049
- await updateExtensionsPath ( null ) ;
1049
+ await updateExtensionsPath ( [ ] ) ;
1050
1050
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , 'lorem*3' ) ;
1051
1051
const position = Position . create ( 0 , 12 ) ;
1052
1052
const completionList = doComplete ( document , position , 'html' , {
@@ -1068,7 +1068,7 @@ describe('Test completions', () => {
1068
1068
1069
1069
it ( 'should provide completions for lorem*2 with 2 lines' , async ( ) => {
1070
1070
// https://github.com/microsoft/vscode/issues/52345
1071
- await updateExtensionsPath ( null ) ;
1071
+ await updateExtensionsPath ( [ ] ) ;
1072
1072
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , 'lorem*2' ) ;
1073
1073
const position = Position . create ( 0 , 12 ) ;
1074
1074
const completionList = doComplete ( document , position , 'html' , {
@@ -1150,7 +1150,7 @@ describe('Test completions', () => {
1150
1150
} ) ;
1151
1151
1152
1152
it . skip ( 'should expand with multiple vendor prefixes' , async ( ) => {
1153
- await updateExtensionsPath ( null ) ;
1153
+ await updateExtensionsPath ( [ ] ) ;
1154
1154
assert . strictEqual ( expandAbbreviation ( 'brs' , getExpandOptions ( 'css' , { } ) ) , 'border-radius: ${0};' ) ;
1155
1155
assert . strictEqual ( expandAbbreviation ( 'brs5' , getExpandOptions ( 'css' , { } ) ) , 'border-radius: 5px;' ) ;
1156
1156
assert . strictEqual ( expandAbbreviation ( 'brs10px' , getExpandOptions ( 'css' , { } ) ) , 'border-radius: 10px;' ) ;
@@ -1164,15 +1164,15 @@ describe('Test completions', () => {
1164
1164
} ) ;
1165
1165
1166
1166
it . skip ( 'should expand with default vendor prefixes in properties' , async ( ) => {
1167
- await updateExtensionsPath ( null ) ;
1167
+ await updateExtensionsPath ( [ ] ) ;
1168
1168
assert . strictEqual ( expandAbbreviation ( '-p' , getExpandOptions ( 'css' , { preferences : { 'css.webkitProperties' : 'foo, bar, padding' } } ) ) , '-webkit-padding: ${0};\npadding: ${0};' ) ;
1169
1169
assert . strictEqual ( expandAbbreviation ( '-p' , getExpandOptions ( 'css' , { preferences : { 'css.oProperties' : 'padding' , 'css.webkitProperties' : 'padding' } } ) ) , '-webkit-padding: ${0};\n-o-padding: ${0};\npadding: ${0};' ) ;
1170
1170
assert . strictEqual ( expandAbbreviation ( '-brs' , getExpandOptions ( 'css' , { preferences : { 'css.oProperties' : 'padding' , 'css.webkitProperties' : 'padding' , 'css.mozProperties' : '' , 'css.msProperties' : '' } } ) ) , '-webkit-border-radius: ${0};\n-moz-border-radius: ${0};\n-ms-border-radius: ${0};\n-o-border-radius: ${0};\nborder-radius: ${0};' ) ;
1171
1171
assert . strictEqual ( expandAbbreviation ( '-o-p' , getExpandOptions ( 'css' , { preferences : { 'css.oProperties' : 'padding' , 'css.webkitProperties' : 'padding' } } ) ) , '-o-padding: ${0};\npadding: ${0};' ) ;
1172
1172
} ) ;
1173
1173
1174
1174
it ( 'should not provide completions for excludedLanguages' , async ( ) => {
1175
- await updateExtensionsPath ( null ) ;
1175
+ await updateExtensionsPath ( [ ] ) ;
1176
1176
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , 'ul>li' ) ;
1177
1177
const position = Position . create ( 0 , 5 ) ;
1178
1178
const completionList = doComplete ( document , position , 'html' , {
@@ -1188,7 +1188,7 @@ describe('Test completions', () => {
1188
1188
} ) ;
1189
1189
1190
1190
it ( 'should provide completions with kind snippet when showSuggestionsAsSnippets is enabled' , async ( ) => {
1191
- await updateExtensionsPath ( null ) ;
1191
+ await updateExtensionsPath ( [ ] ) ;
1192
1192
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , 'ul>li' ) ;
1193
1193
const position = Position . create ( 0 , 5 ) ;
1194
1194
const completionList = doComplete ( document , position , 'html' , {
@@ -1204,7 +1204,7 @@ describe('Test completions', () => {
1204
1204
} ) ;
1205
1205
1206
1206
it ( 'should not provide double completions for commonly used tags that are also snippets' , async ( ) => {
1207
- await updateExtensionsPath ( null ) ;
1207
+ await updateExtensionsPath ( [ ] ) ;
1208
1208
const document = TextDocument . create ( 'test://test/test.html' , 'html' , 0 , 'abb' ) ;
1209
1209
const position = Position . create ( 0 , 3 ) ;
1210
1210
const completionList = doComplete ( document , position , 'html' , {
0 commit comments