diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 0e84555..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "name": "DevEnv", - "image": "ghcr.io/berrij/devenv:latest", - // Grant xhost access to root user in order to start x11 devices (r plots) - "initializeCommand": "docker pull ghcr.io/berrij/devenv:latest", - // Those don't seem to be necessary any longer - // "runArgs": [ - // "--rm", - // "--net", - // "host", - // "-e", - // "DISPLAY=${env:DISPLAY}" - // ], - // - "mounts": [ - // Mount local volume to store extensions between container runs - // "source=extensions_cache,target=/home/vscode/.vscode-server/extensions,type=volume", - // And/or for VS Code Insiders - // "source=extensions_cache_insiders,target=/home/vscode/.vscode-server-insiders/extensions,type=volume" - // Mount git folder into /workspaces - vscode will also mount the current workspace there - // "source=${localEnv:HOME}/git,target=/workspaces,type=bind,consistency=cached", - "source=${localEnv:HOME}${localEnv:USERPROFILE}/sciebo,target=/home/vscode/sciebo,type=bind,consistency=cached", - ], - "customizations": { - "vscode": { - // Extensions will get installed automatically - "extensions": [ - // C++ - "ms-vscode.cpptools-extension-pack", - // Python - "ms-python.vscode-pylance", - "ms-python.python", - "ms-python.black-formatter", - "visualstudioexptteam.vscodeintellicode", - "ms-toolsai.jupyter", - // R - "REditorSupport.r", - "rdebugger.r-debugger", - // Latex - "james-yu.latex-workshop", - "znck.grammarly", - // Git - "mhutchie.git-graph", - "github.vscode-pull-request-github", - // Markdown - "yzhang.markdown-all-in-one", - // Preview HTML - "daiyy.quick-html-previewer", - // Make fancy screenshots - "jeffersonlicet.snipped", - // Live Share - "ms-vsliveshare.vsliveshare", - // Copilot - "GitHub.copilot", - // Quarto - "quarto.quarto" - ], - // Set *default* container specific settings - // Important for radian and latex - "settings": { - // C++ - "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools", - "cmake.configureSettings": { - "CMAKE_TOOLCHAIN_FILE": "/usr/vcpkg/scripts/buildsystems/vcpkg.cmake" - }, - // Python - "jupyter.notebookFileRoot": "${workspaceFolder}", - "python.pythonPath": "/home/ubuntu/python/venv/bin/python", - "python.defaultInterpreterPath": "/home/ubuntu/python/venv/bin/python", - "python.dataScience.interactiveWindowMode": "perFile", - "python.dataScience.sendSelectionToInteractiveWindow": true, - // R - "r.rterm.linux": "/home/ubuntu/python/venv/bin/radian", - "r.bracketedPaste": true, - "r.sessionWatcher": true, - "r.plot.useHttpgd": true, - "r.plot.defaults.fullWindowMode": true, - // Latex - "latex-workshop.latex.recipe.default": "latexmk (lualatex)", - "latex-workshop.latex.autoBuild.run": "onFileChange", - "latex-workshop.view.pdf.viewer": "tab", - "latex-workshop.linting.chktex.enabled": true, - "latex-workshop.linting.run": "onType", - "latex-workshop.synctex.afterBuild.enabled": true, - "latex-workshop.view.pdf.internal.synctex.keybinding": "double-click", - "latex-workshop.intellisense.unimathsymbols.enabled": true, - // Format code as you type - "editor.formatOnPaste": true, - "editor.formatOnType": true, - "editor.formatOnSave": true, - // Hide .gitignore files - "explorer.excludeGitIgnore": true - } - } - } -} \ No newline at end of file diff --git a/readme.md b/readme.md index 0e07475..e4f0c6d 100644 --- a/readme.md +++ b/readme.md @@ -8,13 +8,13 @@ Obtain the latest stable image with: This Ubuntu-based docker image intends to deliver a fully isolated dev environment for Python, R and Latex. Extend it as needed by adding or removing components. -It is intended that you use this image with a [VS Code Devcontainer](https://code.visualstudio.com/docs/remote/containers). VS Code will automatically install all required extensions for code formatting, linting, execution, and debugging. +It is intended that you use this image with a [VS Code Devcontainer](https://code.visualstudio.com/docs/remote/containers). VS Code will automatically install all required extensions for code formatting, linting, execution, and debugging. A `.devcontainer.json` file is included in [this](https://github.com/BerriJ/devenv_devcontainer.json) repository. ## Contents -- R 4.X.X -- Texlive 2022 -- Python 3.8.X +- R 4.4.X +- Texlive 2024 +- Python 3.12.X # Setup using VS-Code