Xcode fix-it shortcut - xcode7

I am wondering is there any shortcut or hotkey that can apply the fix-it suggestion from Xcode? (Xcode 7)
In Android Studio, we can just use ctrl+enter to apply the correction. Is there anything similar to that in Xcode? some ref:
https://swifteducation.github.io/assets/pdfs/XcodeKeyboardShortcuts.pdf

I am aware of two shortcuts.
Ctrl + Cmd + ' - auto fix next error
Ctrl + Cmd + " - auto fix prev error
Enjoy!

In Xcode 8, this appears to now be
⌃⌥⌘F or
Ctrl + Alt + Cmd + F
If you want to change it, go to Xcode > Preference > Key Bindings and search for Fix all in scope.

control - option - command - f
⌃ ⌥ ⌘ f
Then
⌘ enter
To get out of split view.

Here are the default key bindings for XCode 8

Xcode fix issue
Unlike Android Studio where you can apply a fix to a single issue, the Xcode are able to fix all issues at time via Editor -> Fix All Issues

Related

Chrome ctrl comma and ctrl period no longer able to traverse call frame?

This stopped working recently, what happened? Is there a way I can configure it so that it would work?
Edit: So I verified with the following, apparently CTRL + , still works as traverse up, but not CTRL + .
This is across multiple installations I use so it is in the latest chrome on all my Mac OS machines.
(function a() {
return function b() {
debugger;
}
})()()
Edit
It appears Chrome recently (Apr 2019) fixed this issue.
One thing that you can check is that if Ctrl+. and Ctrl+, is not mapped in operating system command shortcuts because it will take precedence over chrome shortcuts/shortkeys

Sublime Text 2 - Jump to a specific word

I am using Sublime Text and use the Cmd+F search tool very often. However everytime I use it, it highlight the word I am looking work and I then have to click on it to start typing there.
What is the shortcut to directly jump to the word I am looking for?
Many thanks
I'm assuming that as you said CMD + F rather than CTRL + F you are using the OSX version of Sublime Text.
The Windows / Linux shortcut for Goto word in current file is CTRL + ;
But if you look at the corresponding list for OSX shortcuts that one is missing.
(I am currently on a Windows machine so I can't test the lack of an OSX shortcut)

Split selection into lines in PHPStorm

In Sublime I was quite fond of the "Split selection into lines" shortcut (super+shift+l). However I cannot find an equivalent of that in PHP Storm 8, I've found a "Split into lines" function in the Edit menu but feeding it either \n or \r doesn't seem to work. Does that function exist in PS ?
By default on PHPStorm 10+, you can toggle the Column Selection Mode with:
CMD + SHIFT + 8
Of course, you can configure any stroke you like. I like to keep the original one and add the one that matches Sublime which is CMD + SHIFT + L. Here is how:
Another option would be to use column selection mode:
https://stackoverflow.com/a/30031481/672989
There is a "Split Selection into Lines" action in the Extra Actions plugin.
Compatible with: Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio
If I have a 200 line selection I don't want to have to create a cursor at the end of every line.
You do not have to "create a cursor at the end of every line" -- just create cursor on the beginning of each line (on Windows it would be Alt+Mouse drag Down/Up) and then just press End button. This is not that straightforward as separate dedicated action .. but still does the same job and pretty easy to execute.
In any case: there is no such exact action currently available in PhpStorm, unfortunately.
Please follow this ticket (star/vote/comment) to get notified on progress: http://youtrack.jetbrains.com/issue/IDEA-122181

in MySQL Command Line, how do I paste from the clipboard using only the keyboard?

Hi I'm learning MySQL using MySQL Workbench Command Line Client v 5.6 in Windows 7.
I type my commands into a text editor, then from the text edtor I copy them onto the clipboard. To paste them into the Command Line Client (CLC) I must right click with the mouse and go to "paste" in the context menu.
I would like to forgo the mouse entirely. But in the CLC, none of the Windows keyboard shortcuts seem to work. CTRL+V for example produces "^v" while SHIFT+INSERT does nothing.
Is there a keyboard shortcut for "paste"?
Although this question is clearly not a programming question this a way you can do this.
First you start by selecting the window with the command line. This can be done by alt + tab. Then when the command line windows is active you can paste the content of your clipboard with: alt + space Then go trough the menu with e and then p. The letters will dependent on the language from your windows OS.
If you are using Win 10, you can turn on CTRL + C and CTRL + V shortcuts to work in the command prompt:
If anyone else was trying to paste the password directly into the MySQL "Enter password" prompt, use ctrl+shift+v instead of ctrl+v

Sublime Text 2 - No 'install' option for plugins

After pressing Press Shift + Command + P to bring up the text input, when I type “install” nothing is actually returned in the list of options.
I believe that when I type "install" this should bring up the something similar to a “Package Control: Install Package” option
I cannot install plugins due to this, and was hoping for some help.
Package Control must be separate installed first. Instructions are here:
http://wbond.net/sublime_packages/package_control/installation