如何立即查看AppCode中的Swift错误? [英] How to immediately see Swift errors in AppCode?

查看:198
本文介绍了如何立即查看AppCode中的Swift错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以立即查看AppCode中的Swift错误?在他们的网站上,他们谈论静态代码分析,但是我找不到在哪里声称这种情况会立即发生.当您在Xcode中键入一些Swift代码时,通常会立即看到警告,错误等.在AppCode中,我首先必须进行构建(⌘F9),然后在 Messages Build 视图中浏览列表(在AppCode 2016.01 RC2中变得更好):

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):

我觉得这很乏味,尤其是当您进行一些小的拼写错误导致语法错误时.可以避免它们.

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

推荐答案

当前此功能尚未为Swift实施,我们现在正在研究中.很有可能它将出现在EAP中以进行下一次更新.

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:自AppCode 2016.2开始实施

UPD: implemented since AppCode 2016.2

UPD 2:如果仍然存在此类问题-自2019.2起,您可以运行Find Action | Run Swift IDE Report并附加到

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.

这篇关于如何立即查看AppCode中的Swift错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆