Keyboard shorcut for documentation in xcode - objective-c

In Eclipse, if I set the caret above a method and write:
/** and click enter, there is an auto documentation of the method with the params that I can easily change.
Is there an equivalent way to do it in xocde?

There is no shortcut for that.
However you can create your own shortcut by using AppleScript.
Put documentation and comment them by selecting them and pressing cmd+/
You can find more info here : How to add custom keyboard shortcut to xcode targeting a script.
And for better documentation tool HeadDoc and AutoGSDoc.

Related

How to make IntelliJ display the Javadoc of autocompletion suggestions?

IntelliJ display Java code auto-completion suggestions in a drop-down menu after pressing CtrlSpace. All other IDEs manage to display the corresponding Javadoc if available. How to get IntelliJ to do that?
How to see JavaDoc in IntelliJ IDEA? refers to displaying it on a mouse hover event whereas I'm missing the Javadoc from code-completion suggestions.
Once you put a dot and the suggestions appear, press F1 (which is the default shortcut for "Quick Documentation" in most keymaps). The documentation for the currently selected method then appears as a card as show in the image. Then you can either use the up/down arrow keys or start typing the method name to select it. The documentation card will reflect accordingly.
You can also click on the pin icon on top right of the documentation card to expand it if required.

How could I get docs while typing a method in IntelliJ? Not after

Here is what happend in Eclipse. When I am typing a method, I could know the docs.
Invoke the quick documentation action. On mac it's F1 or CTRL+J. Look it up in settings -> keymap to find and/or assign keyboard shortcut for this action.
The details in the rectangular are shown after the action is invoked.
It's also possible to show the quick documentation when moving the mouse cursor on a method. If you want that, go to settings -> editor -> general and check the option Show quick documentation on mouse move and specify the delay you prefer.

Keyboard shortcut to switch between keybindings in Intellij

I'm a long time Emacs user who recently started developing with Intellij IDEA.
I've installed the Emacs+ plugin to get some keyboard shortcuts. However the experience is not optimal as some bindings clash with the ones from Intellij.
Is there a possibility the switch between bindings on the fly ?
Say I'm editing a Java file with Emacs+ bindings and I would like to go to the declaration of the method on the current cursor position:
With the keyboard shortcut available, here is the setup:
I would first switch to Intellij default bindings (using the shortcut in question) and then press Ctrl + B
Go back to Emacs+ bindings to continue editing
You can use View > Quick Switch Scheme ... to switch key mapping bindings.
Here are some screenshots showing this:

IntelliJ IDE (IDEA, PhpStorm, WebStorm): Shortcut for focusing Filter field in e.g. Change Log tool window

Is there a shortcut for focusing the Filter box in tool windows, specifically the Change Log?
See the attached screenshot to know which field I'm talking about. I searched the net and key map, but found nothing like that.
I have confirmed at Jetbrains that unfortunately it's not possible yet: http://devnet.jetbrains.com/message/5520523#5520523
Just start typing with the focus inside the tool window. IDEA invokes the search automatically. To select the item, press Enter. To cancel, press Esc.
This feature is called Tool Window Speed Search.

What is the IntelliJ shortcut key to create a javadoc comment?

In Eclipse, I can press Alt+Shift+J and get a javadoc comment automatically generated with fields, returns, or whatever would be applicable for that specific javadoc comment. I'm assuming that IntelliJ IDEA has this feature. Can anyone tell me if there is a keyboard shortcut for this?
Typing /** + then pressing Enter above a method signature will create Javadoc stubs for you.
You can use the action 'Fix doc comment'. It doesn't have a default shortcut, but you can assign the Alt+Shift+J shortcut to it in the Keymap, because this shortcut isn't used for anything else.
By default, you can also press Ctrl+Shift+A two times and begin typing Fix doc comment in order to find the action.
Shortcut Alt+Enter shows intention actions where you can choose "Add Javadoc".