Configure Eclipse to use VS.Net shortcuts?

人走茶凉 提交于 2019-11-27 15:53:38

问题


I've started doing some Python Programming using Eclipse. However, I'm a .Net programmer and I'm use to the keyboard shortcuts in VS.Net 2008. Is there any quick way to reconfigure VS.Net to use the visual studio shortcuts. I've found this other question, but the suggested methods don't work. I've installed CDT and selected the Visual Studio Keys, but it doesn't seem to change any of the key mappings.


回答1:


That's strange because after installing the C/C++ Development Tools (CDT):

alt text http://img39.imageshack.us/img39/4002/screenshot001ey.png

And picking up the Microsoft Visual Studio scheme (from Windows > Preferences > General > Keys):

alt text http://img64.imageshack.us/img64/9844/screenshot002r.png

My binding are definitely altered as shown below (ok it's just a small example but it illustrates the change and all bindings mentioned by @VonC are there):

alt text http://img4.imageshack.us/img4/1401/screenshot002gd.png




回答2:


If the CDT Visual Studio mapping does not work, you need to import custom shortcut files for the usual Visual Studio shortcuts.

This SO question mentions this article, with this minimal set:

  • New PHP File: Ctrl+N

  • Next Editor: Ctrl+Tab

  • Previous Editor: Ctrl+Shift+Tab

  • Find and Replace: Ctrl+F

  • Find Next: F3

  • Find Previous: Shift+F3

  • Open Search Dialog: Ctrl+H

  • New File: Ctrl+N

  • Go to line: Ctrl+G

  • File.Close: Ctrl+W



来源:https://stackoverflow.com/questions/2213205/configure-eclipse-to-use-vs-net-shortcuts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!