mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
extract method: do not include comments when they were not included in selection; leave assignment expressions untouched? (IDEA-72730 )
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
void bar(){}
|
||||
void foo() {
|
||||
<selection>bar();</selection>//some comment here
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class Test {
|
||||
void bar(){}
|
||||
void foo() {
|
||||
newMethod();//some comment here
|
||||
}
|
||||
|
||||
private void newMethod() {
|
||||
bar();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user