What's the shortcut to navigator in XCode 4.5? - xcode4.5

I'm thinking what's the shortcut to to this ? I don't know the exact name to this in XCode. thus I can't bind my key shortcut

It's "Show Document Items".
Use CTRL + 6 keyboard shortcut.
Under "Key Bindings" is listed as "Standard Editor > Show Documented Items"
or from menu: "View" -> "Standard Editor" -> "Show Documented Items".

Related

Cannot set key shortcut on GNAT Studio

I am using the GNAT Studio Community 2020 (20200427) on Windows10.
I want to set a key shortcut for the "Goto declaration or body" action.
I select in the Edit > Preferences... > Key Shortcuts menu, then select "Goto declaration or body",
click on the "Add" button,
type the shortcut (say for example Ctrl+:),
then close the Preferences window.
This result is that the key shortcut does not work, although it is added to ~/.gnatstudio/keys.xml.
Did I miss something ?
Did someone have the same issue ?

Keyboard shortcut select the clicked word

In Brackets, is it possible to assign a keyboard shortcut to CTRL + LMB that selects the clicked word, just like Visual Studio does? I can't find anything in the documentation.
Overriding the click behavior would require writing an extension, but there are several built-in equivalents that might be good enough for you:
Press Ctrl-B to select the word the cursor is on (you can easily change the shortcut but it has to be triggered by the keyboard, not the mouse)
Double-click to select the word
In your preferences file, add "highlightMatches": {"showToken": true} to highlight all occurrences of any word you place your cursor on (no need to select it)

Shortcut to close Notepad++'s console

How can I close the Notepad++'s console through hot key?
If I press F3 in the console window, the bottom section pops up. But having the "Hide toggled Console" box checked does not seem to be doing anything.
Thank you for your help.
You can use the key combination CTRL+` (the symbol to the left of the 1 on US keyboards) to toggle console window (i.e., show / hide). You can also click the "Show Console" button on the toolbar, shown below.
Goto Macro > Modify Shortcut/Delete macro
and
You can set your own shortcut key for Show Console

"Find Selected Text in Workspace..." disabled in Xcode 4 context menu

This has been bugging me for a while. In Xcode 4, sometimes this menu item is enabled, sometimes it is disabled. I cannot figure out why it is ever disabled, and there seems to be nothing at all on Google about this.
I have this same problem. If I click on the "Show assistant editor" button (the middle button in the list of Editor buttons located in the upper-right hand corner) and then back again to "Standard Editor" (the left-most button in the list of Editor buttons) then the "Find selected text in workspace..." function is enabled. But I have to do this often, but only in the projects I created before Xcode 4. So I think some setting in the project was not created properly when Xcode 4 converted it over.
I have found if you just right click on the word, without selecting it prior, then the menu selection will be enabled. This seems to be more prevalent in xCode 4.4.1. I have also noticed that when you select other words will "trigger" the menu to enable also. Hope this helps.

Where did the outline view go in Xcode 4 Documentation viewer?

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.

Resources