AppCode also supports React, Angular, Vue.js, and other frameworks and provides tight integration with various tools for web development.
AppCode integrates with Jest , Karma, Protractor , Cucumber , and Mocha testing frameworks. AppCode supports running and debugging tests as well as navigation between tests and subjects or between a failed test and the fragment of code that caused the problem.
Before you start
Optionally, configure the inspection severity and scope. Learn more from Code inspections.
Viewing parameter hints
Parameter hints show the names of parameters in methods and functions to make your code easier to read. By default, parameter hints are shown only for values that are literals or function expressions but not for named objects.
Configure parameter hints
Open the Preferences dialog ⌃⌥S and go to .
Select Parameter hints from the list, make sure the Show parameter hints checkbox is selected, and then specify the context where you want parameter hints shown.
For some methods and functions, AppCode does not show parameter hints in any context. Click Exclude list... to view these methods and functions, possibly enable parameter hints for them, or add new items to the list.
AppCode can generate import statements for modules, classes, components, and any other symbols that are exported. If you are using ES6 in your project, AppCode can add missing import statements on the fly, when you complete ES6 symbols.
Alternatively, press ⌥⏎ :
If there's more than one possible source of import, AppCode shows a list of suggestions:
To configure the appearance of
importstatements, open the Preferences dialog ⌃⌥S , go to , and use the controls in the Imports tab, see Imports tab for details.
Configuring syntax highlighting
In the Preferences dialog ⌃⌥S , go to .
Select the color scheme, accept the highlighting settings inherited from defaults or customize them as described in Configuring colors and fonts.
- Do one of the following:
Choosefrom the main menu or press ⌥F2 . Then select the desired browser from the list.
Hover your mouse pointer over the code to show the browser icons bar: Click the icon that indicates the desired browser.