Skip to content

Commit

Permalink
Add simple syntax in TextMate
Browse files Browse the repository at this point in the history
  • Loading branch information
Szmyk committed Jul 16, 2017
0 parents commit e33bc65
Show file tree
Hide file tree
Showing 5 changed files with 417 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Daedalus for Visual Studio Code [![Marketplace Version](https://vsmarketplacebadge.apphb.com/version/szymonzak.daedalus.svg)](https://marketplace.visualstudio.com/items?itemName=szymonzak.daedalus)
=============================

This is Visual Studio Code extension providing support of Daedalus language used for gameplay scripting in games on ZenGin engine (Gothic I, II & II:NoTR).
The project was developed primarily for [SoulFire](https://thehistoryofkhorinis.com).
Binary file added images/gothic-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions 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": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}
50 changes: 50 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"name": "daedalus",
"displayName": "Daedalus",
"description": "Language for gameplay scripting in games on ZenGin engine (Gothic I, II & II: NoTR)",
"version": "0.1.0",
"publisher": "SzymonZak",
"keywords": [
"gothic",
"modding"
],
"preview": true,
"icon": "images/gothic-icon.png",
"repository": {
"type": "git",
"url": "https://github.com/Szmyk/daedalus-vscode.git"
},
"engines": {
"vscode": "^1.14.0"
},
"categories": [
"Languages"
],
"contributes": {
"languages": [
{
"id": "daedalus",
"aliases": [
"Daedalus",
"daedalus"
],
"extensions": [
".d"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "daedalus",
"scopeName": "daedalus",
"path": "./syntaxes/daedalus.tmLanguage"
}
]
},
"__metadata": {
"id": "73464e80-12a3-4e9e-b594-9ee5ce996453",
"publisherId": "c881cb11-f3a6-49a1-a536-0d957e2ac057",
"publisherDisplayName": "Szymon Zak"
}
}
Loading

0 comments on commit e33bc65

Please sign in to comment.