vFunction Logo

In this page, we will build the OMS application and setup VS Code, so we can use GenAI to fix TODO items in the next page.

Build the OMS App and Open VS Code

  1. Open Windows CMD (command prompt) and cd to C:\vFunctionLab\oms-tutorial\oms-webmvc

    cd C:\vFunctionLab\oms-tutorial\oms-webmvc
  2. Build the application by running

    mvn clean install
  3. After the build is completed successfully, open VS Code from the command window by running:

    code .
  4. Check for VS Code updates (Help menu) and update to the latest version of VS Code

Install Amazon Q Extension in Visual Studio Code

  1. In VS Code, click on the Extensions icon on the left bar (or press Ctrl+Shift+x)

  2. Search for the extension: Amazon Q and click Install on the extension with this name

  3. After the installation is done, you should see the Amazon Q extension on the left and do a Personal or Company account login. A free personal account is sufficient.

  4. After you sign in, switch to the chat and Acknowledge the terms.

You can use GitHub Copilot instead of Amazon Q if preferred (vFunction supports both)

Install vFunction Extension

  1. In VS Code, click on the Extensions icon on the left bar (or press Ctrl+Shift+x)

  2. Search for the extension vFunction and click Install on the extension with this name

  3. Click on the vFunction extension icon (should be the bottom icon on the left var)

  4. Enter the base URL of the vFunction server for the Domain (e.g., http://172.2.0.4) and click Login - you will be re-directed to the web browser to login.

  5. Select the Application and Measurement:

    CREATE TODO

  6. Click on Install MCP Tools

  7. You should see the TODO items listed in vFunction extension form.

Install Spring Boot Dashboard Extension

  1. In VS Code, click on the Extensions icon on the left bar (or press Ctrl+Shift+x)

  2. Search for the extension Spring Boot Dashboard and click Install on the extension with this name

vFunction Logo