how to show method / function list in Textmate - macos

I am working on a Lua file. I have some methods in it. I wanted to know if its possible to configure Textmate to show the list of methods inside a file and a way to quickly reach the first line of a method by choosing a method from that list. I do have Lua and Corona specific Textmate bundle installed for syntax highlighting Lua and Corona APIs.

what a bummer. Found the answer. Its in the bottom pane of Textmate window. Next to tab size.

A quick shortcut would be to ⇧⌘T or go to Navigate -> Go to Symbol.

Related

Automatically fetch links with Sublime Text?

This is kind of a random question, but in Textmate, there was a really nice feature. You could highlight a URL, press a keyboard shortcut, and it would automatically create for you.
I just searched tirelessly for about a half hour trying to find a similar package that would do it, but I can't seem to think of what search term to even look for. Anyone know off the top of their head a package that does this? I really loved that feature; it would hit the other website, grab the title attribute, and drop it in for you.
Any advice would be much appreciated!
I don't think you can do that easily with standard sublime abilities. But I've found a package that is inspired by Textmate and it's called HyperlinkHelper.
Simply install via PackageControl, restart sublime and you are ready to go. The default keyboard shortcut for generating a hyperlink out of the current selection is STRG+ALT+L. Tested it in sublime 2 and works perfectly.

"Edit in Emacs..." input manager for OSX

Is there anything like the input manager for TextMate (at the very end of the page) which allows to edit from any Cocoa text edit controls in TextMate? It basically installs a menu "Edit in TextMate...". I tried to search for it, but I have not find anything. I think it would be very nice to have such a feature.
Thanks.
I haven't tried it (I keep meaning to), but QuickCursor is supposed to do that (for any editor, not just Emacs).
As noted in the comment, this requires ODB support, for which EditorClient can be used.
Aquamacs just added ODB support. You should be able to try it in a nightly build.
I don't know of one, but it should be fairly straightforward to hack one. You'd simply want to call emacslient with the path.

Is there a quick way to see (not jump to) the definition / type of a symbol in Xcode?

I know about cmd-double-click, and use it all the time, it's great. But is there an easy way to make Xcode simply tell me the type of a symbol in a popup or similar without having to jump away from my current position in code?
option+click should get you there for standard documentation.
For user symbols, not sure. You could command+option+click to open the definition in an Assistant editor, in Xcode 4+.

How can I make auto-complete display a list in Xcode

How can I use auto-complete in Xcode like I can in Visual Studio and Eclipse? Specifically in VS and Eclipse auto-complete displays a list of choices... while Xcode just displays a single choice.
For example Xcode might suggest "myVariable" when I type in "myV". That's fine but what if I have the following objects in the scope of my function: "myInt1" and "myInt2"? Xcode will suggest "myInt1" when I type "myI" but I'd like to have a list. Or it would be great to, say, tab through the various possibilities like in some shells. So typing "myI" would get the suggestions "myInt1" and then pressing tab would change the suggestion to "myInt2".
Cheers!
Press the escape key when auto-complete makes the first suggestion. This will display the list.
control + space also works in the latest Xcode.

How can I jump from one placeholder to the next in Xcode autocompletion?

When Xcode autocompletes an method for me, it gives me blue blocks for parameters. I always go into the first, but then I click into all next ones rather than fast going there by keyboard commands. I guess that there are some good ones to know.
The default is Command-/, but you can customize that in the key bindings section of XCode's settings window.
In Xcode 3.2 (Snow Leopard), you can also use the Tab key to navigate between parameters. Personally, I find this more intuitive than Command-/.

Resources