Don't Starve Together

Don't Starve Together

62 ratings
DST API Complete Extension For VSCode
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
34.175 KB
12 Sep, 2024 @ 7:36am
28 Sep, 2024 @ 9:34am
3 Change Notes ( view )

Subscribe to download
DST API Complete Extension For VSCode

Description
Don't Starve Together API Complete Extension For VSCode





🎮插件下载/Extension Download

- 在 **`VSCode`** 的 **`插件市场`** 中搜索关键字 **`dst-lan`** 即可找到并安装本插件。
- To find and install this Extension, search keyword **`dst-lan`** in the **`VSCode Extension Marketplace`**.

- 不再支持 `1.73.0` 以下版本的 `VSCode`
- No longer supports `VSCode` versions below `1.73.0`

👁‍🗨版本兼容性/Version Compatibility

- 同步 "Don't Starve Together" 版本 `619045` 。
- Synchronized with "Don't Starve Together" version `619045` .

🗼注释项目地址/Comment Project URL

- Git: https://github.com/b1inkie/dst-api

📖help

- 安装插件后,直接键入`help`,点击提示框中的`help`补全的右尖括号,将可以看到详细信息:
- After installing the plugin, type `help` and click the right angle bracket for `help` in the prompt box to see detailed information:



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

😎成为贡献者/Become a Contributor

💖lan的话:/tips from lan:

- 注释模板的语法已修改成`lua`,方便大家补充.
- The syntax of the comment template has been modified to `lua` for easier contribution.


- 当然,如果您有任何形式的注释文档(尽量有一定格式的,最好能用`正则`处理的),也可以直接丢给我,我会加以处理并整合到插件中,我会在`贡献者`中附上 **`您的名字`**
- Of course, if you have any form of comment documentation (preferably with a certain format, ideally processable with `regex`), you can also send it to me. I will process and integrate it into the plugin, and I will include **`your name`** in the `Contributors` list.

🧮目录结构/Directory Structure

中文:

scripts_cn
├── components-组件
│ └── ...-所有组件
├── system_components-系统组件
│ ├── AnimState-动画
│ ├── Transform-形态
│ ├── Physics-物理
│ └── SoundEmitter-音效
├── constant-常量
├── entityscript-实体方法
├── global_fn_maybe-可能的全局方法
├── method_custom-找不到归宿的方法
├── tags-标签
├── var_name_components-组件名翻译
├── var_name_dst-饥荒词汇翻译
└── var_name_custom-自定义词汇


English:

scripts_en
├── components-Component
│ └── ...-All Components
├── system_components-System Components
│ ├── AnimState-Animation
│ ├── Transform-Transform
│ ├── Physics-Physics
│ └── SoundEmitter-Sound
├── constant-Constant
├── entityscript-Inst Method
├── global_fn_maybe-Possible GLOBAL Methods
├── method_custom-Can not find the parent
├── tags-Tag
├── var_name_components-Component Name Translate
├── var_name_dst-DST Vocabulary Translate
└── var_name_custom-Custom Vocabulary

🎈如何贡献/How to Contribute

- `scripts_cn` 下放着所有要注释的文件,写好后, `pull request` 即可.
- All files to be commented are placed under `scripts_en`. After you have written the comments, submit a `pull request`.

- 🪁注目: 由于 `scripts_en` 是从 `scripts_cn` 拷贝过来的, 所以包含了大量中文,如果您发现了中文部分,您可以删除,也可以修改为英文. 相反的,如果 `scripts_cn` 中您发现了大量英语内容,也可以将其翻译成中文.
- 🪁Note: Since `scripts_en` is copied from `scripts_cn`, it contains a lot of Chinese text. If you find any Chinese content, you can delete it or translate it into English. Conversely, if you find a lot of English content in `scripts_cn` , you can translate it into Chinese.

💡格式/Format

- ignore

🎬补全预览:/Completion Preview:





🥢切换到中文/🍴Switch To English

`ctrl + shift + p` -> `dst-lan: toggle language`
切换语言后,请务必点击重启/After switching the language, please make sure to click Restart.



## ✨Extra:

- Lua 语法高亮/Lua Syntax Highlighting:

- 自动生成注释模板/Comment Template:

- 写不下了
Popular Discussions View All (1)
2
26 Sep, 2024 @ 8:01am
有建议吗?any ideas?
✪knilb
19 Comments
Dihran 13 Apr @ 8:36pm 
All the good mods are in chinese, that's so sad =(
tab960562 26 Sep, 2024 @ 1:33pm 
谢谢,这方便好多。
Mr船蛸 26 Sep, 2024 @ 3:49am 
期待idea
先瞄准,再空枪 25 Sep, 2024 @ 9:06am 
你是好人。这个可以有vim/neovim 适配吗
Ling 25 Sep, 2024 @ 12:00am 
great
吃橙子不吐橙子皮 22 Sep, 2024 @ 3:15pm 
你是好人
Jonloo 22 Sep, 2024 @ 8:17am 
fantastic work, i hope we can see an english version somewhere soon
󰀒ziwbi󰀒 22 Sep, 2024 @ 3:16am 
你是好人 我跟着你
Rasp 21 Sep, 2024 @ 4:44pm 
Not in English, but still a massive W, fam.
都歌i 21 Sep, 2024 @ 7:39am 
强强强