views:

80

answers:

1

Can I select a block of code and have IntelliJ wrap it with a "try...catch" ?

Is there a keyboard shortcut?

+3  A: 

I believe you highlight the code and press Ctrl-Alt-T.

I like to check the Productivity Guide under the Help menu from time to time. Not only does it tell me all the shortcuts, but it keeps track of how many times I've used each one and when I last used it. I can see how well I'm leveraging the shortcuts.

duffymo

related questions