Navigate to Symbol in XCode 8 - ide

In XCode 7 it was possible to navigate to symbol/object i.e. pressing
⌘ + ⇧ + O
And typing
didFinishLau...
Resulted in possibility to navigation to suitable method in AppDelegate file. Recently, after updating to XCode 8 I've found this option missing, is there any possibility to get it back?

In Xcode 8 when you select Edit -> Emoji & Symbols you get (I think by default) this smaller Special Chars tool.
To get access to the more familiar view with a search select the icon in the top right.
Xcode 8 Emoji & Symbols chart
Then you get the familiar one.
Symbol chart
Hope it's helpful to you.

Related

How to prevent Xcode 9 close bracket automatically when open bracket then type something

I've move to Xcode 9 for some days and it's has a little different with Xcode 8.
Whenever I open a square bracket for a function like [self addSubview:abc];
I notice that Xcode 9 auto insert close square bracket after I type [s. In Xcode 8 the bracket only really insert after press ;or use right arrow key or tab key.
It happened with brackets too, and it's a little bit annoyed.
Does Xcode 9 have a setting to turn it off?
There isn't really a way to stop it completely, but when it comes to Objective-C methods, you can disable it by going to Xcode > Preferences > Text Editing under "Editing" uncheck "Automatically insert closing braces("}")"
I hope this solves your problem

Missing Xcode 6 Docset

I notice upon receiving Xcode6-Beta 4 that there's no documentation.
I'm particularly interested in iOS 8 documentation.
How do I get iOS 8 documentation for both Xcode & Dash?
The documentation for Xcode 6 beta are in the package itself. Go to Xcode 6 in Finder, right click on it, 'Show Package Content', then go to Contents > Developer > Documentation > DocSets and double click the docset files to import them to Dash.

Proper tab correction of objective-c in xcode

In matlab if you highlight a section of code and press cmd+i on mac it corrects all the indentation.
Is there a similar command for xcode? Say I have a for loop inside a while loop inside a method, yet each line is flush on the left, can I highlight it all and get the tabbing fixed?
Yes, you can do that in Xcode as well - default shortcut for that is ctrl+I
It is control + i for Xcode.
Also select the code and right-click and Structure

Jump to next error FILE in Intellij [duplicate]

This question already has answers here:
Go to next compiler error across project in IntelliJ
(9 answers)
Closed 9 months ago.
I am looking for any way to navigate between errors in IntelliJ.
I know how to jump INSIDE one file. And I found a bunch of macros, editor extensions, etc. plugins to extend the functionality, but there seem to be nothing to help me in these scenarios:
I remove method from baseclass.
I hit rebuild, so nice, now 20 files have errors as expected.
Now I have to manually click either on the red error in the make info to open the file, or on the file in the project tree (marked red) to open the error file. Once inside the file its easy, F2, some ALT+ENTER, fixed.
So any way to jump TO NEXT ERROR FILE.
Or any way to navigate between (not open) files by keyboard. E.g. Open next file in tree structure, etc..
With IntelliJ 2017.2.2, F2 is mapped to "Next Highlighted Error" per default. Make sure to focus the Project editor first. Similarly Shift + F2 is mapped to "Previous Highlighted Error". The mappings mentioned in the other answers do not work.
I'm on WindowsXP, and I use Ctrl + Alt + ↓ to navigate through the messages in the Make window - does this do what you want?
One thing about that though, is that it is actually navigating though "messages" not just errors - so if you have a lot of warnings in your project, that could get in the way. I did just notice there's a "hide warnings" button though, so that could help.
On Mac it is: ⌥ + ⌘ + ↓ (or ↑ for previous)
(Found this in the documentation thanks to #Shorn's answer for Windows.)
If you switch to the Project Editor (Alt + 1) and then press F2 it jumps to the next file with an error.

Xcode 4.4 - Unable to add compiler flags to compile sources

In Xcode 4.4 it seems I am unable to add compiler flags to individual source files. I am trying to remove ARC from a single file but I can not get the pop up to add flags. Double clicking or selecting the item and pressing enter does not work, also tried selecting multiple and pushing enter which does not work. I have tried with two separate projects, one of which I created with Xcode 4.4. Is there another way to manually add compiler flags to a source file? (I do not have an older version of Xcode to see how it stores the value [likely in the pbxproj]).
Note: MacBook Pro w/ Retina Display - OSX 10.8
I found where the window was hiding. I had to drag Xcode pretty far down to the lower left corner of my screen as the pop up window was showing up and to the right. This made it completely hidden while full screen.
A bug report has been filed rdar://11970271