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] collapse block comment shortcut #11524

Closed
jesperstarkar opened this issue Sep 4, 2016 · 5 comments
Closed

[folding] collapse block comment shortcut #11524

jesperstarkar opened this issue Sep 4, 2016 · 5 comments
Assignees
Labels
editor-folding Editor code folding issues feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@jesperstarkar
Copy link

When writing a lot of documentation pr. method, and for each variant when overloading methods, you end up with a tonne of green comment blocks and hardly readable code after a just a short while.

I would love a shortcut that collapses all multiline comments in the editor.

@dbaeumer dbaeumer added editor editor-folding Editor code folding issues labels Sep 4, 2016
@aeschli aeschli added the feature-request Request for new features or functionality label Sep 5, 2016
@aeschli aeschli added this to the Backlog milestone Sep 5, 2016
@aeschli aeschli changed the title Feature request: collapse block comment shortcut [folding] collapse block comment shortcut Sep 5, 2016
@surajreddy
Copy link

It would be great if large sections of comments can be folded. Atom supports this by default:

Before Folding

cancancan 2017-01-20 10-58-29

After Folding

cancancan 2017-01-20 10-59-02


This is for the file https://github.com/CanCanCommunity/cancancan/blob/develop/lib/cancan/controller_additions.rb

@ericrovtar
Copy link

I'd appreciate this feature as well. It'd be great for it to apply to all kinds of comments, like multiple line comments (// or #).

@Skatterbrainz
Copy link

Just add folding for <# ... #> and /* ... */ comment blocks would be very helpful

@AdamLeBlanc
Copy link

+1 +99 = +100. Would be extremely useful for working on projects littered with doc comments that make code hard to read.

@SheikhThingsUp
Copy link

It would be good to implement this as a generic feature where users can add/remove symbols to start/end of foldable region. This will allow for different commenting styles to be foldable, such as Perl POD like it is in vim.
screen shot 2017-09-28 at 08 42 26

@aeschli aeschli modified the milestones: Backlog, November 2017 Nov 22, 2017
@aeschli aeschli added the verification-needed Verification of issue is requested label Dec 5, 2017
@alexdima alexdima added the verified Verification succeeded label Dec 5, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-folding Editor code folding issues feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

9 participants