Skip to content

Instantly share code, notes, and snippets.

@carafelix
Last active March 23, 2024 05:20
Show Gist options
  • Save carafelix/246c42a9ad4544a38f282772509ed388 to your computer and use it in GitHub Desktop.
Save carafelix/246c42a9ad4544a38f282772509ed388 to your computer and use it in GitHub Desktop.
All default VS code file.associations

Pulled from VS Code official repository which itself pulls from Seti UI repository. It's possible to manually edit the vs-seti-icon-theme.json file located in $VSCODE_PATH/resources/app/extensions/theme-seti/icons/vs-seti-icon-theme.json. WithVSCODE_PATH being the installation folder. In Linux defaults to /usr/share/code/

Anytime you wonder which and where were all the file.associations for customizing the file extension icons in VS Code? Well here they are.

Your settings.json would look the following example (first one being place holders and the second one being a working icon file association)

"files.associations": {
        "REGEX_PATTERN": "FILE.ASSOCIATION",
        "*.xcu": "xml"
    }

Format: "file.association": "seti-UI mapping"

{
"fileExtensions": {
    "bsl": "_bsl",
    "mdo": "_mdo",
    "cls": "_salesforce",
    "apex": "_salesforce",
    "asm": "_asm",
    "s": "_asm",
    "bicep": "_bicep",
    "bzl": "_bazel",
    "bazel": "_bazel",
    "build": "_bazel",
    "workspace": "_bazel",
    "bazelignore": "_bazel",
    "bazelversion": "_bazel",
    "h": "_c_1",
    "aspx": "_html",
    "ascx": "_html_1",
    "asax": "_html_2",
    "master": "_html_2",
    "hh": "_cpp_1",
    "hpp": "_cpp_1",
    "hxx": "_cpp_1",
    "h++": "_cpp_1",
    "edn": "_clojure_1",
    "cfc": "_coldfusion",
    "cfm": "_coldfusion",
    "litcoffee": "_coffee",
    "config": "_config",
    "cr": "_crystal",
    "ecr": "_crystal_embedded",
    "slang": "_crystal_embedded",
    "cson": "_json",
    "css.map": "_css",
    "sss": "_css",
    "csv": "_csv",
    "xls": "_xls",
    "xlsx": "_xls",
    "cuh": "_cu_1",
    "hu": "_cu_1",
    "cake": "_cake",
    "ctp": "_cake_php",
    "d": "_d",
    "doc": "_word",
    "docx": "_word",
    "ejs": "_ejs",
    "ex": "_elixir",
    "exs": "_elixir_script",
    "elm": "_elm",
    "ico": "_favicon",
    "gitconfig": "_git",
    "gitkeep": "_git",
    "gitattributes": "_git",
    "gitmodules": "_git",
    "slide": "_go",
    "article": "_go",
    "gd": "_godot",
    "godot": "_godot_1",
    "tres": "_godot_2",
    "tscn": "_godot_3",
    "gradle": "_gradle",
    "gsp": "_grails",
    "gql": "_graphql",
    "graphql": "_graphql",
    "graphqls": "_graphql",
    "hack": "_hacklang",
    "haml": "_haml",
    "hs": "_haskell",
    "lhs": "_haskell",
    "hx": "_haxe",
    "hxs": "_haxe_1",
    "hxp": "_haxe_2",
    "hxml": "_haxe_3",
    "jade": "_jade",
    "class": "_java_1",
    "classpath": "_java",
    "js.map": "_javascript",
    "spec.js": "_javascript_1",
    "test.js": "_javascript_1",
    "es": "_javascript",
    "es5": "_javascript",
    "es7": "_javascript",
    "jinja": "_jinja",
    "jinja2": "_jinja",
    "kt": "_kotlin",
    "kts": "_kotlin",
    "liquid": "_liquid",
    "ls": "_livescript",
    "argdown": "_argdown",
    "ad": "_argdown",
    "mustache": "_mustache",
    "stache": "_mustache",
    "nim": "_nim",
    "nims": "_nim",
    "github-issues": "_github",
    "ipynb": "_notebook",
    "njk": "_nunjucks",
    "nunjucks": "_nunjucks",
    "nunjs": "_nunjucks",
    "nunj": "_nunjucks",
    "njs": "_nunjucks",
    "nj": "_nunjucks",
    "npm-debug.log": "_npm",
    "npmignore": "_npm_1",
    "npmrc": "_npm_1",
    "ml": "_ocaml",
    "mli": "_ocaml",
    "cmx": "_ocaml",
    "cmxa": "_ocaml",
    "odata": "_odata",
    "php.inc": "_php",
    "pipeline": "_pipeline",
    "pddl": "_pddl",
    "plan": "_plan",
    "happenings": "_happenings",
    "prisma": "_prisma",
    "pp": "_puppet",
    "epp": "_puppet",
    "purs": "_purescript",
    "spec.jsx": "_react_1",
    "test.jsx": "_react_1",
    "cjsx": "_react",
    "spec.tsx": "_react_1",
    "test.tsx": "_react_1",
    "re": "_reasonml",
    "res": "_rescript",
    "resi": "_rescript_1",
    "r": "_R",
    "rmd": "_R",
    "erb": "_html_erb",
    "erb.html": "_html_erb",
    "html.erb": "_html_erb",
    "sass": "_sass",
    "springbeans": "_spring",
    "slim": "_slim",
    "smarty.tpl": "_smarty",
    "tpl": "_smarty",
    "sbt": "_sbt",
    "scala": "_scala",
    "sol": "_ethereum",
    "styl": "_stylus",
    "svelte": "_svelte",
    "soql": "_db_1",
    "tf": "_terraform",
    "tf.json": "_terraform",
    "tfvars": "_terraform",
    "tfvars.json": "_terraform",
    "dtx": "_tex_2",
    "ins": "_tex_3",
    "toml": "_config",
    "twig": "_twig",
    "spec.ts": "_typescript_1",
    "test.ts": "_typescript_1",
    "vala": "_vala",
    "vapi": "_vala",
    "component": "_html_3",
    "vue": "_vue",
    "wasm": "_wasm",
    "wat": "_wat",
    "pro": "_prolog",
    "zig": "_zig",
    "jar": "_zip",
    "zip": "_zip_1",
    "wgt": "_wgt",
    "ai": "_illustrator",
    "psd": "_photoshop",
    "pdf": "_pdf",
    "eot": "_font",
    "ttf": "_font",
    "woff": "_font",
    "woff2": "_font",
    "avif": "_image",
    "gif": "_image",
    "jpg": "_image",
    "jpeg": "_image",
    "png": "_image",
    "pxm": "_image",
    "svg": "_svg",
    "svgx": "_image",
    "tiff": "_image",
    "webp": "_image",
    "sublime-project": "_sublime",
    "sublime-workspace": "_sublime",
    "mov": "_video",
    "ogv": "_video",
    "webm": "_video",
    "avi": "_video",
    "mpg": "_video",
    "mp4": "_video",
    "mp3": "_audio",
    "ogg": "_audio",
    "wav": "_audio",
    "flac": "_audio",
    "3ds": "_svg_1",
    "3dm": "_svg_1",
    "stl": "_svg_1",
    "obj": "_svg_1",
    "dae": "_svg_1",
    "babelrc": "_babel",
    "babelrc.js": "_babel",
    "babelrc.cjs": "_babel",
    "bazelrc": "_bazel_1",
    "bowerrc": "_bower",
    "dockerignore": "_docker_1",
    "codeclimate.yml": "_code-climate",
    "eslintrc": "_eslint",
    "eslintrc.js": "_eslint",
    "eslintrc.cjs": "_eslint",
    "eslintrc.yaml": "_eslint",
    "eslintrc.yml": "_eslint",
    "eslintrc.json": "_eslint",
    "eslintignore": "_eslint_1",
    "firebaserc": "_firebase",
    "gitlab-ci.yml": "_gitlab",
    "jshintrc": "_javascript_2",
    "jscsrc": "_javascript_2",
    "stylelintrc": "_stylelint",
    "stylelintrc.json": "_stylelint",
    "stylelintrc.yaml": "_stylelint",
    "stylelintrc.yml": "_stylelint",
    "stylelintrc.js": "_stylelint",
    "stylelintignore": "_stylelint_1",
    "direnv": "_config",
    "env": "_config",
    "static": "_config",
    "slugignore": "_config",
    "tmp": "_clock_1",
    "htaccess": "_config",
    "key": "_lock",
    "cert": "_lock",
    "cer": "_lock",
    "crt": "_lock",
    "pem": "_lock",
    "ds_store": "_ignored"
},
"fileNames": {
    "mix": "_hex",
    "karma.conf.js": "_karma",
    "karma.conf.coffee": "_karma",
    "readme.md": "_info",
    "readme.txt": "_info",
    "readme": "_info",
    "changelog.md": "_clock",
    "changelog.txt": "_clock",
    "changelog": "_clock",
    "changes.md": "_clock",
    "changes.txt": "_clock",
    "changes": "_clock",
    "version.md": "_clock",
    "version.txt": "_clock",
    "version": "_clock",
    "mvnw": "_maven",
    "pom.xml": "_maven",
    "tsconfig.json": "_tsconfig",
    "swagger.json": "_json_1",
    "swagger.yml": "_json_1",
    "swagger.yaml": "_json_1",
    "mime.types": "_config",
    "jenkinsfile": "_jenkins",
    "babel.config.js": "_babel",
    "babel.config.json": "_babel",
    "babel.config.cjs": "_babel",
    "build": "_bazel",
    "build.bazel": "_bazel",
    "workspace": "_bazel",
    "workspace.bazel": "_bazel",
    "bower.json": "_bower",
    "docker-healthcheck": "_docker_2",
    "firebase.json": "_firebase",
    "geckodriver": "_firefox",
    "gruntfile.js": "_grunt",
    "gruntfile.babel.js": "_grunt",
    "gruntfile.coffee": "_grunt",
    "gulpfile": "_gulp",
    "gulpfile.js": "_gulp",
    "ionic.config.json": "_ionic",
    "ionic.project": "_ionic",
    "platformio.ini": "_platformio",
    "rollup.config.js": "_rollup",
    "sass-lint.yml": "_sass",
    "stylelint.config.js": "_stylelint",
    "stylelint.config.cjs": "_stylelint",
    "yarn.clean": "_yarn",
    "yarn.lock": "_yarn",
    "webpack.config.js": "_webpack",
    "webpack.config.cjs": "_webpack",
    "webpack.config.ts": "_webpack",
    "webpack.config.build.js": "_webpack",
    "webpack.config.build.cjs": "_webpack",
    "webpack.config.build.ts": "_webpack",
    "webpack.common.js": "_webpack",
    "webpack.common.cjs": "_webpack",
    "webpack.common.ts": "_webpack",
    "webpack.dev.js": "_webpack",
    "webpack.dev.cjs": "_webpack",
    "webpack.dev.ts": "_webpack",
    "webpack.prod.js": "_webpack",
    "webpack.prod.cjs": "_webpack",
    "webpack.prod.ts": "_webpack",
    "license": "_license",
    "licence": "_license",
    "license.txt": "_license",
    "licence.txt": "_license",
    "license.md": "_license",
    "licence.md": "_license",
    "copying": "_license",
    "copying.txt": "_license",
    "copying.md": "_license",
    "compiling": "_license_1",
    "compiling.txt": "_license_1",
    "compiling.md": "_license_1",
    "contributing": "_license_2",
    "contributing.txt": "_license_2",
    "contributing.md": "_license_2",
    "qmakefile": "_makefile_1",
    "omakefile": "_makefile_2",
    "cmakelists.txt": "_makefile_3",
    "procfile": "_heroku",
    "todo": "_todo",
    "todo.txt": "_todo",
    "todo.md": "_todo",
    "npm-debug.log": "_npm_ignored"
},
"languageIds": {
    "bat": "_windows",
    "clojure": "_clojure",
    "coffeescript": "_coffee",
    "jsonc": "_json",
    "json": "_json",
    "c": "_c",
    "cpp": "_cpp",
    "cuda-cpp": "_cu",
    "csharp": "_c-sharp",
    "css": "_css",
    "dart": "_dart",
    "dockerfile": "_docker",
    "ignore": "_git",
    "fsharp": "_f-sharp",
    "git-commit": "_git",
    "go": "_go2",
    "groovy": "_grails",
    "handlebars": "_mustache",
    "html": "_html_3",
    "properties": "_config",
    "java": "_java",
    "javascriptreact": "_react",
    "javascript": "_javascript",
    "julia": "_julia",
    "tex": "_tex_1",
    "latex": "_tex",
    "less": "_less",
    "lua": "_lua",
    "makefile": "_makefile",
    "markdown": "_markdown",
    "objective-c": "_c_2",
    "objective-cpp": "_cpp_2",
    "perl": "_perl",
    "php": "_php",
    "powershell": "_powershell",
    "jade": "_pug",
    "python": "_python",
    "r": "_R",
    "razor": "_html",
    "ruby": "_ruby",
    "rust": "_rust",
    "scss": "_sass",
    "search-result": "_code-search",
    "shellscript": "_shell",
    "sql": "_db",
    "swift": "_swift",
    "typescript": "_typescript",
    "typescriptreact": "_react",
    "xml": "_xml",
    "dockercompose": "_docker_3",
    "yaml": "_yml",
    "argdown": "_argdown",
    "bicep": "_bicep",
    "elixir": "_elixir",
    "elm": "_elm",
    "erb": "_html_erb",
    "github-issues": "_github",
    "gradle": "_gradle",
    "godot": "_godot",
    "haml": "_haml",
    "haskell": "_haskell",
    "haxe": "_haxe",
    "jinja": "_jinja",
    "kotlin": "_kotlin",
    "mustache": "_mustache",
    "nunjucks": "_nunjucks",
    "ocaml": "_ocaml",
    "rescript": "_rescript",
    "sass": "_sass",
    "stylus": "_stylus",
    "terraform": "_terraform",
    "todo": "_todo",
    "vala": "_vala",
    "vue": "_vue",
    "jsonl": "_json",
    "postcss": "_css",
    "django-html": "_html_3",
    "blade": "_php"
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment