是否有第三方组件可以帮助追踪项目中delphi丢失的文件?
大多数时候,在具有中央存储库的项目中查找丢失的文件是非常愚蠢的。作为一名程序员,计算机可以比我更快地完成这件事。但是我不知道如何在Delphi ide中创建这个东西,因为我不知道Delphi用于这个东西的任何开源接口(例如eclipse插件)。
所以我问:是否有一个插件知道如何找到项目中丢失的文件,并向程序员提供建议,可以选择最正确的文件,或者手动查找丢失的文件?
更新:它还可以包括在从另一个单元调用对象之后识别需要添加到使用中的单元。
Most of the time finding missing file in project that has a central repository is very silly. It's something a computer could do much faster than me as a programmer. However I have no idea how to create this thing inside Delphi ide, since I don't know any open source interface for Delphi for this thing(such as eclipse plugins).
So I'm asking: is there a plugin that knows how to locate missing files in project, and give suggestions,to the programmer that can chose the most correct, or manually finding the missing file?
update: it could also include identifying the unit that needs to be added to the uses, after calling an object from another unit.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,有 - 至少对于您的更新中描述的部分:
来自另一个单元 查找单位...上下文菜单项可用于快速查找类型或符号的单位。右键单击带下划线的文本,然后选择“重构 |查找单位...”。对话框将显示包含未知类型或符号的所有单元,单击鼠标将所选单元添加到当前文件的使用列表中。它并不总是有效,但如果有效,则可以节省许多手动步骤。 (在此处找到)
Yes, there is - at least for the part described in your update:
The Refactoring | Find Unit ... context menu item can be used to quickly locate the unit for a type or symbol. Right-click on the wiggly-underlined text and choose “Refactoring | Find Unit…“. A dialog will present all unit(s) which contain the unknown type or symbol, and a mouse click adds the selected unit to the uses list of the current file. It does not work always but if it does, it saves many manual steps. (Found here)
Delphi 6 通过一些调整就能够做到这一点。请参阅http://edn.embarcadero.com/article/27913
Delphi 6 was able to do this with some tweaking. See http://edn.embarcadero.com/article/27913