Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
{
"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