AppCode 2018.1 Help

Auto Import


XML

Show import popupAutomatically display an import popup dialog box when typing the name of an unbound namespace.

TypeScript/JavaScript

Add ES6 imports automatically

Auto import in ES6 works only when the ECMAScript 6 language level is chosen on the JavaScript page (AppCode | Preferences | Languages and Frameworks | JavaScript).

  • If this checkbox is selected, AppCode automatically inserts an import statement in JavaScript code when you complete a symbol exported using ES6 exports in another project file:
  • When the checkbox is cleared, on pressing ⌥⏎ AppCode shows a pop-up that suggests to import the completed symbol:
    ws es6 autoimport off
  • Completion and auto import also work for React components, including stateless components. AppCode properly detects them, provides code completion, and adds import statements automatically:
Add TypeScript imports automatically
  • If this checkbox is selected, AppCode automatically inserts an import statement in TypeScript code when you complete a symbol exported in another project file.
  • When the checkbox is cleared, on pressing ⌥⏎ AppCode shows a pop-up that suggests to import the completed symbol.

Objective C

Show import popupAutomatically display import popup dialog box when typing a name of the class that lacks import statement.
Predeclare
Import
Last modified: 29 March 2018