如何在 MonoDevelop 中启用右键单击(按住 Control 单击)上下文菜单?
右键单击(或按住 Control 键单击,因为我使用的是 Mac)不会调出解决方案或项目的上下文菜单。
例如,在 Visual Studio 中,我会右键单击解决方案以将新项目添加到解决方案中。我浏览了整个菜单,但找不到添加项目命令。
另外,如何将文件夹添加到项目中?同样,这可以从 VS 的右键菜单中找到,但我在 MonoDevelop 中找不到它。
按住 Control 键并单击在 MD 的任何部分都对我没有任何作用。即使在文本编辑器中也不行。是否有一个设置可以让它按照我期望的方式运行?
这些选项不应该也可以通过主菜单使用吗?
Right Click (or control-click since I'm on a Mac) doesn't bring up the context menus for Solution or Projects.
For instance, in Visual Studio I would right click on a Solution to add a new project to the solution. I've looked all through the menu and can't find the add project command.
Also, how do I add a folder to a project? Again, this would be available from the right-click menu in VS, but I can't find it anywhere in MonoDevelop.
Control-click doesn't do anything for me in any part of MD. Not even in the text editor. Is there a setting to get it to behave the way I'm expecting it to?
Shouldn't these options also be available via the main menu also?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
显然这是一个已知问题并且已得到修复。这是 gtk+ 库中的一个错误。不支持单按钮鼠标。
https://bugzilla.novell.com/show_bug.cgi?id=359734
https://bugzilla.gnome.org/show_bug.cgi?id=346609
仍然不确定为什么我现在在运行最新下载的 MonoDevelop 的 OSX 10.6.4 机器上看到这个错误。
插入两键鼠标是一个足够的解决方法。我可以右键单击并获取我正在寻找的上下文菜单。
Apparently this was a known issue and has been fixed. It was a bug in the gtk+ library. Single button mice weren't supported.
https://bugzilla.novell.com/show_bug.cgi?id=359734
https://bugzilla.gnome.org/show_bug.cgi?id=346609
Still not sure why I'm seeing this bug now on my OSX 10.6.4 machine running the latest download of MonoDevelop.
Plugging in a 2-button mouse is an adequate work-around. I can right click and get the context menus I was looking for.
这些功能正是您期望找到的位置,正是您所说的位置。解决方案上下文菜单包含“添加”>“添加新项目,项目上下文菜单中有“添加”>“新文件夹
我使用的是 MacBook,所以我可以使用旧的双指点击,而不是一直按住 CTRL+单击。不知道为什么 CTRL+Click 不适合您。
编辑:
按住 Control 键单击解决方案资源管理器中的任意位置似乎会弹出一个上下文相关的上下文菜单。选择解决方案时按住 Control 键单击会调出解决方案上下文菜单,如果选择了项目,则会调出项目上下文菜单。
These features are where you would expect to find them, exactly where you said. The solution context menu contains Add > Add new project and the project context menu has Add > New folder
I'm on a macbook so I get to use the old double-finger tap, rather than CTRL+Clicking all the time. Not sure why the CTRL+Click is not working for you.
EDIT:
Control-Click anywhere in the solution explorer seems to bring up a context-sensitive context menu. Control-Click whilst solution is selected brings up the solution context menu and if a project is selected, the project context menu.
Control + 单击不起作用,但用两根手指触摸即可在我的 Macbook Pro 上调出上下文菜单。检查系统偏好设置中的“触控板”设置,了解 Mac 上的辅助点击设置如何。
Control + click doesn't work but a two finger touch brings up the context menus on my Macbook Pro. Check your "Trackpad" settings in system preferences to see how you have secondary click setup on your mac.