This extension pack packages some of the most popular VS Code extensions for Defold.
Feel free to copy and paste them into your .vscode/settings.json
file.
{
"editor.snippetSuggestions": "bottom",
"Lua.diagnostics.ignoredFiles": "Disable",
"Lua.diagnostics.libraryFiles": "Disable",
"Lua.completion.callSnippet": "Replace",
"Lua.diagnostics.globals": [
"init",
"final",
"update",
"fixed_update",
"on_message",
"on_input",
"on_reload"
],
"search.exclude": {
"**/build/**": true,
"patches/": true,
"**/*.collection": true,
"**/*.atlas": true,
"**/icon_*.png": true
},
"files.associations": {
"*.script": "lua",
"*.gui_script": "lua",
"*.render_script": "lua",
"*.editor_script": "lua",
"*.lua_": "lua",
"*.fp": "glsl",
"*.vp": "glsl",
"*.go": "textproto",
"*.animationset": "textproto",
"*.atlas": "textproto",
"*.buffer": "json",
"*.camera": "textproto",
"*.collection": "textproto",
"*.collectionfactory": "textproto",
"*.collectionproxy": "textproto",
"*.collisionobject": "textproto",
"*.display_profiles": "textproto",
"*.factory": "textproto",
"*.gamepads": "textproto",
"*.gui": "textproto",
"*.input_binding": "textproto",
"*.label": "textproto",
"*.material": "textproto",
"*.mesh": "textproto",
"*.model": "textproto",
"*.particlefx": "textproto",
"*.project": "ini",
"*.render": "textproto",
"*.sound": "textproto",
"*.spinemodel": "textproto",
"*.spinescene": "textproto",
"*.sprite": "textproto",
"*.texture_profiles": "textproto",
"*.tilemap": "textproto",
"*.tilesource": "textproto",
}
}
- mikatuo.vscode-defold-ide - Tools for Defold to make your life easier and coding in Lua nicer.
- sumneko.lua - A powerful Lua language server with IntelliSense.
- thejustinwalsh.textproto-grammer - Textual Protobuf syntax highlighting.
- slevesque.shader - Shader languages support.
- dtoplak.vscode-glsllint - Linting of OpenGL Shading Language.
- koihik.vscode-lua-format - Lua code formatter.
Credit
This extension pack is based on the guide How to turn Visual Studio Code into Defold IDE by astrochili.
The Defold name and logo are registered trademarks of the Defold Foundation.