Hirse / brackets-outline-list

Extension for Brackets and Phoenix to display a list of the functions or definitions in the currently opened document.
MIT License
79 stars 30 forks source link

Display error #26

Closed Sean-Wang closed 9 years ago

Sean-Wang commented 9 years ago

snip20150211_2 snip20150211_3

Node.js, queryPersonObjectID is not a function, but brackets-outline-list also display in left window.

Hirse commented 9 years ago

Yes, object.queryPersonObjectID is a function just as exports.deleteMaintenanceCompanyis. I agree that is doesn't really belong in the outline, but that can only be determined by the context, not by the syntax that the Regex uses to match function definitions.

Feel free to play around with the code of this extension. If you find a good solution, I would be happy to include it, but for me this is not something I am going to change.