Skip to content

Commit

Permalink
Added file icons (#40)
Browse files Browse the repository at this point in the history
* Added file icons

* Revert "Added file icons"

This reverts commit 5ad1cbc.

* Added file icons rebased to latest master branch
  • Loading branch information
kdserra authored May 22, 2021
1 parent 7923bce commit 43975f9
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 79 deletions.
Binary file added fileicons/images/teal-config-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fileicons/images/teal-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions fileicons/teal-icon-theme.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
170 changes: 91 additions & 79 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 43975f9

Please sign in to comment.