Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions vscode-dascript/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.secret
node_modules
19 changes: 19 additions & 0 deletions vscode-dascript/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// A launch configuration that launches the extension inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"preLaunchTask": "build"
}
]
}
2 changes: 2 additions & 0 deletions vscode-dascript/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
32 changes: 32 additions & 0 deletions vscode-dascript/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "npx js-yaml syntaxes/dascript.tmLanguage.yaml > syntaxes/dascript.tmLanguage.json",
"problemMatcher": {
"owner": "yaml",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": {
"regexp": "^YAMLException:(.*) at line (\\d+), column (\\d+):(.*)$",
"message": 1,
"line": 2,
"column": 3
}
},
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "shared"
},
"promptOnClose": true
}
]
}
4 changes: 4 additions & 0 deletions vscode-dascript/.vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.vscode/**
.vscode-test/**
.gitignore
vsc-extension-quickstart.md
7 changes: 7 additions & 0 deletions vscode-dascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Change Log

All notable changes to the "dascript" extension will be documented in this file.

## [0.0.1]

- Initial release
3 changes: 3 additions & 0 deletions vscode-dascript/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# dascript README

Syntax highlight for daScript
30 changes: 30 additions & 0 deletions vscode-dascript/language-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"comments": {
// symbol used for single line comment. Remove this entry if your language does not support line comments
"lineComment": "//",
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
"blockComment": [ "/*", "*/" ]
},
// symbols used as brackets
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
// symbols that that can be used to surround a selection
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}
39 changes: 39 additions & 0 deletions vscode-dascript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions vscode-dascript/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "dascript",
"displayName": "daScript",
"description": "daScript is high-performance statically strong typed scripting language, designed to be high-performance as embeddable ‘scripting’ language for real-time applications (like games).",
"version": "0.0.2",
"publisher": "eguskov",
"engines": {
"vscode": "^1.40.0"
},
"repository": {
"type": "git",
"url": "https://github.com/eguskov/vscode-dascript.git"
},
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "dascript",
"aliases": [
"daScript",
"dascript"
],
"extensions": [
".das",
".dascript"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "dascript",
"scopeName": "source.dascript",
"path": "./syntaxes/dascript.tmLanguage.json"
}
]
},
"devDependencies": {
"js-yaml": "^3.13.1"
}
}
Loading