I have an import statement that doesn't import anything that's used in the 
class.

I press F2 to jump to the line so I can delete it.

The cursor appears at the beginning of the extraneous import statement, but 
when I press Shift-DownArrow to select the line, the selection begins at 
the end of the line and continues to the next line.

For example:

package com.mycompany;

import java.text.MessageFormat;
import java.lang.System;
import java.util.*;

import com.mycompany.package1.*;
import com.mycompany.package2.*;
import com.mycompany.unusedpackage3.*;
import com.mycompany.package4.*;

public class SomeClass
{
[]
}

( "[]" is the cursor )

Press F2, the cursor appears on the line as follows
[]import com.mycompany.unusedpackage3.*;

Press Shift-DownArrow, the selection appears after the semi-colon, and ends 
at the next line.


Galt Johnson 


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to