Skip to content

Instantly share code, notes, and snippets.

@ismetanin
ismetanin / set_vscode_defaults.swift
Created April 9, 2026 21:35
Set majority of default extensions to be open with VS Code: swift set_vscode_defaults.swift
import CoreServices
import UniformTypeIdentifiers
let bundleID = "com.microsoft.VSCode"
let extensions = [
// Shell / scripts
"sh", "bash", "zsh", "fish",
// Web
"html", "css", "js", "jsx", "ts", "tsx", "json", "xml", "svg",