diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..4ba005a --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,110 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/python +{ + "name": "Python 3", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/python:1-3.10-bullseye", + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + // Use 'forwardPorts' to make a list of ports inside the container available locally. + "forwardPorts": [ + 8080 + ], + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "pip3 install --user -r requirements.txt", + // Configure tool-specific properties. + "customizations": { + // Configure properties specific to VS Code. + "vscode": { + // Set *default* container specific settings.json values on container create. + "settings": { + "editor.formatOnSave": true, + "files.autoSave": "afterDelay", + "editor.formatOnPaste": true, + "editor.fontSize": 15, + "workbench.iconTheme": "material-icon-theme", + // to do tree settings + "todo-tree.highlights.defaultHighlight": { + "icon": "alert", + "type": "text-and-comment", + "foreground": "#ffffff", + // "background": "#808080", + "opacity": 70, + "iconColour": "#0000FF", + "gutterIcon": true + }, + "todo-tree.highlights.customHighlight": { + "TODO": { + "icon": "tools", + // "foreground": "#000000", + // "background": "#FFFFFF", + "iconColour": "#FFFFFF" + }, + "NOTE": { + "icon": "note", + "foreground": "#e404f8", + // "background": "#808080", + "iconColour": "#e404f8" + }, + "QUESTION": { + "icon": "question", + "foreground": "#FFFF00", + // "background": "#FFFF00", + "iconColour": "#FFFF00" + }, + "FIXME": { + "foreground": "#000000", + "background": "#FFFF00", + "iconColour": "#FFFF00" + }, + "BUG": { + "foreground": "#000000", + "background": "#FF0000", + "iconColour": "#FF0000" + }, + "DEBUG": { + "foreground": "#FFFF00", + // "background": "#FF0000", + "iconColour": "#FFFF00" + }, + "SOLVED": { + "icon": "check", + "foreground": "#FFFFFF", + "background": "#00FF00", + "iconColour": "#00FF00" + } + }, + "todo-tree.general.tags": [ + "TODO", + "NOTE", + "QUESTION", + "FIXME", + "BUG", + "DEBUG", + "SOLVED" + ], + "todo-tree.regex.regex": "(//|#|