Haoyu Qiu

Results 116 comments of Haoyu Qiu

@Mickeon `3.x` does not have Viewport related tests. Should I try to add them?

I think at least this should be done by Godot instead of asking users to call this method after dropping.

> For one reason, the name is too long, very annoying to type. Replacing the standard `:menuselection:` with a custom `:menu:` for this reason alone isn't worth it and can...

@lodetrick There is no such use case of inspector action button in the editor codebase.

Updated to use `TTRC()` for button text. The only exception is this one, I did not add `NOTIFICATION_TRANSLATION_CHANGED` because usually auto-translation won't take place for this property editor. https://github.com/godotengine/godot/blob/2cd3957524574cb2476f710aa5ebd8807011ac90/editor/plugins/font_config_plugin.cpp#L295-L303

@mrussogit Please don't bump without contributing significant new information. Use the 👍 reaction button on the first post instead.

I converted as much of the `get_tool_locale()` in the first case as possible to the actual locale. `TextServer` has a bunch of APIs that uses `get_tool_locale()` when an empty language...

Done. Changed to use `Node::AutoTranslateMode`, and `AUTO_TRANSLATE_MODE_INHERIT` means "the same as Tree".

我对这种做法有个疑问:对 `zls` 的配置是全局的,修改全局的 `build_on_save_step` 不就意味着你所编辑的所有 zig 项目(包括别人的项目)都必须要定义 `check` 步骤,否则就无法获取 diagnostics 吗?