Skip to content

Instantly share code, notes, and snippets.

@david4958606
Created April 27, 2021 15:18
Show Gist options
  • Save david4958606/ebfe04d0373f5c43d4e3c64a52d6f37e to your computer and use it in GitHub Desktop.
Save david4958606/ebfe04d0373f5c43d4e3c64a52d6f37e to your computer and use it in GitHub Desktop.
Workspace settings for vapoursynth and vscode
{
"folders": [
{
"path": "..\\VSscript"
}
],
"settings": {
"files.associations": {
"*.vpy": "python"
},
"python.languageServer": "Pylance",
"markdown-preview-enhanced.mathRenderingOption": "MathJax"
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "VapourSynth",
"type": "python",
"request": "launch",
"console": "integratedTerminal",
"program": "",
"args": [
"-m",
"vsp",
"${file}"
],
"showReturnValue": true,
"subProcess": true,
},
{
"name": "Python",
"type": "python",
"request": "launch",
"console": "integratedTerminal",
"program": "${file}",
"showReturnValue": true,
"subProcess": true,
}
]
},
"tasks":
{
"version": "2.0.0",
"label": "vspreview",
"type": "shell",
"command": "D:\\video\\VS\\VapourSynth\\python.exe", //Change to path to the python.exe which your python is using.
"args": [
"-m",
"vspreview",
"${file}"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment