Update tests
parent
8176a1a607
commit
c9e4b0bb2d
|
@ -73,18 +73,22 @@ monaco.languages.registerCompletionItemProvider('mySpecialLanguage', {
|
|||
}, {
|
||||
label: 'testing',
|
||||
kind: monaco.languages.CompletionItemKind.Keyword,
|
||||
insertText:'testing({{condition}})'
|
||||
insertText: {
|
||||
value: 'testing(${1:condition})'
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'ifelse',
|
||||
kind: monaco.languages.CompletionItemKind.Snippet,
|
||||
insertText: [
|
||||
'if ({{condition}}) {',
|
||||
'\t{{}}',
|
||||
insertText: {
|
||||
value: [
|
||||
'if (${1:condition}) {',
|
||||
'\t$0',
|
||||
'} else {',
|
||||
'\t',
|
||||
'}'
|
||||
].join('\n'),
|
||||
].join('\n')
|
||||
},
|
||||
documentation: 'If-Else Statement'
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue