This is an automated email from the ASF dual-hosted git repository. jlahoda pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit 30d34e66e7ddbc212837eb6f05c27e6138e3cf76 Merge: 059bba1752 d371a8ca9a Author: Jan Lahoda <[email protected]> AuthorDate: Tue Oct 29 08:11:28 2024 +0100 Merge pull request #7750 from sid-srini/code_folding_if_else_vscode_bug Fix code-folding for LSP clients that support line-folding only .../server/protocol/TextDocumentServiceImpl.java | 82 +++++++++++- .../protocol/TextDocumentServiceImplTest.java | 142 +++++++++++++++++++++ 2 files changed, 222 insertions(+), 2 deletions(-) diff --cc java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java index 866a0825a4,c5bd8de4cd..7a5a5f40e4 --- a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java +++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/TextDocumentServiceImpl.java @@@ -39,15 -37,13 +39,16 @@@ import java.net.URI import java.net.URL; import java.time.Instant; import java.io.IOException; +import java.io.OutputStream; import java.io.PrintWriter; import java.io.StringWriter; +import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URISyntaxException; +import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; + import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
