Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>dst-lanNew to Visual Studio Code? Get it now.
dst-lan

dst-lan

lan

|
1,489 installs
| (2) | Free
DST development assist
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Don't Starve Together Mod Dev Tools & API support library of lua-language-server

version installs downloads

饥荒mod开发工具/Don't Starve Together Mod Dev Tools

🎮插件下载/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.):

help

💊糖/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.

toggle

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

  1. Download From Gitee: https://gitee.com/b1inkie/lsp-dst
  2. 配置智能识别库/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

  1. 需要贡献的仓库/Repositories for Contribution => Gitee: https://gitee.com/b1inkie/lsp-dst
  2. 贡献可能需要了解/Contributions may require an understanding of => LuaCATS(Lua Comment And Type System) https://luals.github.io/wiki/annotations/
  3. 在仓库中找到您想贡献的条目,例如我想贡献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:

  • 本插件提供的API补全不再进行更新,请使用 lua-language-server 的 LLS智能识别支持库。
  • 如果您对本插件有任何建议,或者有想要的辅助mod开发的功能,可以向我提交issue或者加qq群@我. Gitee: https://gitee.com/b1inkie/lsp-dst

📝Todo:

🏡社区:

  • 插件Q群:

    • 饥荒mod制作交流及插件建议,贡献,问题反馈群(刚创的): 623398781
  • 其他推荐Q群:

    • 五年一班: 620984175
    • 龙飞群: 559477977 (入群口令 LongFei_Gamer)
    • 饥荒mod制作群: 557963863
  • 饥荒MOD订做可联系:

    • qq: 2827605205 (请附加 饥荒mod订做 信息)

🚩贡献者/Contributors

  • 创建者/Owner

    • lan
  • 协作/Collaborators

    • Runar
  • 其他贡献者/Others

    • 卡得粉丝
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft