AppCode 2016.2 Help

Auto Import

File | Settings | Editor | General | Auto Import for Windows and Linux
AppCode | Preferences | Editor | General | Auto Import for OS X
⌃⌥S
settings


XML

Show import pop-upAutomatically display an import pop-up dialog box when typing the name of an unbound namespace.

TypeScript

Show import pop-upAutomatically display import pop-up dialog box when typing the name of a symbol that lacks import statement.
Merge imports for symbols from the same module
Use paths relative to tsconfig.jsonWhen this check box is selected, AppCode calculates import paths using the tsconfig.json file as the root. When this check box is cleared, AppCode calculates import paths relative to the project root.

For example, if your project is structured as follows:

ws_ts_import_example.png

With the check box selected, AppCode generates the following import statement:

import {ClassName} from 'directory_2/file_2'

If the check box is cleared, the following import statement is generated:

import {ClassName} from '../directory_2/file_2'

Objective C

Show import pop-upAutomatically display import pop-up dialog box when typing a name of the class that lacks import statement.
Predeclare
Import

See Also

Last modified: 5 December 2016