VS Code Extension
This toolkit provides details about the EDJX open-source extension for the Visual Studio Code (VS Code) editor. This extension makes it easier for you to develop and deploy serverless applications that use the EDJX Platform.
You must have the latest version of VS Code for the OS you decide to use.
1. Install the Extension
After you have confirmed that the requirements are present on your system:
-
Open VS Code.
-
In the Activity Bar, click the Extensions icon.
-
In the search box, enter edjx-vscode, and then click Install.
-
Restart the editor.
The EDJX extension appears in the left navigation.
2. Connect to the EDJX Platform
Once you have installed the extension, you can connect to the EDJX Platform.
If you are not deploying to the EDJX environment, which is set by default, make sure you change your environment before you proceed. |
-
Sign up for an EDJX account.
Create your Login Credentials Here. -
Open VS Code.
-
Click the EDJX extension icon.
-
Click Connect to EDJX.
-
Enter your username and password.
The EDJX extension panel populates with your configured information.
3. Switch the Organization
To switch the organization:
-
In the Profile panel, click the Organization icon.
-
In the prompt, select the Organization.
4. Create an Application
-
Hover over the Application panel.
-
Click the Create Application icon.
-
Select the organization to create the application under.
-
Enter a name for the application.
The application appears in the Application panel.
5. Create a Function
6. Build the Function
Rust
-
Click the Explorer view.
-
Navigate to the folder where the function resides.
-
Select the
edjconfig.yaml
file within your function folder. -
Click Build Function.
A confirmation dialog displays. -
Click Yes to proceed with the build process.
VS Code initiates a terminal instance, the process executes, and then a confirmation dialog displays.
C++
-
Click the Explorer view.
-
Navigate to the folder where the function resides.
-
Select the
edjconfig.yaml
file within your function folder. -
Click Build Function.
A confirmation dialog displays. -
Click Yes to proceed with the build process.
VS Code initiates a terminal instance, the process executes, and then a confirmation dialog displays.