feat: updated devcontainer.json for lua developer

Signed-off-by: juliano.barbosa <julianomb@gmail.com>
This commit is contained in:
juliano.barbosa 2025-01-15 15:45:23 -03:00
parent 7fb1580fd4
commit 795a72140a
No known key found for this signature in database
GPG Key ID: EB8B440F57360B3D
1 changed files with 35 additions and 19 deletions

View File

@ -1,9 +1,16 @@
// 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",
"name": "Lua Development",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"installOhMyZsh": true,
"upgradePackages": true
}
},
"customizations": {
"vscode": {
"extensions": [
@ -11,23 +18,32 @@
"GitHub.copilot-chat",
"github.vscode-github-actions",
"elagil.pre-commit-helper",
"saoudrizwan.claude-dev"
]
"saoudrizwan.claude-dev",
"sumneko.lua",
"actboy168.lua-debug",
"yinfei.luahelper",
"keyring.Lua",
"trixnz.vscode-lua",
"eamodio.gitlens",
"mhutchie.git-graph",
"donjayamanne.githistory",
"fabiospampinato.vscode-git-history",
"pprice.better-merge",
"ryu1kn.partial-diff",
"moshfeu.compare-folders",
"editorconfig.editorconfig"
],
"settings": {
"Lua.telemetry.enable": false,
"Lua.diagnostics.globals": ["vim"],
"Lua.workspace.library": [
"${3rd}/love2d/library"
],
"Lua.runtime.version": "LuaJIT",
"Lua.workspace.checkThirdParty": false
}
}
}
// 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": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "pip3 install --user -r requirements.txt",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
},
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y build-essential lua5.3 lua5.3-dev luarocks && sudo luarocks install luacheck",
"remoteUser": "vscode"
}