News for hackers. Stuff that matters.
Re:Sublime Text 3 Public Beta by richbradshaw on Friday June 28, 2013 @07:29AM (#5957348)
How does Goto Symbol work? Just tried it in a large PHP/JS/CSS type project but couldn't really work out what it does?
Re:Sublime Text 3 Public Beta by Narretz on Friday June 28, 2013 @07:40AM (#5957387)
It indexes classes and methods (symbols)in your project folders based on the syntax definition of the language in the file. You can then look up and search all symbols in your project, or Go to a symbol where your cursor is. It isn't "smart", so it doesn't know where you use which symbol, or which symbol is assigned to a variable. I haven't used it for mixed projects yet, so I can't say how it works there.
Re:Sublime Text 3 Public Beta by jeremyaarts on Friday June 28, 2013 @08:19AM (#5957526)
When you press Ctrl+Shift+R (Windows), it opens a panel similar to Goto Anything. You can then type the function, class or whatever and it will bring you right to it.

Also, when your cursor is on a word, and you press F12, it will bring you to the definition of the class or function. This also works with CSS classes and ID's from your HTML.