#11218
Antnee
Member

Well that turned the outline for this particular file into the require and class statements only. No properties visible. No functions. It also seems like a very specific solution that will only work with this particular file. It doesn’t work across PHP itself.

I didn’t realise there was a “number of braces” option, which I’ve just tried. Much better. In fact, close to what I need. If only it would identify properties as well. Oh, and functions that aren’t “public”. The only ones that have shown up are public, so private and protected methods are missing from the outline.

Something more along the lines of:

s*?(class|function).*

for level 1 and

s*?(public|private|protected|const|var).*

for level 2. That gives a better result