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

[JVSC-249] Fix code folding in VS Code due to line-only folding limitation #304

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

sid-srini
Copy link
Member

Added the backport of the Netbeans PR apache/netbeans#7750 patch which allows supporting LSP clients which have line-only folding support.

Closes #249

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 26, 2024
@sid-srini sid-srini added this to the JVSC 23.0.1 milestone Oct 26, 2024
Achal1607
Achal1607 previously approved these changes Oct 28, 2024
Copy link
Member

@Achal1607 Achal1607 left a comment

Choose a reason for hiding this comment

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

We can add tests afterwards no issue. LGTM Thanks!

…ation

Added the backport of the Netbeans PR apache/netbeans#7750 patch which allows supporting LSP clients
which have line-only folding support.
- This is the case of VS Code as referenced in microsoft/vscode#50840.

Closes oracle#249

Signed-off-by: Siddharth Srinivasan <[email protected]>
@sid-srini
Copy link
Member Author

sid-srini commented Oct 28, 2024

We can add tests afterwards no issue. LGTM Thanks!

Thanks. I will try adding the integration test in the .ts testsuite for this in a separate PR.

Copy link
Member

@Achal1607 Achal1607 left a comment

Choose a reason for hiding this comment

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

Thanks for resolving merge conflicts. LGTM

@Achal1607 Achal1607 merged commit c6ecb29 into oracle:main Oct 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If-else statement code folding is misleading without showing else
2 participants