Barotrauma 潜渊症

Barotrauma 潜渊症

评价数不足
VsCode Doc For LFB
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
229.000 B
2021 年 11 月 21 日 上午 12:45
2023 年 8 月 13 日 下午 9:26
27 项改动说明 ( 查看 )

订阅以下载
VsCode Doc For LFB

描述
Provide VsCode documentation for Lua For Barotrauma that supports Lua Language Server coded by Lua (created by sumneko)[marketplace.visualstudio.com]

Features
  • Analyze all necessary C# Types
  • Analyze all members (fields, properties, indexers, methods, constructors), constructors)
  • Analyze generic types, delegates, overloaded operators
  • Analyze various variants of C# Type in Lua
  • Analyze variable parameters, optional parameters

Recommended configuration
{ "settings": { "Lua.diagnostics.libraryFiles": "Enable", "Lua.workspace.library": [ // "P:/Repository/Barotrauma/btlua-docs/types/client", "P:/Repository/Barotrauma/btlua-docs/types/server", "P:/Repository/Barotrauma/btlua-docs/types/shared", ], "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", ], } }

32 条留言
Television 2023 年 5 月 21 日 下午 7:35 
thanks
whosyourdaddy  [作者] 2023 年 5 月 20 日 下午 9:26 
whosyourdaddy  [作者] 2023 年 5 月 20 日 下午 9:25 
You don't need to clone the repository, you just need to download type.zip.
Television 2023 年 5 月 19 日 下午 3:50 
how do i get this to work?
{
"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
Iridescent Lightning 2023 年 3 月 29 日 下午 7:38 
Super good mod. Love it!
BonelessSoap 2023 年 2 月 2 日 上午 9:59 
help it does not work for me i dried pressing ctrl+shift+p and type in "open workspace settings (json)" but apperently it does not work i have no idear how to do it pls just make a vid or help me
BonelessSoap 2023 年 2 月 2 日 上午 9:40 
oh my good pls help me i installed all the suff i had to the lua server thing and the zip from that chines webside but i dont know hoe to get any thurther
whosyourdaddy  [作者] 2023 年 1 月 28 日 上午 10:33 
you should download type.zip here:
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",
],
}
}
Asbest 2023 年 1 月 28 日 上午 2:35 
i cant figure it out how do i use it.
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"?
whosyourdaddy  [作者] 2022 年 12 月 14 日 上午 9:43 
Updated to the latest barotrauma versin(v0.20.15.0)