mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Restore extensions in core (#114921)
* bring back grammar extensions
* fix hygiene
* Revert "pull themes from the marketplace"
This reverts commit 0738f76dac.
This commit is contained in:
2
extensions/coffeescript/.vscodeignore
Normal file
2
extensions/coffeescript/.vscodeignore
Normal file
@@ -0,0 +1,2 @@
|
||||
test/**
|
||||
cgmanifest.json
|
||||
18
extensions/coffeescript/cgmanifest.json
Normal file
18
extensions/coffeescript/cgmanifest.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"registrations": [
|
||||
{
|
||||
"component": {
|
||||
"type": "git",
|
||||
"git": {
|
||||
"name": "atom/language-coffee-script",
|
||||
"repositoryUrl": "https://github.com/atom/language-coffee-script",
|
||||
"commitHash": "0f6db9143663e18b1ad00667820f46747dba495e"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"description": "The file syntaxes/coffeescript.tmLanguage.json was derived from the Atom package https://github.com/atom/language-coffee-script which was originally converted from the TextMate bundle https://github.com/jashkenas/coffee-script-tmbundle.",
|
||||
"version": "0.49.3"
|
||||
}
|
||||
],
|
||||
"version": 1
|
||||
}
|
||||
33
extensions/coffeescript/language-configuration.json
Normal file
33
extensions/coffeescript/language-configuration.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"comments": {
|
||||
"lineComment": "#",
|
||||
"blockComment": [ "###", "###" ]
|
||||
},
|
||||
"brackets": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"]
|
||||
],
|
||||
"autoClosingPairs": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"],
|
||||
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||||
{ "open": "'", "close": "'", "notIn": ["string"] }
|
||||
],
|
||||
"surroundingPairs": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"],
|
||||
["\"", "\""],
|
||||
["'", "'"],
|
||||
[" ", " "]
|
||||
],
|
||||
"folding": {
|
||||
"offSide": true,
|
||||
"markers": {
|
||||
"start": "^\\s*#region\\b",
|
||||
"end": "^\\s*#endregion\\b"
|
||||
}
|
||||
}
|
||||
}
|
||||
34
extensions/coffeescript/package.json
Normal file
34
extensions/coffeescript/package.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "coffeescript",
|
||||
"displayName": "%displayName%",
|
||||
"description": "%description%",
|
||||
"version": "1.0.0",
|
||||
"publisher": "vscode",
|
||||
"license": "MIT",
|
||||
"engines": { "vscode": "*" },
|
||||
"scripts": {
|
||||
"update-grammar": "node ../../build/npm/update-grammar.js atom/language-coffee-script grammars/coffeescript.cson ./syntaxes/coffeescript.tmLanguage.json"
|
||||
},
|
||||
"contributes": {
|
||||
"languages": [{
|
||||
"id": "coffeescript",
|
||||
"extensions": [ ".coffee", ".cson", ".iced" ],
|
||||
"aliases": [ "CoffeeScript", "coffeescript", "coffee" ],
|
||||
"configuration": "./language-configuration.json"
|
||||
}],
|
||||
"grammars": [{
|
||||
"language": "coffeescript",
|
||||
"scopeName": "source.coffee",
|
||||
"path": "./syntaxes/coffeescript.tmLanguage.json"
|
||||
}],
|
||||
"breakpoints": [
|
||||
{
|
||||
"language": "coffeescript"
|
||||
}
|
||||
],
|
||||
"snippets": [{
|
||||
"language": "coffeescript",
|
||||
"path": "./snippets/coffeescript.code-snippets"
|
||||
}]
|
||||
}
|
||||
}
|
||||
4
extensions/coffeescript/package.nls.json
Normal file
4
extensions/coffeescript/package.nls.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"displayName": "CoffeeScript Language Basics",
|
||||
"description": "Provides snippets, syntax highlighting, bracket matching and folding in CoffeeScript files."
|
||||
}
|
||||
16
extensions/coffeescript/snippets/coffeescript.code-snippets
Normal file
16
extensions/coffeescript/snippets/coffeescript.code-snippets
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"Region Start": {
|
||||
"prefix": "#region",
|
||||
"body": [
|
||||
"#region"
|
||||
],
|
||||
"description": "Folding Region Start"
|
||||
},
|
||||
"Region End": {
|
||||
"prefix": "#endregion",
|
||||
"body": [
|
||||
"#endregion"
|
||||
],
|
||||
"description": "Folding Region End"
|
||||
}
|
||||
}
|
||||
1316
extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json
Normal file
1316
extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user