Skip to content

Instantly share code, notes, and snippets.

@SamsadSajid
Created March 9, 2023 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamsadSajid/fe481c2190a5fb97daed836c4c971b4b to your computer and use it in GitHub Desktop.
Save SamsadSajid/fe481c2190a5fb97daed836c4c971b4b to your computer and use it in GitHub Desktop.
// add the followings in the vscode settings.json
// Credit: James King
"explorer.fileNesting.patterns":{
"*.ts": "${capture}.test.ts",
"*.go": "${capture}_test.go",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts, ${capture}.test.js",
"*.jsx": "${capture}.test.jsx",
"*.tsx": "${capture}.test.tsx",
"tsconfig.json": "tsconfig.*.json",
"package.json": "package-lock.json, yarn.lock, pnpm-lock.yaml",
"*.scss": "${capture}.scss.d.ts",
},
"explorer.fileNesting.enabled": true,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment