There are a few enhancements Iâd like to see in Goto Symbol.
Firstly, it works great right now in CSS files, since it looks at all selectors, and includes comments.
I think the same should work in other languages, notably HTML, for which it doesnât look at classes, only at IDs, which isnât as good.
It should also add comments in other languages, like Python, etc.
Secondly, it would help a lot if it would show which functions belong to which object. For example, hitting ctrl+r in a JS file will show a flat listing of all functions, which is often very confusing.
In Python files, on the other hand, methods belonging to a class will have an indent, which shows they belong.
Iâd like the same to happen with Javascript, since âmock objectsâ are often made there (i.e. this.myFunc = function()âŚ).
The easiest solution would just be to inherit the padding that the row has in the original file. This would work great for HTML files as well, since youâll be able to see all the relationships between elements.
Whaddya guys think?