0

enter image description here

I want to know how to enable the area with red.

I found this post: Use Xcode's Test Classes Assistant Editor with Swift Classes

A file with a base name of FooTest or FooTests is now considered a counterpart of a file with a base name of Foo for navigation and the Assistant Editor. (28981734)

I tried, one file named Formula.swift, the other on in Test Projects named FormulaTests.swift, but not worked, do not show in assistant editor auto.

How to enable Test Classes/Called in Assistant Editor of Xcode quickly? Left is source code, right is unit test, that is what I want.

4

1 回答 1

0

我目前的方法是先打开单元测试文件,然后按住ctrl+option+command然后点击鼠标中的类,类会在助手编辑器的右侧窗口中打开,虽然有点远,但是OK。

我正在寻找一条捷径。

于 2019-08-19T03:34:14.337 回答