Switch between deep and shallow press Watch Simulator - ios-simulator

I'm in trouble because in Xcode 7 Apple as introduce the ability to switch between deep and shallow press on the Apple Watch Simulator but the shortcut is also use to change the scale. I was wondering if someone know how to change shortcuts or have another solution.
Thank you

You can use the following shortcuts.
Shallow Press: Shift + cmd + 1
Deep Press: Shift + cmd + 2
The shortcuts to change scale is the following.
cmd + 1
cmd + 2

Related

Jupyter Multi-line Cursor with Mac

Does anyone know if this is possible to do on a mac?
http://swanintelligence.com/multi-cursor-in-jupyter.html
It looks like they are highlighting the entire text block and then getting multi-line cursors. I try doing this with option + mouse selection and then cmd + mouse click but it doesn't work.
this is pretty cool. here's how I did it
option(alt) + mouse selection
then, instead of cmd + click try cmd + "right key"
this should multi-select all the ending rows
*option(alt) + "right key" instead of cmd + click seems to work as well, along with cmd + "right key"

Is there a shortcut for deleting a line in Jupyter's edit mode?

In Jupyter's edit mode, is there a shortcut for deleting a line of text? Something like Ctrl + L in Visual Studio?
Shift + Delete or Ctrl + D or both, depending on version.
Ctrl + D is listed under Help → Keyboard Shortcuts in the notebook menu, but Shift + Delete seems to work despite being undocumented.
As for Jupyter notebook servion version 6.0.2 the command Ctrl + D works for me. This shortcut is listed in the shortcut documentation, that can be found under Help → Keyboard Shortcuts.
If you want to edit the shortcuts you can do this here: Help → Edit Keyboard Shortcuts
On Mac, use Cmd + D, instead of Ctrl + D.

Split Screen in Atom Editor

Is there a way (plugin or something) to use split screen in the Atom Editor?
I've looked inside the menus, but I can't find any related options.
Using the command palette
Open the command palette with cmd + shift + p (OSX) or ctrl + shift + p (Linux/Windows) and type "split". You'll see options for Up, Down, Left, and Right split.
Using keyboard shortcuts
Split the current tab in a direction with the following shortcuts
Up       cmd / ctrl + k then ↑
Down  cmd / ctrl + k then ↓
Left     cmd / ctrl + k then ←
Right   cmd / ctrl + k then →
You can close an active split pane with cmd / ctrl + k then cmd / ctrl + w.
Move between panes
If you want to move between open panes (with the keyboard) you have to modify your keymap file. Go to Atom -> Open Your Keymap and include this:
'body':
'cmd-alt left': 'window:focus-pane-on-left'
'cmd-alt right': 'window:focus-pane-on-right'
'cmd-alt up': 'window:focus-pane-above'
'cmd-alt down': 'window:focus-pane-below'
'cmd-alt-2': 'pane:split-right'
'cmd-alt-3': 'pane:split-down'
This is my personal setup. I was used to Sublime's default cmd + alt + arrow. Change the left side commands to your personal preference.
Note
You need to press cmd-alt once, release, and then press the arrow button. Otherwise it won't work.
I found this at Split Windows - issue #64:
It seems like Atom already has support for splitting windows (cmd-k + arrow key)
Right click anywhere on an open file, select "split left"
If it duplicates a file, "x" it out.
Result:
I have created a beginners cheat sheet for Atom that lists some introductory notes and keyboard shortcut commands etc. Its on github #
https://github.com/pd-gmit/atom-cheatsheet/blob/master/atom_cheatsheet.md
You could always just right click anywhere on the file and the split options are available in the context menu.

LightTable: How to format code?

How do you format code in the LightTable IDE? I'm talking about the equivalent of Ctrl + Shift + F in Eclipse.
You can do this by holding CTRL + SPACE and then searching for "Smart Indent".
Light table does not have all the features of a full IDE yet, the main feature it has is live editing

Does Xcode 4 have keyboard shortcuts for Replace & Find Next / Previous?

Does XCode 4 have keyboard shortcut for the two menu options: Edit > Find > Replace and Find Next / Previous?
If not, (1) why not, (2) how do I create them, and (3) which key combinations do you recommend for the shortcuts?
As for Find & Replace, they are provided by default now (version 4.2.1):
Find & Replace: Cmd + Option + F
Find & Replace in Workspace: Cmd + Option + Shift + F
As for Find next/Find previous, you should be able to use standard Cmd-G and Cmd-Shift-G Mac shortcuts.
But the keyboard shortcut for Edit > Find > Replace doesn't seem to be provided by default. However, you can set up one if you go to XCode 4 Preferences (Cmd-,) and then click Key Bindings. There are options available for Replace, Replace All as well as Replace and Find Next.
You can do that by
Find & Replace: Cmd + Option + F
Find & Replace(in Workspace): Cmd + Option + Shift + F.
Also you can change this control as per your preference by following these steps:
1. Xcode > Preferences
2. Select Key Bindings
3. Search for command you want to replace and then add a suitable combination.
Refer to the attached Image.
Hope it helps. All the best

Resources