
🎮插件下载/Extension Download
在 VSCode 的 插件市场 中搜索关键字 dst-lan 即可找到并安装本插件。
To find and install this Extension, search keyword dst-lan in the VSCode Extension Marketplace .
不再支持 1.75.0 以下版本的 VSCode
No longer supports VSCode versions below 1.75.0
👁🗨版本兼容性/Version Compatibility
- "Don't Starve Together" 版本
^619045 。
- "Don't Starve Together" version
^619045 .
📖help
- 安装插件后,直接键入
help? (为了不污染全局补全环境,像是help之类的hint,需要用特殊符号触发):
- After installing the plugin, type
help? (To avoid polluting the global autocompletion environment, hints like help need to be triggered with special characters.):

💊糖/suger
p+预制物ID -> 预制物id补全,可以输中文译名查找 (隔段时间会更新)
p+prefabID -> Prefab ID completion, can search by translated name (Updated periodically)
g+方法名 -> 不常用全局方法查询(常用的可以直接敲出来,不常用的会被丢进g+里) (开发中...)
g+method -> Less Frequently Used Global Method Lookup (Commonly used methods can be typed directly; less common ones are included here) (WIP)
正常触发方法+i -> 启发模式:提供一些快捷代码块 (开发中...)
Normal Trigger Method+i -> Inspiration Mode: Provides some quick code snippets (WIP)
🥢切换到中文/🍴Switch To English
ctrl + shift + p -> dst-lan: toggle language
切换语言后,请务必点击重启/After switching the language, please make sure to click Restart.

lua语言服务支持/lua-language-server
🎮插件下载/Extension Download
- 在
VSCode 的 插件市场 中搜索关键字 lua 排名第一的插件 hit me。
In the VSCode Extension Marketplace, search for the keyword lua and select the top-ranked extension hit me.
🗼LLS智能识别支持库地址下载/LLS intelligent recognition support library Download
- Download From Gitee: https://gitee.com/b1inkie/lsp-dst
- 配置智能识别库/Configure Intelligent Recognition Library:
- 打开 LLS 插件设置, 找到 Workspace: Library, 将下载好的库的scripts文件夹的路径,添加进去./Open the LLS plugin settings, find Workspace: Library, and add the path to the scripts folder of the downloaded library.
- 如果你不想全局设置该库,可以在工作区JSON中配置./If you do not want to set this library globally, you can configure it in the workspace JSON.
{
"settings": {
"Lua.runtime.version": "Lua 5.1",
"Lua.workspace.library": [
"D:\\DST_content\\lsp-dst\\scripts"
]
}
}
😎成为贡献者/Become a Contributor
- 需要贡献的仓库/Repositories for Contribution => Gitee: https://gitee.com/b1inkie/lsp-dst
- 贡献可能需要了解/Contributions may require an understanding of =>
LuaCATS (Lua Comment And Type System) https://luals.github.io/wiki/annotations/
- 在仓库中找到您想贡献的条目,例如我想贡献armor组件
\scripts\components\methods\armor.lua 打开该文件进行注释即可./To contribute to an item in the repository, for example, if you want to contribute to the armor component located at \scripts\components\methods\armor.lua, you can open this file and add comments as needed.
💖lan的话:/words from lan:
📝Todo:
🏡社区:
插件Q群:
- 饥荒mod制作交流及插件建议,贡献,问题反馈群(刚创的): 623398781
其他推荐Q群:
- 五年一班: 620984175
- 龙飞群: 559477977 (入群口令 LongFei_Gamer)
- 饥荒mod制作群: 557963863
饥荒MOD订做可联系:
- qq: 2827605205 (请附加 饥荒mod订做 信息)
🚩贡献者/Contributors
创建者/Owner
协作/Collaborators
其他贡献者/Others
| |