Help with FoldingRange.collapsedText
See original GitHub issueI’m trying to use https://github.com/microsoft/vscode-languageserver-node/pull/910.
I have set startCharacter to 0 and collapsedText to the full collapsed text that I want displayed, but the editor still chooses the first line as the collapsed text. Am I doing something wrong or is this feature not supported on the clilent side yet?
VSCode version
Version: 1.71.0-insider (user setup)
Commit: 35b971c92d210face8c446a1c6f1e470ad2bcb54
Date: 2022-08-26T05:19:46.020Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.22622
Sandboxed: Yes
NPM package versions
vscode-languageserver-textdocument@1.0.7
vscode-languageserver@8.0.2
vscode-languageclient@8.0.2
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Collapse or expand parts of a document - Microsoft Support
Click the triangle to collapse the body text and subheadings below it. Collapsible heading. Tip: If you're working on a touch device, tap...
Read more >Video: Collapsible headings - Microsoft Support
Training: Collapsed headings (headers) become something like a table of contents, allowing you to quickly browse through the document with body text out...
Read more >[folding] custom folding text for folded ranges (#70794) - GitHub
[folding] custom folding text for folded ranges #70794 ... property that would be displayed when the folding range wass collapsed.
Read more >How do I collapse an arbitrary selection of code in Visual ...
Run code snippet. Hide results. Expand snippet ... Create Manual Folding Range from Selection editor.createFoldingRangeFromSelection.
Read more >Basic Editing in Visual Studio Code
This topic takes you through the basics of the editor and helps you get moving with your code. ... Expand the Search widget...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK. I will close this issue then since there is nothing I can do in LSP to address this.
https://github.com/microsoft/vscode/issues/70794 is the issue.