views:

266

answers:

1

I'm trying to work in Eclipse as much as possible without a mouse. I cannot find a key binding for starting and stopping servers quickly in Eclipse WTP (Web Tools Platform).

One way to start a server is to switch to the package explorer (Alt+Cmd+Q P), select the project (up/down arrows) and then the "debug on server"-key binding (Shift+Alt+D R on the Mac). But this requires way too many steps.

+1  A: 

While I don't perform the same steps as you to run my projects, I have created custom key-bindings to navigate around the eclipse environment. If you go to Eclipse Preferences > General > Keys, you will be able to map the majority of tasks to key-bindings that make the most sense to you.

One process you could perhaps follow is this:

  1. Open package explorer via shortcut
  2. Perform a 'Collapse All' on the tree (reduce vertical navigation in step 3)
  3. Up/Down to your project
  4. Run shift-alt-D, R to Debug on your server

If you have 'Link with Editor' turned on, when you go to edit a file again your tree will expand based on the context of your work.

rynmrtn
I described this method in the question and think that it requires so many steps that I rather use my mouse.
D. Wroblewski