-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5485 apply workspace edit #5955
5485 apply workspace edit #5955
Conversation
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
0bb0b3c
to
e9826c3
Compare
ci-build |
Build # 3322 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/3322/ to view the results. |
@tsmaeder build is failing with
|
|
||
private File createTempIoFile(VirtualFile parent, String prefix, String suffix) throws IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't use parameters prefix
and suffix
- may be makes sense to remove them.
e9826c3
to
2ddb668
Compare
ci-build |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/3403/ |
|
||
private void writeAndCount(int ch, Consumer<Integer> dest) { | ||
dest.accept(ch); | ||
if (ch == '\r') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we avoid empty block?
return new Supplier<Integer>() { | ||
@Override | ||
public Integer get() { | ||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
basically ok for me, except a lot of formatting issues
@Override | ||
public void accept(Integer ch) { | ||
try { | ||
w.write(ch); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting issue
}; | ||
} | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new line
public class PositionComparator implements Comparator<Position> { | ||
|
||
@Override | ||
public int compare(Position o1, Position o2) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting issue
@tsmaeder When do you plan merge it? |
2ddb668
to
383a769
Compare
@vparfonov I was asking on the Eclipse Che Mattermost if we need additional review, since I've done some small changes. |
Signed-off-by: Thomas Mäder <tmader@redhat.com>
383a769
to
2ddd8fa
Compare
Signed-off-by: Thomas Mäder <tmader@redhat.com>
a783052
to
7ab9023
Compare
ci-build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, we will run nightly test with your branch
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/3564/ |
@vparfonov : As a maintainer, you have to ensure the PRs are merged with appropriate labels and milestone. Thanks |
What does this PR do?
Adds a "ApplyWorkspaceEditAction" that applies a LSP WorkspaceEdit to many files both open in and editor or not.
What issues does this PR fix or reference?
#5485
Changelog
Added "ApplyWorkspaceEditAction" to allow LSP code actions to edit multiple files at once.
Release Notes
Added "ApplyWorkspaceEditAction" to allow LSP code actions to edit multiple files at once.
Docs PR
eclipse-che/che-docs#271