Skip to content
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

[NETBEANS-4368] Fix test file navigation dialog #2155

Merged
merged 1 commit into from Jun 12, 2020

Conversation

KacerCZ
Copy link
Contributor

@KacerCZ KacerCZ commented May 23, 2020

Fixes resizing of test file selection when navigating to test file.
Files are sorted by path.

Before:
before

After:
after

Fixes resizing of test file selection when navigating to test file.
Files are sorted by path.
@KacerCZ
Copy link
Contributor Author

KacerCZ commented May 24, 2020

@junichi11 @tmysik Please review.

@tmysik
Copy link
Member

tmysik commented May 25, 2020

Relevant NetBeans issue here.

@@ -54,6 +55,14 @@
private static final Logger LOGGER = Logger.getLogger(GoToTest.class.getName());
private static final RequestProcessor RP = new RequestProcessor(GoToTest.class.getName(), 2);

private static class FileObjectComparator implements Comparator<FileObject> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note: I usually put the inner classes at the very end of the class (usually below //~ Inner classes comment). No need to change it in this PR, I just think it makes the code more readable (main class and then inner classes, not mixed).

Copy link
Member

@tmysik tmysik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@tmysik
Copy link
Member

tmysik commented May 25, 2020

@KacerCZ

Thanks for the PR!

@junichi11 junichi11 self-requested a review May 25, 2020 12:18
@junichi11 junichi11 added the PHP [ci] enable extra PHP tests (php/php.editor) label May 25, 2020
@junichi11 junichi11 added this to the 12.1 milestone May 25, 2020
@junichi11
Copy link
Member

@KacerCZ Please attach screenshots(before and after) if possible. Thanks for your contribution.

@KacerCZ
Copy link
Contributor Author

KacerCZ commented May 25, 2020

@junichi11 I added screenshots to first comment.

Copy link
Member

@junichi11 junichi11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@tmysik
Copy link
Member

tmysik commented May 26, 2020

@junichi11

So, can we merge it?

@junichi11
Copy link
Member

@tmysik No. NetBeans 12.0 has not been released yet. I'll let you know when we can do that :)

@tmysik
Copy link
Member

tmysik commented May 26, 2020

@junichi11 OKOK, merging will be on you :)

@junichi11 junichi11 merged commit 3e41cd0 into apache:master Jun 12, 2020
@KacerCZ KacerCZ deleted the netbeans-4368 branch June 12, 2020 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PHP [ci] enable extra PHP tests (php/php.editor)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants