mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
add Julia grammar
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
build/**
|
||||||
|
cgmanifest.json
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"registrations": [
|
||||||
|
{
|
||||||
|
"component": {
|
||||||
|
"type": "git",
|
||||||
|
"git": {
|
||||||
|
"name": " JuliaEditorSupport/atom-language-julia",
|
||||||
|
"repositoryUrl": "https://github.com/JuliaEditorSupport/atom-language-julia",
|
||||||
|
"commitHash": "df335e026376acd722439aa1ac08f0889ada022e"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"version": "0.20.2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 1
|
||||||
|
}
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"comments": {
|
||||||
|
"lineComment": "#",
|
||||||
|
"blockComment": [ "#=", "=#" ]
|
||||||
|
},
|
||||||
|
"brackets": [
|
||||||
|
["{", "}"],
|
||||||
|
["[", "]"],
|
||||||
|
["(", ")"]
|
||||||
|
],
|
||||||
|
"autoClosingPairs": [
|
||||||
|
["{", "}"],
|
||||||
|
["[", "]"],
|
||||||
|
["(", ")"],
|
||||||
|
["`", "`"],
|
||||||
|
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] }
|
||||||
|
],
|
||||||
|
"surroundingPairs": [
|
||||||
|
["{", "}"],
|
||||||
|
["[", "]"],
|
||||||
|
["(", ")"],
|
||||||
|
["\"", "\""],
|
||||||
|
["`", "`"]
|
||||||
|
],
|
||||||
|
"folding": {
|
||||||
|
"markers": {
|
||||||
|
"start": "^\\s*#region",
|
||||||
|
"end": "^\\s*#endregion"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
"name": "julia",
|
||||||
|
"displayName": "%displayName%",
|
||||||
|
"description": "%description%",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"publisher": "vscode",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"vscode": "0.10.x"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"update-grammar": "node ../../build/npm/update-grammar.js JuliaEditorSupport/atom-language-julia grammars/julia_vscode.json ./syntaxes/julia.tmLanguage.json"
|
||||||
|
},
|
||||||
|
"contributes": {
|
||||||
|
"languages": [
|
||||||
|
{
|
||||||
|
"id": "julia",
|
||||||
|
"aliases": [
|
||||||
|
"Julia",
|
||||||
|
"julia"
|
||||||
|
],
|
||||||
|
"extensions": [
|
||||||
|
".jl"
|
||||||
|
],
|
||||||
|
"firstLine": "^#!\\s*/.*\\bjulia[0-9.-]*\\b",
|
||||||
|
"configuration": "./language-configuration.json"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "juliamarkdown",
|
||||||
|
"aliases": [
|
||||||
|
"Julia Markdown",
|
||||||
|
"juliamarkdown"
|
||||||
|
],
|
||||||
|
"extensions": [
|
||||||
|
".jmd"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"grammars": [
|
||||||
|
{
|
||||||
|
"language": "julia",
|
||||||
|
"scopeName": "source.julia",
|
||||||
|
"path": "./syntaxes/julia.tmLanguage.json",
|
||||||
|
"embeddedLanguages": {
|
||||||
|
"meta.embedded.inline.cpp": "cpp",
|
||||||
|
"meta.embedded.inline.javascript": "javascript",
|
||||||
|
"meta.embedded.inline.python": "python",
|
||||||
|
"meta.embedded.inline.r": "r",
|
||||||
|
"meta.embedded.inline.sql": "sql"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"displayName": "Julia Language Basics",
|
||||||
|
"description": "Provides syntax highlighting & bracket matching in Julia files."
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user