Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GXNew to Visual Studio Code? Get it now.

GX

Grainite

grainite.com
|
6 installs
| (0) | Free
Invoke gx CLI commands straight from VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GX Extension

GX is a powerful Visual Studio Code extension that can help speed up application development with Grainite. With GX, developers can access a wide range of features that can help streamline their workflow and reduce development time. GX is an invaluable tool that can help you maximize your productivity and get your code to market faster.

One of the key benefits of GX is its ability to provide developers with quick and easy access to a range of powerful features. These include the ability to start a Grainite docker container, load applications, perform cleanup operations, and dump information from topics and tables.

Prerequisites

  • gx CLI

Setup

  1. Download the gx CLI by cloning the samples repo:
git clone https://gitlab.com/grainite/samples
  1. Set the path to gx in VS code settings to samples/gx:
  1. [OPTIONAL] If you want to build projects using maven, set the path to mvn in VS code settings:
  1. [OPTIONAL] By default, the extension runs maven with clean package options. You can change this in the VS code settings:
- For example, for the `samples directory`, this will need to change to `clean compile package`.

Commands

Start a Grainite docker container

Use this command to start a Grainite docker container easily, from within VS code.

Load an application

Load an application into Grainite using this command. Additionally, you can have the extension build your code using maven and load the application into Grainite, using a single command.

NOTE: If this is your first time running this command, the extension will ask you to first select the app config (YAML), and then the pom.xml for the project.

Tail log

Remote debugging

Remote debugging is a powerful tool that helps speed up application development tremendously. Use the extension to attach to the debugger running inside the Grainite docker container.

Additionally, use the debugger's "Hot Code" feature to make changes to the remote code instantly.

Cleanup and restart server.

Use the extension to cleanup data and restart the Grainite docker container from a fresh state.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft