Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 2.15 KB

File metadata and controls

36 lines (26 loc) · 2.15 KB

Configuring and using the {ProductShortName} analyzer RPC binary in your system

The {ProductFullName} Visual Studio Code extension consists of an analyzer RPC binary that runs an analysis.

When you install the {ProductShortName} Visual Studio Code extension, the extension downloads the analyzer RPC binary of the latest version from the Red Hat Developer portal.

In a restricted network environment where the {ProductShortName} extension cannot access the link to download the analyzer RPC binary, you can download the binary in your system and configure its path in the Visual Studio Code extension.

Prerequisites
  • You installed the Java Development Kit (JDK). {ProductShortName} supports the following JDKs:

    • Oracle JDK 17 or later

    • Eclipse Temurin™ JDK 17 or later

    • OpenJDK 17 or later

  • You have 8 GB of RAM available.

  • For macOS installation, you have the value of maxproc set to 2048 or greater.

Procedure
  1. Download the {ProductShortName} {ProductVersion} analyzer RPC from Red Hat Developer portal to your system.

  2. Access the {ProductShortName} extension settings in either of the following ways:

    1. Click Extensions > MTA Extension for VSCode > Settings.

    2. Type Preferences: Open User Settings (JSON) in the Command Palette to open the settings.json file.

  3. Configure the analyzer RPC binary path for the extension in one of the following ways:

    1. Enter the analyzer RPC binary path in the Analyzer Path field in the {ProductShortName} extension settings.

    2. Configure the path to the local analyzer RPC binary in the mta-vscode-extension.analyzerPath field in the settings.json file.

    3. Type {ProductShortName}: Override Analyzer Binary in the Command Palette to select the analyzer binary in your system.

  4. Reload the Visual Studio Code window by typing Developer: Reload Window in the Command Palette.

  5. Open the extension analysis view by typing MTA: Open Analysis View in the Command Palette.

  6. Click Start to use the analyzer RPC binary to perform an analysis.