Remove documentation popup in Xcode 3.2 - cocoa

When I alt(option) double-click a keyword in Xcode 3.2, I get the following popup:
alt text http://www.noggin.co.za/popup.png
I absolutely hate it. Is there a way to go back to searching the documentation (as in Xcode 3.0) rather than popping up this dialog?

Cmd+option double-click works for me.

This won't stop the pop-up from appearing, but you can click the book icon in its upper-right corner to move to the Documentation Viewer.

God I hate it too!!! I want it to just go back to the way it was, or at least let us choose!!! WTF Apple??? You're not really enhancing a developer's life if you force them to change for no apparent reason! If you wanted this new functionality, you make this have a NEW keyboard shortcut and leave the old ones alone!!!

Related

Xcode 11 Won't Open New Editor Pane

So Xcode 11 changed the way editor panes are added and removed. Ok, fine, I got used to it soon enough. But a few days after using the Xcode 11 GM build, the option to add an editor is suddenly disabled.
Could be a bug, could be a 'feature' that I've inadvertently triggered. Neither the menu, toolbar button nor shortcut (^⌘T) will give me another editor (though they all did with the same build yesterday).
Any ideas?
(Note: this screenshot has the Navigator pane hidden for simplicity. Its presence/absence doesn't help with this issue)
Ok, this is embarrassing. I was in a 'focus' mode and could only add editors after I had 'hidden focus'. There are a few ways to do this:
View > Editor > Hide Focus
Tap the 'arrows pointing at each other' icon in the top left of the editor toolbar
^⇧⌘↩︎
ps. I was seriously tempted to delete my question when I realised how dumb I'd been, but I'm leaving it up as I suspect this UI quirk might also trip up others (let me know if it does, it'll help me feel like less of a fool)

How do I build an Xcode shortcut for frequently used code snippet? [duplicate]

When I follow all the instructions (including apple's video) to drag text to create a code snippet in xcode, I get a different system behavior: all I see is the selection ibeam... I can't drag. It just ends up selecting text again. Am i missing some obvious Apple-ism?
Thanks
Yes, I ran into the same problem, and Apple-ism seems to be a good term for this issue :)
It works this way:
Select (or highlight) the code your want to turn into a snippet
EDIT: Click and hold (do not drag!) on any part of the selected text for a short moment (like 2 seconds, sometimes 8 seconds)
EDIT: The mouse cursor will change icon (not on El Capitan).
Now you can drag the code over the snippets library, where a green + icon will appear. EDIT: On El Capitan the green icon does not appear, but the frame of the code snippets window will become thinner.
This happened to me as well. The given solution didn't work but still needed to create snippets.
This is a workaround although not the best option, it works.
From Xcode, select the snippet window, and leave it selected.
Open a text editor app.
From Xcode, select and copy the code you want to use to create your snippet.
Paste it into your text editor and then select all of it.
Now drag&drop normally from the text editor into the snippets window in Xcode.
As said, not the best option but it works.
(Note for Xcode 8.1) Sometimes selecting the text and maintain the mouse button clicked for 3..8 seconds the cursor turns into an arrow and it's possible to D&D. Too bad it only works sometimes...
On High Sierra 10.13.3 and XCode 9 I faced the same problem. The decision that works for me is selecting code on a blank space before the first symbol and then dragging it to the snippets library.
Important: you need to drag only from the blank space (look at the screenshot below). Otherwise you will reselect your code again.
The cursor changes only when you start dragging, so don't be confused and don't wait until it changes.
I've run into this problem with Xcode 7.2 on Mac OS X 10.11.2 (El Capitan). Click and hold on the selection and the cursor never changes from the I-beam to the arrow for dragging.
Although MLBDG's answer is a usable workaround, I found that quitting and restarting Xcode fixed the problem. This might not work for everyone, but it's worth a try if you're having difficulty.
just highlight your text
copy in filter text field that u can see on your bottom of snippet library
paste the text
now select the text and drag from there to snippet library
The answer is really !undisobvious. You need to select a chunk of text. Then click on actual text characters, but without moving the mouse. Only then will the gods of XCode bequeath unto you a draggable snippet of code to do with as you please. Should you dare to miss the text and click in empty but selected space, the demons of XCode will strike down your selection and make you start from scratch. The unfortunate will not even realise this feature actually exists.
Hold option to duplicate it. For instance to make a duplicate case statement without destroying your copy buffer, then replace the case you cleverly have ready to paste during your search.
As a UI designer it is not obvious to me why this has such an unreliable twitchy implementation.

Cloud9 IDE Main Menu Bar (File, Edit, Run, etc.) stuck minimized?

I've seemed to minimize the Main Menu Bar (not the specific term), resting at the top, or ceiling, in the Cloud9 IDE. There's a small drop-down arrow located on the top-center and you'd think that would be indicative of bringing it back down or something, but I'm getting no functionality out of my numerous, calculated clicks.
I've tried to enlarging it no avail, refreshing the URL, copy command, etc. and to my very little knowledge, surprisingly, have had no success. I'm using ChromeOS, if to supply any more assistance. Any ideas? Thanks for reading if you got this far, I sure do appreciate it.
Click on the thin empty space right at the top of the window and the bar will re-appear.
The arrow in the top center of the screen should show the File menu again. Try opening up the IDE in an incognito window to make sure no browser extensions are interfering.
If this doesn't work, you may try appending ?reset=1 to your workspace URL. Be warned that this will reset all your workspace settings, such as themes, keybindings, etc. This should reset your workspace layout as well.
The answer above is correct. The mouse will change to a hand once you click right above the top line. Tricky one.

RStudio: can I pop out the source pane?

I have a dual monitor and I wish I can pop out the "source pane"(where I edit my code), so that I can edit the code in one monitor and track everything else in another.
Does anyone know if this is possible?
Thank you very much for your help.
This feature was just added to RStudio this week. You can try it in our daily builds (0.99.636 or newer):
https://dailies.rstudio.com/
To pop out your file to a new window, either:
Drag the tab outside the RStudio window to where you want your new code window to appear, or
Click the "Show in new window" button on the editor toolbar (it's next to forward/back)
If you try it, let us know what you think on the support forum.
I'm using the latest Studio and encountered similar needs. I found that ctrl+shift+number will suit my needs most of the time since it zooms to the pane that I desire and can also back to the full four window layout.
An additional trick is customize the hotkey to alt+number [1,2,3,4,5] so the pane zooms more handy with one click by your left hand on the keyboard.
Hope it helps.

Disable Quickhelp in Xcode 3.2

Since upgrading to Xcode 3.2, I miss the old style option + double click on a word to bring up the documentation within Xcode.
Now, I get the new 'quickhelp' menu, which isn't all that helpful, and just means that I need to click one more time to get to the documentation!
Is there an easy way to return Xcode back to its old ways? (I'm probably missing something in preferences!)
Holding Cmd + Option and double-clicking will take you directly to the definition of the symbol you clicked on in the docs. So you don't need to rewire the app if you can rewire your brain to just hold down one more key!

Resources