FOCUS - FunctiOn Calls and USage patterns

How to install the FOCUS Eclipse plugin

Requirements

Please follow these instructions to prepare for the installation:
  • Download and install Eclipse (https://www.eclipse.org/downloads/ and choose the JEE distribution)
  • Be sure to have JRE and JDK software on your machine
  • We did not provide a public installation of the server component. You can install the CROSSMINER platform by the docker configuration available at scava deployment GitHub repository

FOCUS Plugin Installation

There are the following steps:
  1. Go to Help->Install new software
  2. Choose Add and put this site in Location: Update site
  3. Check CROSSMINER Eclipse-based IDE and choose Next->Install
  4. Restart Eclipse
  5. Go to Window->Preferences->CROSSMINER->Remote settings and choose the following configuration:
    1. The IP where the CROSSMINER platform has been deployed
    2. The default port is 8080
    3. Skip the WebDashboard base path settings
    4. set the FOCUS timeouts to 900000
  6. After you select the code, you can do Right click->CROSSMINER->Request FOCUS Code Snippet recommendation and you got something like that: