Skip to content

Commit

Permalink
Use code-snippet suffix for extension snippets. Fixes microsoft#94625
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Apr 8, 2020
1 parent 960205b commit d5e12a1
Show file tree
Hide file tree
Showing 29 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions extensions/bat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}],
"snippets": [{
"language": "bat",
"path": "./snippets/batchfile.snippets.json"
"path": "./snippets/batchfile.code-snippets"
}]
}
}
}
4 changes: 2 additions & 2 deletions extensions/coffeescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"snippets": [{
"language": "coffeescript",
"path": "./snippets/coffeescript.snippets.json"
"path": "./snippets/coffeescript.code-snippets"
}]
}
}
}
4 changes: 2 additions & 2 deletions extensions/cpp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
"snippets": [
{
"language": "c",
"path": "./snippets/c.json"
"path": "./snippets/c.code-snippets"
},
{
"language": "cpp",
"path": "./snippets/cpp.json"
"path": "./snippets/cpp.code-snippets"
}
]
}
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions extensions/csharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
],
"snippets": [{
"language": "csharp",
"path": "./snippets/csharp.json"
"path": "./snippets/csharp.code-snippets"
}]
}
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion extensions/fsharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}],
"snippets": [{
"language": "fsharp",
"path": "./snippets/fsharp.json"
"path": "./snippets/fsharp.code-snippets"
}]
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion extensions/groovy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}],
"snippets": [{
"language": "groovy",
"path": "./snippets/groovy.json"
"path": "./snippets/groovy.code-snippets"
}]
}
}
File renamed without changes.
4 changes: 2 additions & 2 deletions extensions/java/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}],
"snippets": [{
"language": "java",
"path": "./snippets/java.snippets.json"
"path": "./snippets/java.code-snippets"
}]
}
}
}
File renamed without changes.
4 changes: 2 additions & 2 deletions extensions/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@
"snippets": [
{
"language": "javascript",
"path": "./snippets/javascript.json"
"path": "./snippets/javascript.code-snippets"
},
{
"language": "javascriptreact",
"path": "./snippets/javascript.json"
"path": "./snippets/javascript.code-snippets"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions extensions/markdown-basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@
"snippets": [
{
"language": "markdown",
"path": "./snippets/markdown.json"
"path": "./snippets/markdown.code-snippets"
}
]
},
"scripts": {
"update-grammar": "node ../../build/npm/update-grammar.js microsoft/vscode-markdown-tm-grammar syntaxes/markdown.tmLanguage ./syntaxes/markdown.tmLanguage.json"
}
}
}
2 changes: 1 addition & 1 deletion extensions/php/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"snippets": [
{
"language": "php",
"path": "./snippets/php.snippets.json"
"path": "./snippets/php.code-snippets"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,4 +260,4 @@
],
"description": "Try catch block"
}
}
}
2 changes: 1 addition & 1 deletion extensions/powershell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}],
"snippets": [{
"language": "powershell",
"path": "./snippets/powershell.json"
"path": "./snippets/powershell.code-snippets"
}]
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion extensions/swift/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}],
"snippets": [{
"language": "swift",
"path": "./snippets/swift.json"
"path": "./snippets/swift.code-snippets"
}]
}
}
File renamed without changes.
4 changes: 2 additions & 2 deletions extensions/typescript-basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@
"snippets": [
{
"language": "typescript",
"path": "./snippets/typescript.json"
"path": "./snippets/typescript.code-snippets"
},
{
"language": "typescriptreact",
"path": "./snippets/typescript.json"
"path": "./snippets/typescript.code-snippets"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/vb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}],
"snippets": [{
"language": "vb",
"path": "./snippets/vb.json"
"path": "./snippets/vb.code-snippets"
}]
}
}
File renamed without changes.

0 comments on commit d5e12a1

Please sign in to comment.