有没有办法在 PyDev 中将鼠标悬停在 (+) 上时关闭折叠项目的预览?
我指的是这种行为:
(Windows 在屏幕截图中不包括鼠标光标,我我在这里徘徊在最上面的 (+) 上。)
我发现这在某些情况下非常烦人,尤其是对于较大的方法。
在 Window->Preferences->PyDev->Editor->Hover 中,我将两个复选框都留空。
I am referring to this behaviour:
(Windows doesn't include the mouse cursor in the screen shot, I'm hovered on the uppermost (+) here.)
I find this incredibly annoying in some cases, especially with larger methods.
In Window->Preferences->PyDev->Editor->Hover
, I have both checkboxes blank.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前这是不可能的......
现在,如果有人决定提供补丁,下面是执行此操作所需的内容(在获取 PyDev 后:http://pydev.org/developers.html )
在 org.python.pydev.editor.hover.PyHoverPreferencesPage 中创建一个首选项,并为投影自定义悬停控件创建器... IE: org.python.pydev.editor.codefolding.PyEditProjection.createPartControl(Composite) 处的 fProjectionSupport.setHoverControlCreator()
That's not currently possible...
Now, in case someone decides to provide a patch, below is what would be involved in doing it ( after getting PyDev: http://pydev.org/developers.html )
Create a preference for that in org.python.pydev.editor.hover.PyHoverPreferencesPage and customize the hover control creator for the projection... i.e.: fProjectionSupport.setHoverControlCreator() at org.python.pydev.editor.codefolding.PyEditProjection.createPartControl(Composite)