Configure Eclipse to use VS.Net shortcuts?

2019-01-23 14:17发布

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.

2条回答
Lonely孤独者°
2楼-- · 2019-01-23 14:33

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

查看更多
Anthone
3楼-- · 2019-01-23 14:45

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

查看更多
登录 后发表回答