Xcode 4.4: how to disable quick help in code completion window? - xcode

Code completion itself is a good thing, but by 99.9% of time I don't need the new quick help view which was added to it in new Xcode, it only clutters the workspace and (the worst) make the code completion view to be less responsive.
Does anyone know how to turn off quick help view inside code completion view?
I've looked in Xcode's Preferences window and in Xcode's preferences file (com.apple.dt.Xcode.plist), but searching for "completion" or "quickhelp" or just "help" didn't give any results.

Preferences > Text Editing > Uncheck "Suggest completions while typing."

Related

Intellisense window is way too small

For some reason, I got this very tiny Intellisense window. It's so tiny that I can't get any help from what type a certain property needs, etc. Any way to solve this problem?
You can try to re-initialize the autocomplete suggestion to fix the window's dimensions issue:
Un-check XCode > Preferences > Text Editing > Editing > Suggest completions while typing
Restart XCode
Enable Suggest completions while typing

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 to disable block selection in IntelliJ macOS

I am working with Intellj IDE, but I found one thing really annoying.
I am using macOS and Magic Mouse, when I try to select part of the code it often instead of selecting code tries to move block of code like that
This thing is really annoying and happens very often, so I wonder how to disable this "useful" feature ? And left only simple selection without block movement.
Thanks
Disable the following checkbox: Settings > General > Editor > Enable Drag'n'Drop functionality in the editor

Xcode 4 - simultaneous viewing of Project Navigator and Debug Navigator and other Navigators

In Xcode 4 (4.2), is there a way to keep the Project Navigator view open and Debug Navigator view open as well. Must a user have one or the other, but not both? And the other navigators?
Apple seems to have decided that if you want to see the debug view, you don't want to see the files in your project. WTH? Am I getting this wrong? Did Apple Xcode UI guys even talk to developers before designing the UI for Xcode 4?
Sigh...
You can indeed have more navigators open at once, if you are prepared to have multiple windows open. I know it's not exactly what you're asking for, but for multiple display setups it's very handy. Xcode provides "behaviors" to help automate this process if you only want certain things showing at certain times.
For example, a common pattern that developers follow is to setup a behavior for "Run starts" that opens up a new window setup for debugging. Start by creating a new tab in your main Xcode window by pressing command-T, and double-click on the tab's title to rename is "Debug", or whatever you like. Then drag that window out (or leave it as a tab if you like), and customise the view as required - for example, for a deb window you might have the Debug area showing at the bottom (or even covering the whole editor view), and remove the toolbar at the top by right clicking and selecting "Hide Toolbar".
Next, go to "Xcode > Behaviors > Edit Behaviors..." and choose "Run starts" in the left panel. Check the box for "Show tab" and enter the name of your newly created tab. You can also ask that tab to automatically show the Debug Navigator, and show the debugger with variables and/or console view. If you like, you can then choose "Run completes" and show the original "tab" (window), which I've setup to be called "Coding", and show the required navigator (in my case, Project Navigator).
On successfully running, Xcode will now open up your new window (or bring it to the front if it's already open) with all the settings you left it with. On stopping, your main editor will be brought back to the front.
There are loads of useful behaviors, so I would really recommend looking through them and taking the time to setup Xcode to suit your style as best as possible. All software dictates to the user how to go about doing things, and the developers can never please everybody when they decide to change the UI. The best anybody can hope to achieve is to customise the interface as best as they can to fit their style of working. If it's still an issue for you, you can either adapt to it, or, if possible, move to something else.
I'm not a fan of every new interface feature in Xcode, but I've "made it mine" with some customisations and I can still be very productive. That being said there are a lot of things that I do really like about it, and for that I can forgive it for some of the less friendly features - after all, you can't please every user.

How to view IOS documentation using Xcode?

Is there a shortcut i can use to display or search Obj-C API?
Say, i'd like to learn more about what IBAction does, i wonder if i can mouse over it and view documentation. Is there a way this can be enabled? A side bar possibly?
Please advise
Option-click a class name and a window will pop up with a description. Click the book icon and the help window will open to that class. Command click to view the h file.
Not that I know off, but you may see the source code at any time, and that has plenty of documentation on the comments.
Command + click on it, then click Show Quick Help
Also there's a keyboard shortcut for opening general documentation list.
Command + Shift +0 (Zero)
In Xcode 4, the Organizer window has a documentation section which can be accessed from the Right sidebar (Quick Help, which is part of the button group to enable the bottom bar (GDB by default) as well as the left sidebar (Class tree/etc) ) of the main Xcode window whenever you click on basically anything in the code (if its a custom method/variable it only tells you where it is defined). However, if it is something like IBAction it will pop up a brief definition as well as a link to open the previously mentioned organizer to the appropriate documentation page.
Within the Quick Help information, click Open in Developer Documentation to access Xcode documentation, which includes more thorough explanations and references to related functions.
You can also access Developer Documentation window from the Xcode Help menu.
Another option is by using the keyboard shortcut Command+Shift+0.

Resources