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.
在最近的 Delphi 版本中,可以使用代码完成来一次对 case 语句中的所有情况进行编码,例如枚举类型。
但无论我尝试什么,我都无法让它发挥作用。我应该开始输入什么,然后使用什么热键?也许我错过了工具/选项设置,尽管我不怀疑,因为它是手动操作。
使用 Tab 退出 case 变量字段,如果您的变量是枚举类型,IDE 将自动完成 case 选项。
case