-
Notifications
You must be signed in to change notification settings - Fork 95
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
[Bug] [Folding mechanism] Method declaration on the Same Line as the Closing Bracket #1539
Open
Comments
This was referenced Jul 26, 2024
This PR #1939 should fix it. |
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 15, 2025
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 17, 2025
If the second method starts in the same line the first one ends then there will still be 2 foldings. Fixes eclipse-jdt#1539
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 17, 2025
If the second method starts in the same line the first one ends then there will still be 2 foldings. Fixes eclipse-jdt#1539
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 17, 2025
If the second method starts in the same line the first one ends then there will still be 2 foldings. Fixes eclipse-jdt#1539
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 17, 2025
If the second method starts in the same line the first one ends then there will still be 2 foldings. Fixes eclipse-jdt#1539
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 17, 2025
If the second method starts in the same line the first one ends then there will still be 2 foldings. Fixes eclipse-jdt#1539
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 17, 2025
If the second method starts in the same line the first one ends then there will still be 2 foldings. Fixes eclipse-jdt#1539
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 17, 2025
If the second method starts in the same line the first one ends then there will still be 2 foldings. Fixes eclipse-jdt#1539
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 17, 2025
If the second method starts in the same line the first one ends then there will still be 2 foldings. Fixes eclipse-jdt#1539
jakub-suliga
added a commit
to jakub-suliga/eclipse.jdt.ui
that referenced
this issue
Jan 17, 2025
If the second method starts in the same line the first one ends then there will still be 2 foldings. Fixes eclipse-jdt#1539
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a method starts on the same line as the closing bracket of the previous method, the folding mechanism does not work correctly. The method declaration disappears along with the closing bracket. Ideally, only the closing bracket should disappear, not the method declaration.
Before the folding:
After the folding the first method:
How it should be:
The code in the example:
The text was updated successfully, but these errors were encountered: