eclipse-platform / .github

Common contribution content for eclipse-platform repositories
https://www.eclipse.org/eclipse/
5 stars 10 forks source link

Eclipse 2022-03 Window -> Preferences -> Java -> Appearance : Compress all package name segments not compressing packages #5

Closed jonmichaelpeedin closed 2 years ago

jonmichaelpeedin commented 2 years ago

Upon recently upgrading to 2022-03 I have noticed that the "Compress all package name segments, except the final segment" is not compressing the packages in my project. I have attempted to use the compression pattern '.', '0', and '1' with no success.

I also attempted to use the "Abbreviate package names" and that was not doing anything to the package names that I specified either.

E2022-03_CompressPackageIssue

lshanmug commented 2 years ago

Can you please specify the version where it was working for you earlier?

Looks like the issue belongs to JDT(UI), can someone please move it there?

jonmichaelpeedin commented 2 years ago

The previous version I was using was 2020_12 where it worked as expected

iloveeclipse commented 2 years ago

I believe it's known WTP or lombok issue, can't find it in bugzilla now. Should be fixed already, but not in any stable release yet.

mickaelistria commented 2 years ago

I think it is https://bugs.eclipse.org/bugs/show_bug.cgi?id=579170

mickaelistria commented 2 years ago

Please try the latest Eclipse SDK builds from download.eclipse.org/eclipse/ and report whether you can reproduce this issue or not.

jonmichaelpeedin commented 2 years ago

The version I was referring to in my OP was the latest stable release of 2022-03 where it was an issue. I have even tried the latest Integration Build (https://download.eclipse.org/eclipse/downloads/drops4/I20220501-1800/) where it was still an issue.

mickaelistria commented 2 years ago

2022-03 is more than Eclipse Platform and some other projects can cause bugs. However, if you can reproduce the issue with https://download.eclipse.org/eclipse/downloads/drops4/I20220501-1800/ , then it's indeed a bug and thanks for confirming it. The project that takes care of providing those package is https://github.com/eclipse-jdt . Can you please report the issue to https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/ as we cannot transfter issues between projects from different owners/orgs ?

jonmichaelpeedin commented 2 years ago

Update to my previous statement: I deleted the .project file for my project and it displayed properly, however when i converted it back to a faceted project the issue comes back. Please see attached screenshots

E2022-03_CompressPackageIssue_1

E2022-03_CompressPackageIssue_2

E2022-03_CompressPackageIssue_3

E2022-03_CompressPackageIssue_4