In xcode4 you there's a key combo to show standard editor and one to show the assistant editor, but is there any way to use just one key combo to toggle between them? Similar to using command+option+up-arrow to cycle between related files.
Yes, to toggle between the Standard and Assistant editors, use Cmd+Option+Return
To show Assistant Editor:
command shift Enter
To hide Assistant Editor (i.e. To show Standard Editor):
command Enter
[it thus hides the Assistant Editor]
Customize the "Move Focus To Next Area" key binding under Preferences. (This automatically customizes the "Move Focus to Previous Area" binding by adding Shift to your binding.)
I changed mine to Control + Tab to follow the behavior of tab switching in Safari, Chrome, etc.
Pressing Shift + Control + Tab to go back to the previous area feels awkward, but because it doesn't seem possible to customize "Move Focus to Previous Area" alone, there's no way to escape the Shift modifier.
For example, I would love to try this scheme:
Command + Control + ] // next
Command + Control + [ // previous
That would play nicely with Command + Control + {} for switching between tabs; your fingers are probably already on Command + Control as you get your window contents set up with the default forward/back/related bindings.
Related
Problem: On an MSAccess Form, a field is moused-over, the ControlTip Text appears. You want to take a screenshot of it to insert in a manual, etc. You hold down the Ctrl key + Print Screen and the ControlTip Text disappears.
Solution: Reverse the procedure.
Hold down the Print Screen key first, then hit Ctrl.
Actually, Ctrl + Print Screen is not a shortcut in Windows.
Print Screen captures the whole screen, without removing the tip text. Adding Ctrl doesn't change that.
Alt + Print Screen captures only the current window, but removes the tip text.
I'd recommend using the Snipping Tool.
Start Snipping Tool
Select the snip type (Window | Rectangular) and click New.
Hit Esc key.
Get the screen and tip on the display.
Press Ctrl+PrtScr now use the normal Snipping tool procedures to take your shot.
HTH
Hi Retired Geek & Andre
Perhaps I should retitle my entry:
"How to take a screenshot of an MSAccess ControlTip Text in Form View using the arcane method."
I tried just pressing "Print Screen" and that worked. Thanks
Jupyter notebooks have a convenient means to edit shortcuts - by pressing H for help there is a button for it:
And here is the dialog to make the updates:
The question here is: when pressing add shortcut we apparently have a free form text field to enter the shortcut:
But whatever combination I put in actually causes some _system_wide_ kind of behavior to kick-in e.g. Command-R causes Jupyter to do something wacky, and I tried a couple of others. Is there another way to enter these?
Have you tried clicking on that link: details of defining keyboard shortcuts?
That gives some general tips on creating new shortcuts.
Your example might not work because you would want to use "Cmd-R" instead of "Command-R". Though, in my operating system, "Cmd-r" already does something(reloads the page). So whatever combination or sequence you choose, I'd make sure it doesn't already do something before using it as a shortcut.
Once you type into the field, are you clicking the "+" button to the right? If you click on that, it should then show if it's been set, and you can verify it set it to what you wanted. If you don't click the "+" button, it will have no effect.
Good luck!
I tried ctrl- which was suggested somewhere online, but that makes the font smaller. (ctrl+ though does not undo that, so I had to restart LightTable to get back to normal).
Pressing ctrl enter I can manage to write and use "jump to definition", but obviously I will not be going through that every time....
If this should have helped, it is rather confusing what the period and comma here mean:
So do the built-in default keyboard shortcuts allow that, and how do they allow increasing font size?
Hit cmd/ctrl + enter
in the pane that this brought in: type "jump to" to see the command "jump to...", plus its keyboard shortcut. you can select the command from there but that would suck if it were the only way to invoke commands, so observer the keyboard binding you get there: (in the blue circles below)
notice that keys are separated by dashes in the display of the keyboard shortcut, so do not actually enter a dash because it is not part of the command and you will be doing crazy stuff if you assume otherwise
same thing for finding out how to zoom: enter "zoom" in that pane
unset you hair on fire
Courtesy of #rundis from the gitter channel...
I'm working on complicated system, which allows some values in grid to be calculated by formulas.
Right now I have textbox control above grid.
It works in this way:
When you start editing inside in-place editor and first symbol is '=' - focus is moved to that textbox control above.
At this moment grid is made readonly, and when user clicks on grid cells - coordinates of the clicked cell are passed to formula editor, so it can add links to formula. When you press Enter or Esc in text editor - formula is being written to underlying dataset and grid is made editable back.
The goal:
I want this too look more like Excel grid. Don't like focus to jump somewhere outside.
Is it possible to keep editor open and at the same time allow user to click anywhere on grid? So, all formula editing will be performed inside inplace editor?
Right now, there's no event to disallow closing editor. If I use 'ValidateEditor' event - it doesn't even allow to use scrollbars.
Is there a way to keep editor open and leave navigation working?
Seems I have found way round that myself.
I handle ValidatingEditorEvent, and if edit value starts with '=' I set boolean flag in my control. Also, I remember text before and after cursor position, and cell coordinates (FocusedRowHandle, FocusedColumn).
When I receive Click event, I get clicked cell coordinates and if boolean flag is set - I focus previous cell, activate editor and add what I need to inpalce editor.
Seems to work fine.
In the new Xcode 4 Documentation Organizer, I can't find the sidebar outline that lets you navigate through things such as class and instance methods, properties, etc for a given class. Where did it go?
What you can do in any document is left-click the rightmost item in the Jump Bar, i.e. the bar at the top. Move your mouse a little and the outline appears.
There is a keyboard shortcut to do this which you can customize: It's called Standard Editor > Show Document Items and defaults to CTRL-6.
This answer might be too late since the question is asked but hope someone can still get some benefit.
Here we go.
The "outline view" in xcode is actually called "Show Document Items" under menu "View -> Standard Editor"
and the keyboard shortcut is "Ctrl + 6" by default.
Another view you might be interested too is so called "Show Related Items" which also appears under menu "View -> Standard Editor" and it provides the option to see the callers and callees of any function you are viewing. Shortcut is "Ctrl + 1".
Personally, I find Ctrl + 6 is hard to press so I change the key bindings through menu "Xcode -> Preferences" and click "Key Bindings" tab. -- Everyone know this of cause :)
Have fun!!
I think that what pkananen refers to is the 'Navigator' sidebar, where you can see the 'eye', 'magnifier glass' and 'bookmarks' options in the jump bar.
If for any reason that sidebar is not showing, use "Editor > Show Navigator" option to bring it back to sight.