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

[folding] Preview folded content on hover #64721

Open
ColCh opened this issue Dec 10, 2018 · 1 comment
Open

[folding] Preview folded content on hover #64721

ColCh opened this issue Dec 10, 2018 · 1 comment
Assignees
Labels
editor-folding Editor code folding issues feature-request Request for new features or functionality
Milestone

Comments

@ColCh
Copy link
Contributor

ColCh commented Dec 10, 2018

Found no existing issues

It would be cool to preview folded content without actual unfolding it, using peek

For example, how it's done in WebStorm:

small gif

video: https://streamable.com/i8z3u

I think it should be in core. Or a plugin which distributes with vscode. What do you think?

refs for code:

css: https://github.com/Microsoft/vscode/blob/cb66c137e0279693a8fcea3ed481d1d2db7512c7/src/vs/editor/contrib/folding/folding.css

ts: https://github.com/Microsoft/vscode/blob/4e4e6f9b44dd9e6a53d1f08565c52b8ea9f61a5e/src/vs/editor/contrib/folding/foldingDecorations.ts

@vscodebot vscodebot bot added the editor-folding Editor code folding issues label Dec 10, 2018
@octref octref added the feature-request Request for new features or functionality label Dec 19, 2018
@octref octref added this to the Backlog milestone Dec 19, 2018
@aeschli aeschli changed the title Preview folded content on hover [folding] Preview folded content on hover Jan 4, 2019
@PEZ
Copy link
Contributor

PEZ commented Nov 16, 2019

This would be perfect for presenting folded data structures. Like I ask for here: #81313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-folding Editor code folding issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants