{ helper . openFiles ( helper . getMarkers ( ) . map ( ( m ) => m . fileName ) ) ; await helper . verifyCompletion ( 'included' , 'markdown' , { marker1 : { completions : [ { label : '"key"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker1' ) , newText : '"key"' } , detail : 'Dictionary key' , } , { label : '"ifKey"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker1' ) , newText : '"ifKey"' } , detail : 'Dictionary key' , } , { label : '"capturedKey"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker1' ) , newText : '"capturedKey"' } , detail : 'Dictionary key' , } , { label : '"capturedInsideOfMethod"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker1' ) , newText : '"capturedInsideOfMethod"' } , detail : 'Dictionary key' , } , { label : '"reassignedKey"' , kind : Consts . CompletionItemKind . Constant , textEdit : { range : helper . getPositionRange ( 'marker1' ) , newText : '"reassignedKey"' } , detail : 'Dictionary key' , } , ] , } , marker2 : { completions : [ { label : 'keyString' , kind : Consts . CompletionItemKind . Variable } ] , } , } ) ; await helper . verifyCompletion ( 'excluded' , 'markdown' , { marker2 : { completions : [ { label : 'keyString' , kind : Consts . CompletionItemKind . Constant } ] , } , } ) ; }