Repository navigation
fix(compiler): skip directories marked with .gdignore - #38
Merged
moluopro merged 1 commit intoNov 17, 2026
Merged
Conversation
Contributor
|
谢谢! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #37.
TypeScript 编译器在检查编译缓存之前会遍历项目目录。现在发现目录包含
.gdignore时,会跳过该目录及其子目录,避免每次加载 TypeScript 脚本都重复扫描参考文件。已构建并验证 macOS arm64 编辑器扩展。在 Godot 4.7.2 上使用同一项目和约 20,000 个参考文件,从加载屏到游戏就绪由 88.6 秒降到 10.8 秒。