Restore extensions in core (#114921) · glaforge/vscode@3b03189 · GitHub
Skip to content

Commit 3b03189

Browse files
authored
Restore extensions in core (microsoft#114921)
* bring back grammar extensions * fix hygiene * Revert "pull themes from the marketplace" This reverts commit 0738f76.
1 parent 5fcd9f7 commit 3b03189

363 files changed

Lines changed: 130709 additions & 766 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build/hygiene.js

Lines changed: 1 addition & 1 deletion

extensions/bat/.vscodeignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test/**
2+
cgmanifest.json

extensions/bat/cgmanifest.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"registrations": [
3+
{
4+
"component": {
5+
"type": "git",
6+
"git": {
7+
"name": "mmims/language-batchfile",
8+
"repositoryUrl": "https://github.com/mmims/language-batchfile",
9+
"commitHash": "95ea8c699f7a8296b15767069868532d52631c46"
10+
}
11+
},
12+
"license": "MIT",
13+
"version": "0.7.5"
14+
}
15+
],
16+
"version": 1
17+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"comments": {
3+
"lineComment": "@REM"
4+
},
5+
"brackets": [
6+
["{", "}"],
7+
["[", "]"],
8+
["(", ")"]
9+
],
10+
"autoClosingPairs": [
11+
["{", "}"],
12+
["[", "]"],
13+
["(", ")"],
14+
{ "open": "\"", "close": "\"", "notIn": ["string"] }
15+
],
16+
"surroundingPairs": [
17+
["{", "}"],
18+
["[", "]"],
19+
["(", ")"],
20+
["%", "%"],
21+
["\"", "\""]
22+
],
23+
"folding": {
24+
"markers": {
25+
"start": "^\\s*(::|REM|@REM)\\s*#region",
26+
"end": "^\\s*(::|REM|@REM)\\s*#endregion"
27+
}
28+
}
29+
}

extensions/bat/package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "bat",
3+
"displayName": "%displayName%",
4+
"description": "%description%",
5+
"version": "1.0.0",
6+
"publisher": "vscode",
7+
"license": "MIT",
8+
"engines": { "vscode": "*" },
9+
"scripts": {
10+
"update-grammar": "node ../../build/npm/update-grammar.js mmims/language-batchfile grammars/batchfile.cson ./syntaxes/batchfile.tmLanguage.json"
11+
},
12+
"contributes": {
13+
"languages": [{
14+
"id": "bat",
15+
"extensions": [ ".bat", ".cmd"],
16+
"aliases": [ "Batch", "bat" ],
17+
"configuration": "./language-configuration.json"
18+
}],
19+
"grammars": [{
20+
"language": "bat",
21+
"scopeName": "source.batchfile",
22+
"path": "./syntaxes/batchfile.tmLanguage.json"
23+
}],
24+
"snippets": [{
25+
"language": "bat",
26+
"path": "./snippets/batchfile.code-snippets"
27+
}]
28+
}
29+
}

extensions/bat/package.nls.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"displayName": "Windows Bat Language Basics",
3+
"description": "Provides snippets, syntax highlighting, bracket matching and folding in Windows batch files."
4+
}
Lines changed: 16 additions & 0 deletions

0 commit comments

Comments
 (0)