@@ -12,8 +12,8 @@ import * as nls from 'vscode-nls';
constlocalize=nls.loadMessageBundle();
letglobProperties:CompletionItem[]=[
{kind:CompletionItemKind.Value,label:localize('assocLabelFile',"Files with Extension"),insertText:SnippetString.create('"*.${1:extension}": "${2:language}"'),documentation:localize('assocDescriptionFile',"Map all files matching the glob pattern in their filename to the language with the given identifier.")},
{kind:CompletionItemKind.Value,label:localize('assocLabelPath',"Files with Path"),insertText:SnippetString.create('"/${1:path to file}/*.${2:extension}": "${3:language}"'),documentation:localize('assocDescriptionPath',"Map all files matching the absolute path glob pattern in their path to the language with the given identifier.")}
{kind:CompletionItemKind.Value,label:localize('assocLabelFile',"Files with Extension"),insertText:'"*.${1:extension}": "${2:language}"',insertTextFormat:InsertTextFormat.Snippet,documentation:localize('assocDescriptionFile',"Map all files matching the glob pattern in their filename to the language with the given identifier.")},
{kind:CompletionItemKind.Value,label:localize('assocLabelPath',"Files with Path"),insertText:'"/${1:path to file}/*.${2:extension}": "${3:language}"',insertTextFormat:InsertTextFormat.Snippet,documentation:localize('assocDescriptionPath',"Map all files matching the absolute path glob pattern in their path to the language with the given identifier.")}
@@ -12,18 +12,18 @@ import * as nls from 'vscode-nls';
constlocalize=nls.loadMessageBundle();
letglobProperties:CompletionItem[]=[
{kind:CompletionItemKind.Value,label:localize('fileLabel',"Files by Extension"),insertText:SnippetString.create('"**/*.${1:extension}": true'),documentation:localize('fileDescription',"Match all files of a specific file extension.")},
{kind:CompletionItemKind.Value,label:localize('fileLabel',"Files by Extension"),insertText:'"**/*.${1:extension}": true',insertTextFormat:InsertTextFormat.Snippet,documentation:localize('fileDescription',"Match all files of a specific file extension.")},
{kind:CompletionItemKind.Value,label:localize('filesLabel',"Files with Multiple Extensions"),insertText:'"**/*.{ext1,ext2,ext3}": true',documentation:localize('filesDescription',"Match all files with any of the file extensions.")},
{kind:CompletionItemKind.Value,label:localize('derivedLabel',"Files with Siblings by Name"),insertText:SnippetString.create('"**/*.${1:source-extension}": { "when": "$(basename).${2:target-extension}" }'),documentation:localize('derivedDescription',"Match files that have siblings with the same name but a different extension.")},
{kind:CompletionItemKind.Value,label:localize('topFolderLabel',"Folder by Name (Top Level)"),insertText:SnippetString.create('"${1:name}": true'),documentation:localize('topFolderDescription',"Match a top level folder with a specific name.")},
{kind:CompletionItemKind.Value,label:localize('derivedLabel',"Files with Siblings by Name"),insertText:'"**/*.${1:source-extension}": { "when": "$(basename).${2:target-extension}" }',insertTextFormat:InsertTextFormat.Snippet,documentation:localize('derivedDescription',"Match files that have siblings with the same name but a different extension.")},
{kind:CompletionItemKind.Value,label:localize('topFolderLabel',"Folder by Name (Top Level)"),insertText:'"${1:name}": true',insertTextFormat:InsertTextFormat.Snippet,documentation:localize('topFolderDescription',"Match a top level folder with a specific name.")},
{kind:CompletionItemKind.Value,label:localize('topFoldersLabel',"Folders with Multiple Names (Top Level)"),insertText:'"{folder1,folder2,folder3}": true',documentation:localize('topFoldersDescription',"Match multiple top level folders.")},
{kind:CompletionItemKind.Value,label:localize('folderLabel',"Folder by Name (Any Location)"),insertText:SnippetString.create('"**/${1:name}": true'),documentation:localize('folderDescription',"Match a folder with a specific name in any location.")},
{kind:CompletionItemKind.Value,label:localize('folderLabel',"Folder by Name (Any Location)"),insertText:'"**/${1:name}": true',insertTextFormat:InsertTextFormat.Snippet,documentation:localize('folderDescription',"Match a folder with a specific name in any location.")},
];
letglobValues:CompletionItem[]=[
{kind:CompletionItemKind.Value,label:localize('trueLabel',"true"),filterText:'true',insertText:'true',documentation:localize('trueDescription',"Enable the pattern.")},
{kind:CompletionItemKind.Value,label:localize('falseLabel',"false"),filterText:'false',insertText:'false',documentation:localize('falseDescription',"Disable the pattern.")},
{kind:CompletionItemKind.Value,label:localize('derivedLabel',"Files with Siblings by Name"),insertText:SnippetString.create('{ "when": "$(basename).${1:extension}" }'),documentation:localize('siblingsDescription',"Match files that have siblings with the same name but a different extension.")}
{kind:CompletionItemKind.Value,label:localize('derivedLabel',"Files with Siblings by Name"),insertText:'{ "when": "$(basename).${1:extension}" }',insertTextFormat:InsertTextFormat.Snippet,documentation:localize('siblingsDescription',"Match files that have siblings with the same name but a different extension.")}