GDScript Formatter

GDScript Formatter 是一个快速的 GDScript 代码格式化工具,基于 Tree Sitter GDScript 解析器构建,用于 Godot 4 的 GDScript 代码格式化和风格检查。

WindowsMIT身份与来源已核实内容充分核实网盘镜像
查看下载方式

GDScript Formatter 软件介绍

内容充分核实

以下陈述按信息维度分区展示,每条陈述后紧邻列出支持该陈述的来源。

概览

  • GDScript Formatter 是一个快速的 GDScript 代码格式化工具,基于 Tree Sitter GDScript 解析器构建,用于 Godot 4 的 GDScript 代码格式化和风格检查。
    查看证据(1 条)
    GitHub README.mdA fast code formatter for Godot's GDScript programming language, built on top of the [Tree Sitter GDScript](https://github.com/PrestonKnopp/tree-sitter-gdscript) parser.

功能

  • 格式化 GDScript 文件,自动换行长行,代码风格检查,重新排序代码,原地格式化或输出到标准输出,检查文件是否已格式化,可配置空格与制表符,支持 EditorConfig 配置
    查看证据(8 条)
    GitHub README.md- Format GDScript files perceptually instantly (less than 1ms to a few ms per file on a mid-range laptop)
    GitHub README.md- Wrap long lines automatically with a configurable maximum line length
    GitHub README.md- Lint GDScript files for style and convention issues
    GitHub README.md- Reorder GDScript code to match the official GDScript style guide (variables at the top, then functions, etc.)
    GitHub README.md- Format code in place (overwrite the file) or print to the standard output
    GitHub README.md- Check if a file is formatted (for CI/build systems)
    GitHub README.md- Configure spaces vs tabs, indentation size, blank lines around definitions, and more
    GitHub README.md- Share formatting settings with your teammates with an `.editorconfig` file

平台

  • 支持 Windows、macOS 和 Linux 平台
    查看证据(1 条)
    GitHub README.mdYou can find binaries for Windows, macOS, and Linux in the [releases tab](https://github.com/GDQuest/GDScript-formatter/releases) of this repository.

安装

  • 可通过 GitHub releases 下载二进制文件,或通过包管理器安装
    查看证据(3 条)
    GitHub README.mdYou can find binaries for Windows, macOS, and Linux in the [releases tab](https://github.com/GDQuest/GDScript-formatter/releases) of this repository.
    GitHub README.md- **Arch Linux:** Community maintained AUR Package [gdscript-formatter-bin](https://aur.archlinux.org/packages/gdscript-formatter-bin).
    GitHub README.md- **Windows:** Community maintained Scoop package (`scoop install` [`extras/gdscript-formatter`](https://github.com/ScoopInstaller/Extras/blob/master/bucket/gdscript-formatter.json))

限制

  • GDScript 是复杂语言,可能存在边缘情况或不太常见的语法无法正确处理
    查看证据(1 条)
    GitHub README.mdEven though we use the formatter ourselves at work and it has a large test suite, GDScript is a complex language and there can always be edge cases or less common syntax that may not be handled correctly yet.

隐私

  • 该项不适用:该工具是本地运行的代码格式化工具,不涉及用户数据收集或隐私问题

维护

  • 该项不适用:证据中未提及维护状态信息

版本

  • 来源未找到相关信息:证据中未提及具体版本号

来源索引

GDScript Formatter 下载方式说明

进入下载页后,可使用手机扫描二维码打开网盘下载。

授权与下载策略

  • 授权协议:MIT
  • 是否开源:未核实
  • 下载策略:网盘镜像

同类软件推荐