Script Kit Logo
Script Kit
by John Lindquist
Vercel OSS Program

Scripts by benschlegel

Open Recent VS Code Project v2

benschlegel's avatar
Ben Schlegel
// Name: Open Recent VS Code Project v2 // GitHub: @benschlegel // Author: Ben Schlegel // Description: Open recent vscode project (with remote connection support) // Shortcode code // Shortcut: cmd shift o import "@johnlindquist/kit" import { Action } from "@johnlindquist/kit" import { URL, fileURLToPath } from "url" import * as path from 'path'; /** * Wether to include projects that are a single file in recent projects (defaults to false) */ const includeSingleFiles = false // /Users/johnlindquist/Library/Application Support/Code/User/globalStorage/state.vscdb let filename = home("Library", "Application Support", "Code", "User", "globalStorage", "state.vscdb") // windows path