Rafael Bugajewski
Rafael Bugajewski

Reputation: 1712

How to immediately see Swift errors in AppCode?

Is there a way to immediately see Swift errors in AppCode? On their website they talk about static code analysis, but nowhere could I find a claim that this happens instantly. When you type some Swift code in Xcode you usually see warnings, errors etc. immediately. In AppCode I first have to make the build (⌘F9), then go through the list in the Messages Build view (which got way nicer in AppCode 2016.01 RC2):

AppCode 2016.01 RC2 Messages Build

I find this tedious, especially when you make some small typos that lead to syntax errors. They could be avoided upfront.

Upvotes: 15

Views: 3100

Answers (2)

Kyle Venn
Kyle Venn

Reputation: 8078

You can see all build errors in the "Messages" tab (on the bottom of the screen for me).

If you have a lot of warnings in your project, you can filter that tab to just show build errors with the filter button on the left. Set the filter to "Errors Only".

Filter Screenshot

Upvotes: 2

Stanislav Dombrovsky
Stanislav Dombrovsky

Reputation: 752

Currently this feature is not yet implemented for Swift and we are working on it right now. The most probably it will appear in the EAP for the next update.

UPD: implemented since AppCode 2016.2

UPD 2: if you still have such problem - since 2019.2 you can run Find Action | Run Swift IDE Report and attach to the ticket in our tracker. Most probably it's a specific problem and such report will help us to analyze this issue.

Upvotes: 10

Related Questions