Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Lua for H3DNew to Visual Studio Code? Get it now.
Lua for H3D

Lua for H3D

h3d

|
107 installs
| (0) | Free
Lua for H3D
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

sumnekolua

安装插件后,需要在项目设置 .vscode/settings.json 中添加下面内容

"Lua.workspace.library": {
    "framework": true,
    "lua_api": true,
    "tolua": true,
},
"Lua.runtime.version": "Lua 5.3",
"Lua.workspace.preloadFileSize": 1000,
"Lua.workspace.maxPreload": 3000,
"Lua.diagnostics.globals": [
    "tolua",
    "lua_dc",
    "cjson",
    "abs",
    "_ylw",
    "INTL",
    "jit",
    "LoginConfig",
    "TT",
    "TokenTypeT",
    "DeviceInfoHub",
    "DebugServerIp",
],
"Lua.runtime.special": {
    "_class": "diyclass",
    "_enum": "diyset",
    "_autoEnum": "diyset",
    "_staticClass": "diyset"
},
"Lua.diagnostics.disable": [
    "lowercase-global",
    "undefined-doc-name",
    "undefined-doc-param",
    "duplicate-doc-class",
    "undefined-doc-class",
    "doc-field-no-class",
    "circle-doc-class",
    "duplicate-doc-param",
    "duplicate-index",
    "ambiguity-1",
    "luadoc-miss-param-name",
    "luadoc-miss-symbol",
    "luadoc-miss-type-name"
]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft