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

Multiple code lines commented with Single-line comments can't be folded #860

Closed
lxhmavis opened this issue Mar 28, 2019 · 2 comments · Fixed by eclipse-jdtls/eclipse.jdt.ls#2797

Comments

@lxhmavis
Copy link

Environment
  • Operating System: Windows/Mac/Linux
  • JDK version:1.8.0/11.0.2/12
  • Visual Studio Code version:1.32.3
  • Java extension version:0.42.0
Steps To Reproduce

There are multiple code lines commented with Single-line comments “//”, they can't be folded.
image

Expected Result

It can be folded.

@fbricon
Copy link
Collaborator

fbricon commented Mar 28, 2019

I can see this is supported in ts files, but not for Java files at the moment, so not regression. This is an enhancement we can introduce later.

@yaohaizh
Copy link
Collaborator

Yes, target the fix for next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants