Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Collabse procedure and functions #10

Closed
rugk opened this issue Oct 4, 2015 · 3 comments
Closed

Collabse procedure and functions #10

rugk opened this issue Oct 4, 2015 · 3 comments
Assignees

Comments

@rugk
Copy link

rugk commented Oct 4, 2015

It would be good if you could collapse whole functions and procedures.

@alefragnani alefragnani self-assigned this Oct 5, 2015
@alefragnani
Copy link
Owner

That's something that I also wanted, but never looked how to change it.

I see foldingStartMarker and foldingStopMarker in grammar definition, but doesn't appear to be used. For instance, C# has #region / #endregion defined, but the folding doesn't work.

I will take a look and see if it is something supported in Atom (since the grammars are converted from TextMate). I will let you know.

@alefragnani
Copy link
Owner

It seems that folding is based on identation, not in grammar definition. Look at this issue.

I will keep an eye on that issue and when it is released, I will update the language to support it as well.

@alefragnani
Copy link
Owner

I'm closing this issue since nothing has changed in Atom side in more than an year. Neither a milestone has been defined yet.
I'm subscribing that issue so if something changes, I'll be notified and could reopen this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants