diff --git a/fileicons/images/teal-config-light.png b/fileicons/images/teal-config-light.png new file mode 100644 index 0000000..708e56d Binary files /dev/null and b/fileicons/images/teal-config-light.png differ diff --git a/fileicons/images/teal-logo.png b/fileicons/images/teal-logo.png new file mode 100644 index 0000000..f1d57c0 Binary files /dev/null and b/fileicons/images/teal-logo.png differ diff --git a/fileicons/teal-icon-theme.json b/fileicons/teal-icon-theme.json new file mode 100644 index 0000000..fd8e425 --- /dev/null +++ b/fileicons/teal-icon-theme.json @@ -0,0 +1,16 @@ +{ + "iconDefinitions": { + "_file_extension_tl": { + "iconPath": "./images/teal-logo.png" + }, + "_file_name_tl_config_light": { + "iconPath": "./images/teal-config-light.png" + } + }, + "fileExtensions": { + "tl" : "_file_extension_tl" + }, + "fileNames": { + "tlconfig.lua" : "_file_name_tl_config_light" + } +} \ No newline at end of file diff --git a/package.json b/package.json index 7f23c33..7df0b0e 100644 --- a/package.json +++ b/package.json @@ -1,80 +1,92 @@ { - "name": "vscode-teal", - "displayName": "Teal", - "description": "Teal language support for Visual Studio Code", - "version": "0.7.6", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/teal-language/vscode-teal.git" - }, - "engines": { - "vscode": "^1.55.2" - }, - "categories": [ - "Programming Languages" - ], - "icon": "assets/teal_logo.png", - "main": "./out/client/extension", - "activationEvents": [ - "onLanguage:teal" - ], - "publisher": "pdesaulniers", - "contributes": { - "languages": [ - { - "id": "teal", - "aliases": [ - "Teal", - "tl" - ], - "extensions": [ - ".tl" - ], - "configuration": "./language-configuration.json" - } - ], - "grammars": [ - { - "language": "teal", - "scopeName": "source.teal", - "path": "./syntaxes/teal.tmLanguage.json" - } - ], - "snippets": [ - { - "language": "teal", - "path": "./snippets/teal.json" - } - ] - }, - "dependencies": { - "shell-quote": "^1.7.2", - "tmp-promise": "^3.0.2", - "vscode-languageclient": "^7.0.0", - "vscode-languageserver": "^7.0.0", - "vscode-languageserver-textdocument": "^1.0.1", - "vscode-uri": "^3.0.2", - "web-tree-sitter": "^0.19.3" - }, - "devDependencies": { - "@types/mocha": "^8.2.2", - "@types/node": "^15.0.2", - "@types/shell-quote": "^1.7.0", - "@types/tmp": "^0.2.0", - "@types/vscode": "^1.55.2", - "mocha": "^8.4.0", - "tree-sitter-cli": "^0.19.3", - "tree-sitter-teal": "https://github.com/euclidianAce/tree-sitter-teal/tarball/v0.0.4", - "typescript": "^4.2.4", - "vsce": "^1.88.0" - }, - "scripts": { - "package": "vsce package", - "vscode:prepublish": "npm run build", - "build": "tsc -b && npm run generate-grammar && tree-sitter build-wasm node_modules/tree-sitter-teal && node scripts/post-build.js", - "watch": "tsc -b -w", - "test": "mocha out/test/**/*.spec.js", - "generate-grammar": "cd node_modules/tree-sitter-teal && tree-sitter generate" - } -} + "name": "vscode-teal", + "displayName": "Teal", + "description": "Teal language support for Visual Studio Code", + "version": "0.7.6", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/teal-language/vscode-teal.git" + }, + "engines": { + "vscode": "^1.55.2" + }, + "categories": [ + "Programming Languages" + ], + "icon": "assets/teal_logo.png", + "main": "./out/client/extension", + "activationEvents": [ + "onLanguage:teal" + ], + "publisher": "pdesaulniers", + "contributes": { + "languages": [ + { + "id": "teal", + "aliases": [ + "Teal", + "tl" + ], + "extensions": [ + ".tl" + ], + "configuration": "./language-configuration.json" + } + ], + "grammars": [ + { + "language": "teal", + "scopeName": "source.teal", + "path": "./syntaxes/teal.tmLanguage.json" + } + ], + "snippets": [ + { + "language": "teal", + "path": "./snippets/teal.json" + } + ], + "iconThemes": [ + { + "id": "teal-icons", + "label": "Teal Icons", + "path": "./fileicons/teal-icon-theme.json" + } + ] + }, + "dependencies": { + "shell-quote": "^1.7.2", + "tmp-promise": "^3.0.2", + "vscode-languageclient": "^7.0.0", + "vscode-languageserver": "^7.0.0", + "vscode-languageserver-textdocument": "^1.0.1", + "vscode-uri": "^3.0.2", + "web-tree-sitter": "^0.19.3" + }, + "devDependencies": { + "@types/mocha": "^8.2.2", + "@types/node": "^15.0.2", + "@types/shell-quote": "^1.7.0", + "@types/tmp": "^0.2.0", + "@types/vscode": "^1.55.2", + "mocha": "^8.4.0", + "tree-sitter-cli": "^0.19.3", + "tree-sitter-teal": "https://github.com/euclidianAce/tree-sitter-teal/tarball/v0.0.4", + "typescript": "^4.2.4", + "vsce": "^1.88.0" + }, + "scripts": { + "package": "vsce package", + "vscode:prepublish": "npm run build", + "build": "tsc -b && npm run generate-grammar && tree-sitter build-wasm node_modules/tree-sitter-teal && node scripts/post-build.js", + "watch": "tsc -b -w", + "test": "mocha out/test/**/*.spec.js", + "generate-grammar": "cd node_modules/tree-sitter-teal && tree-sitter generate" + }, + "__metadata": { + "id": "be137735-dc2d-42b8-b16d-70185e796935", + "publisherDisplayName": "Patrick Desaulniers", + "publisherId": "99957110-3f45-4195-8896-95ce950ce76c" + } +} \ No newline at end of file