You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class Test3 {
public void myMain() {
int j = 5;
throwStuff();
}
private void throwStuff() throws Exception {
throw new Exception("BLAH");
}
}
Note the horrific formatting, random spacing, etc.
I then used ctrl+. on the call inside myMain() to throwStuff(), and only a throws Exception was added to the myMain signature.
Seems to work as expected. The rest of my garbage formatting remained unchanged.
Activity
robstryker commentedon Oct 29, 2026
Created file as such:
Note the horrific formatting, random spacing, etc.
I then used
ctrl+.on the call insidemyMain()tothrowStuff(), and only athrows Exceptionwas added to themyMainsignature.Seems to work as expected. The rest of my garbage formatting remained unchanged.