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

Enable folding of code blocks #53

Closed
tscheburaschka opened this issue Apr 12, 2019 · 2 comments
Closed

Enable folding of code blocks #53

tscheburaschka opened this issue Apr 12, 2019 · 2 comments
Milestone

Comments

@tscheburaschka
Copy link

Feature request

Like in other language styles, it would be very useful to be able to fold code blocks (if-else, classdef, try-catch, switch etc).

@kornilova203 kornilova203 added this to the v0.6 milestone Apr 13, 2019
@kornilova203
Copy link
Owner

We need to implement class MatlabFoldingBuilder extends CustomFoldingBuilder
And register it in plugin.xml like this: <lang.foldingBuilder language="Matlab" implementationClass="..."/>
Example can be found in XmlCodeFoldingBuilder

Screenshot 2020-07-01 at 14 26 01

@kornilova203
Copy link
Owner

Closed by #63

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

No branches or pull requests

2 participants