Community
Participate
Working Groups
In this example: public void f(int i, int j, Vector v) { bla("foo"); String a= "aa<CURSOR>aa"; foo(a, 1); } 1) select string contents aaaa 2) select string token 3) expression 4) entire line 5) all lines 6) method body ...
would require creating an abstraction layer on top of AST nodes and make the selection computation work on that (it currently works on raw ASTs) it's an enhancement request
between step 4 and 5: 4.5) select lines up to an empty line
Depends on extended positions on ASTNodes.
Not for 3.0.
*** Bug 299573 has been marked as a duplicate of this bug. ***
In this example: public void f(int i, int j, Vector v) { bla("foo"); // Commenting this next section. String a= "aa<CURSOR>aa"; foo(a, 1); } 1) select string contents aaaa 2) select string token 3) expression 4) entire line 4a) entire paragraph 4b) entire paragraph including comment 5) all lines inside block 6) method body ...