This commit is contained in:
Родитель
9e0613b07b
Коммит
55ca42eddc
|
@ -0,0 +1,24 @@
|
|||
|
||||
Copyright (c) Microsoft Corporation
|
||||
|
||||
All rights reserved.
|
||||
|
||||
MIT License
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
18
README.md
18
README.md
|
@ -1,2 +1,16 @@
|
|||
# vscode-js-atom-grammar
|
||||
VS code extension that adds the Atom JavaScript grammar
|
||||
## The Atom JavaScript grammar
|
||||
|
||||
This extension replaces the JavaScript grammar in Visual Code with the JavaScript grammar from the Atom editor.
|
||||
|
||||
This allows you to have the same syntax coloring experience as in Atom. The Atom grammar supports
|
||||
variable and function reference highlighting, of course only if the currently active color theme colorizes these.
|
||||
|
||||
The original Atom JavaScript grammar is maintained at https://github.com/atom/language-javascript. Please file issue against to the grammar
|
||||
there.
|
||||
Requests for the extension (such as update requests) can be filed against the vscode repository.
|
||||
|
||||
### License
|
||||
The extension is licensed under the [MIT license](LICENSE.txt).
|
||||
The grammar syntaxes/javascript.json was derived from grammars/javascript.cson in the
|
||||
Atom package https://github.com/atom/language-javascript.
|
||||
The grammar included is licenced under the following license: https://github.com/atom/language-javascript/blob/master/LICENSE.md
|
||||
|
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 3.3 KiB |
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"name": "js-atom-grammar",
|
||||
"private": true,
|
||||
"displayName": "JavaScript Atom Grammar",
|
||||
"description": "The Atom editor's JavaScript text mate grammar.",
|
||||
"license": "MIT",
|
||||
"author": "Microsoft Corporation",
|
||||
"galleryBanner": {
|
||||
"color": "#5c2d91",
|
||||
"theme": "dark"
|
||||
},
|
||||
"icon": "logo.png",
|
||||
"publisher": "ms-vscode",
|
||||
"version": "0.1.2",
|
||||
"engines": { "vscode": "*" },
|
||||
"extensionDependencies": [
|
||||
"vscode.javascript"
|
||||
],
|
||||
"categories": [
|
||||
"Languages"
|
||||
],
|
||||
"keywords": [
|
||||
"javascript"
|
||||
],
|
||||
"contributes": {
|
||||
"grammars": [{
|
||||
"language": "javascript",
|
||||
"scopeName": "source.js",
|
||||
"path": "./syntaxes/javascript.json"
|
||||
}]
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,43 @@
|
|||
|
||||
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
|
||||
For Microsoft js-atom-grammar
|
||||
|
||||
This project incorporates material from the project(s) listed below (collectively, “Third Party Code”).
|
||||
Microsoft is not the original author of the Third Party Code. The original copyright notice and license
|
||||
under which Microsoft received such Third Party Code are set out below. This Third Party Code is licensed
|
||||
to you under their original license terms set forth below. Microsoft reserves all other rights not expressly
|
||||
granted, whether by implication, estoppel or otherwise.
|
||||
|
||||
1. JavaScript language support in Atom (https://github.com/atom/language-javascript)
|
||||
|
||||
Copyright (c) 2015 GitHub Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
--------------------------------------------------------------------
|
||||
|
||||
This package was derived from a TextMate bundle located at
|
||||
https://github.com/textmate/javascript.tmbundle and distributed under the
|
||||
following license, located in `README.mdown`:
|
||||
|
||||
Permission to copy, use, modify, sell and distribute this
|
||||
software is granted. This software is provided "as is" without
|
||||
express or implied warranty, and with no claim as to its
|
||||
suitability for any purpose.
|
Загрузка…
Ссылка в новой задаче