I just started using Sublime Text (2), and it’s great, especially Ctrl+P – Goto Anything.
The goto symbol (@) seems to work well for Python, but no symbols show up for C or C++. For instance, with this C file – code.google.com/p/inih/source/browse/trunk/ini.c – loaded, if I press Ctrl+P then @, nothing shows up. Word match (#) works fine, but @ shows nothing for C/C++.
Is this a bug with the regexes in the C/C++ packages, or something I’m doing wrong?
Also, the symbol matcher in Python picks up new-style or inherited classes fine, but not bare old-style classes like:
[code]class Editor: # Edit symbol won’t be picked up
def save(): # save will, however
…
class NewEditor(object): # But this will be picked up
…
[/code]
If I replace “meta.class.old-style.python” in the Python.tmLanguage file with just “meta.class.python”, then it works. Is this a bug or a feature?
Thanks!