Files
StaticGalleryBuilder/StaticGalleryBuilder.code-workspace

170 lines
5.5 KiB
Plaintext

{
"extensions": {
"recommendations": [
"esbenp.prettier-vscode",
"ms-edgedevtools.vscode-edge-devtools",
"ms-python.black-formatter",
"ms-python.debugpy",
"ms-python.pylint",
"ms-python.python",
"ms-python.vscode-pylance",
"samuelcolvin.jinjahtml",
"vscode.css-language-features",
"vscode.html-language-features",
"waderyan.gitblame",
],
},
"folders": [
{
"name": "StaticGalleryBuilder",
"path": "./",
},
],
"launch": {
"version": "0.2.0",
"configurations": [
{
"args": [
"-p",
"${workspaceFolder}/test",
"-w",
"file://${workspaceFolder}/test",
"-t",
"Pictures",
"--theme",
"themes/summer.css",
"--use-fancy-folders",
"--web-manifest",
"-l",
"cc-by-nc-sa",
"-n",
"-m",
"-r"
],
"console": "integratedTerminal",
"name": "Testfolder",
"postDebugTask": "Delete Lockfile",
"program": "${workspaceFolder}/builder.py",
"request": "launch",
"type": "debugpy",
},
{
"args": [
"-p",
"/home/user/woek/Pictures",
"-w",
"file:///home/user/woek/Pictures",
"-t",
"Pictures",
"--theme",
"themes/catpuccin.css",
"--use-fancy-folders",
"--web-manifest",
"-n",
"-m",
"-r",
],
"console": "integratedTerminal",
"name": "woek",
"postDebugTask": "Delete Lockfile 2",
"program": "${workspaceFolder}/builder.py",
"request": "launch",
"type": "debugpy",
},
{
"args": [
"${workspaceFolder}/themes",
"https://pictures.sorogon.eu/Analog/Example/"
],
"console": "integratedTerminal",
"name": "Generate Themes previews",
"program": "${workspaceFolder}/generate_previews.py",
"request": "launch",
"type": "debugpy",
}
],
},
"settings": {
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features",
},
"[jinja-css]": {
"editor.defaultFormatter": "vscode.css-language-features",
},
"[jinja-html]": {
"editor.defaultFormatter": "vscode.html-language-features",
},
"[jinja-js]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
},
"black-formatter.args": [
"-l 140",
],
"black-formatter.interpreter": [
"/usr/bin/python3",
],
"editor.formatOnSave": false,
"emmet.includeLanguages": {
"jinja-css": "css",
"jinja-html": "html",
"jinja-js": "javascript",
"jinja-json": "json",
},
"files.associations": {
"**/*.css.j2": "jinja-css",
"**/*.css": "css",
"**/*.html.j2": "jinja-html",
},
"gitblame.inlineMessageEnabled": true,
"gitblame.inlineMessageFormat": "${author.name}, ${time.ago} • ${commit.summary}",
"gitblame.statusBarMessageFormat": "${author.name} (${time.ago})",
"html.format.indentHandlebars": true,
"html.format.templating": true,
"html.format.wrapAttributes": "preserve",
"html.format.wrapLineLength": 200,
"html.hover.documentation": true,
"html.suggest.html5": true,
"html.validate.scripts": true,
"html.validate.styles": true,
"json.schemaDownload.enable": true,
"json.schemas": [
{
"fileMatch": [
"manifest.json.j2",
],
"url": "https://json.schemastore.org/web-manifest-combined.json",
},
],
"prettier.htmlWhitespaceSensitivity": "css",
"pylint.args": [
"--disable=C0111",
"--disable=C0301",
"--good-names-rgxs=^[_a-z][_a-z0-9]?$",
],
"python.analysis.inlayHints.callArgumentNames": "off",
"python.analysis.inlayHints.functionReturnTypes": false,
"python.analysis.inlayHints.variableTypes": false,
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"command": "rm -f ${workspaceFolder}/test/.lock",
"isBackground": true,
"label": "Delete Lockfile",
"problemMatcher": [],
"type": "shell",
},
{
"command": "rm -f /home/user/woek/Pictures/.lock",
"isBackground": true,
"label": "Delete Lockfile 2",
"problemMatcher": [],
"type": "shell",
},
],
},
}