From cac30f7339bd7ed3c6f1487c9421bf14491bf11a Mon Sep 17 00:00:00 2001 From: Benas Svipas Date: Wed, 31 Oct 2018 18:21:58 +0200 Subject: [PATCH] Add more languageids (#282) * add support for db, jsonc and fix sql file extension * add missing languageIds --- src/icons/partials/fileExtensions.js | 3 +- src/icons/partials/languageIds.js | 53 +++++++++++++++++++++++++++- 2 files changed, 54 insertions(+), 2 deletions(-) diff --git a/src/icons/partials/fileExtensions.js b/src/icons/partials/fileExtensions.js index f8b5f81..72ade70 100644 --- a/src/icons/partials/fileExtensions.js +++ b/src/icons/partials/fileExtensions.js @@ -17,7 +17,6 @@ "lnk": "_file_lnk", "pm": "_file_perl", "pl": "_file_perl", - "sql": "_file_sql", "jl": "_file_julia", "gv": "_file_graphviz", "erl": "_file_erlang", @@ -63,6 +62,7 @@ "sass": "_file_sass", "less": "_file_less", "json": "_file_json", + "jsonc": "_file_json", "yaml": "_file_yaml", "YAML-tmLanguage": "_file_yaml", "yml": "_file_yaml", @@ -185,6 +185,7 @@ "prop": "_file_settings", "settings": "_file_settings", "sql": "_file_database", + "db": "_file_database", "accdb": "_file_database", "mdb": "_file_database", "cer": "_file_certificate", diff --git a/src/icons/partials/languageIds.js b/src/icons/partials/languageIds.js index a82cb1b..77d207c 100644 --- a/src/icons/partials/languageIds.js +++ b/src/icons/partials/languageIds.js @@ -5,5 +5,56 @@ "hxml": "_file_haxe", "polymer": "_file_polymer", "matlab": "_file_matlab", - "makefile": "_file_settings" + "bat": "_file_cmd", + "c": "_file_c", + "csharp": "_file_csharp", + "cpp": "_file_cpp", + "css": "_file_css", + "clojure": "_file_clojure", + "coffeescript": "_file_coffee", + "dart": "_file_dart", + "diff": "_file_git", + "dockerfile": "_file_docker", + "fsharp": "_file_fsharp", + "git-commit": "_file_git", + "git-rebase": "_file_git", + "go": "_file_go", + "groovy": "_file_groovy", + "html": "_file_html", + "handlebars": "_file_handlebars", + "ignore": "_file_git", + "ini": "_file_settings", + "json": "_file_json", + "jsonc": "_file_json", + "java": "_file_java", + "javascript": "_file_js", + "javascriptreact": "_file_react", + "less": "_file_less", + "lua": "_file_lua", + "makefile": "_file_settings", + "markdown": "_file_markdown", + "objective-c": "_file_matlab", + "objective-cpp": "_file_cpp", + "php": "_file_php", + "perl": "_file_perl", + "perl6": "_file_perl", + "plaintext": "_file_document", + "powershell": "_file_console", + "properties": "_file_settings", + "proto3": "_file_protobuf", + "jade": "_file_pug", + "python": "_file_python", + "r": "_file_r", + "ruby": "_file_ruby", + "rust": "_file_rust", + "scss": "_file_sass", + "sql": "_file_database", + "shellscript": "_file_console", + "swift": "_file_swift", + "typescript": "_file_typescript", + "typescriptreact": "_file_react", + "vb": "_file_visualstudio", + "xml": "_file_xml", + "xsl": "_file_xml", + "yaml": "_file_yaml" },