Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 c# 中有一种叫做区域的东西,它可以用于构建代码。我想知道 Google Dart 是否有类似的东西?
//#region Test //#endregion
这适用于 Android Studio 和 IntelliJ。
Dart 不支持将区域作为语言规范的一部分。但是,许多 IDE 工具使用格式化注释提供此功能。请参阅下面的答案,将 Android Studio 和 IntelliJ 确定为两个这样的示例。