安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
{
"Lua.diagnostics.libraryFiles": "Enable",
"Lua.workspace.library": [
"C:/Users/koolt/OneDrive/Documents/btlua-docs-master/types/client",
"C:/Users/koolt/OneDrive/Documents/btlua-docs-master/types/shared",
],
}
this is my settings.json
https://gitee.com/zhurengong/btlua-docs/releases/tag/v0.20.15.0
you can quickly create .vscode\settings.json by pressing ctrl+shift+p and type in "open workspace settings (json)"
and you should replace "$unzip location of types.zip$" with the location where zip file is in
the following is all settings of mine
{
"settings": {
"Lua.diagnostics.disable": [
"param-type-mismatch",
"return-type-mismatch",
"undefined-field",
"need-check-nil",
"assign-type-mismatch",
"redundant-return-value",
"missing-parameter",
"undefined-global",
"missing-return-value",
"undefined-doc-name",
"missing-return",
"cast-local-type",
"deprecated",
],
"Lua.diagnostics.libraryFiles": "Enable",
"Lua.workspace.library": [
// "F:/RemRepo/Barotrauma/LuaScript/btlua-docs/types/client",
"F:/RemRepo/Barotrauma/LuaScript/btlua-docs/types/server",
"F:/RemRepo/Barotrauma/LuaScript/btlua-docs/types/shared",
],
}
}
I have the btlua-docs-master.zip file but i cant finde .vscode\settings.json file
and should i put where "location of" stands the path to the zip file like "E:/luaBaro"?
I have stop publishing updates of the workshop version
You can link to gitee repository of this mod to download it.
---
Update: Support overloaded operators
yes, just need to replace the $localdir$ with the absolute path.
It seems that the json format is wrong, you can try to correct it according to diagnostics in vscode.
If you subscribe the mod, then $localdir$ =
~\Steam\steamapps\workshop\content\602960\2660391401
else if you clone the repository, then $localdir$ is where you cloned.
I'm confused.
2. Added all GUI files
1. can recognize inherited class, deleted much duplications.
2. add 140 lua files.
Have greatly improved the lua docs, now you can program more efficiently:
1. Can recognize simple array, generic list, and generic dictionary types
2. Can recognize nullable types
3. Can recognize all constructors (__new)
4. Can recognize all tables defined in CompatibilityLib.lua and DefaultLib.lua
5. A large number of classes have been converted to lua
6. Lua class names are expressed in the form of namespaces