mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
add field to enum: ensure correct position after comment (IDEA-131820)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// "Create Field for Parameter 'p1'" "true"
|
||||
|
||||
enum Test{
|
||||
A;//comment
|
||||
|
||||
private int myP1;
|
||||
|
||||
void f(int p1){
|
||||
myP1 = p1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Create Field for Parameter 'p1'" "true"
|
||||
|
||||
enum Test{
|
||||
A;//comment
|
||||
|
||||
void f(int p<caret>1){
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user