In eclipse, we can surround a piece of code with try / catch. I want to surround a piece of code with an if statement. Is there a shortcut key. Pressing Ctrl + 1 after selecting a code block did not give me a hint of the environment with If .
java eclipse
Muhammad Imran Tariq
source share