Sublime Forum

Minimizing functions bug

#1

Syntax: PHP
Build: 2181

I haven’t really needed to shrink/minimize functions before with the arrows in the gutter, but noticed that it’s not detecting some functions that I create.


I’ve tried manually re-writing some… copying and pasting… All my functions are working, no php errors. Am I missing something or is this just a bug?

Thank you.

0 Likes

#2

The code folding triangles ( |> ) don’t show up unless the function is more than one line. You can still fold the function from the keybinding, though.

0 Likes

#3

That would make a lot of sense! lol… Thank you for the quick response.

What would the shortcut be by chance?

0 Likes

#4

Edit > Code Folding shows the folding options and there shortcuts

0 Likes