[folding] show comment first line for folded sections
See original GitHub issueI think it could be really useful to change the multiline comment folding.
When you fold a comment like this (like above php function) :
/**
* Print person name on terminal
*
* @param person $p
* @return void
*/
You see this :
/** ...
In some editors like phpStorm or Eclipse, it’s folded like this :
* Print person name on terminal ...
That’s very more useful 😉
Is it possible to implement this kind of folding ?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:22
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Folding commented sections in Texstudio 2.6.6 - TeX
Once you've commented out the \section command, it is not recognized as such anymore and thus cannot be folded. However, you can insert...
Read more >Visual Code, Fold Comments - Stack Overflow
VS Code has a method of marking the start and end of a region that can be folded and expanded easily. And also...
Read more >Folding - Vim Tips Wiki - Fandom
Setting foldcolumn to at least the level of folds you want displayed will show a sidebar, in which you can see which lines...
Read more >C++ Code folding issues with trailing block comments
The fold for the 'for' loop consumes the first line of the trailing comment, but starts a fold for the remainder on the...
Read more >FOLDS & DIMENSIONS
Fold. 8 1/2 x 11 - Letter Fold - 3 panel. F-1-F. Cover. (Front Panel). 3 5/8. 1. 5. 6. Finished Job Size....
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
Language agnostic folding has been implemented, so this can be implemented as well now.
Is someone working on a PR? If not, I would like to try my hands on this. Will this be a good first issue for the repository?
@aeschli?