Using SuiteCloud Developer Assistant with Cline in WebStorm
SuiteCloud Developer Assistant (SDA) can be used in JetBrains IDEs, including WebStorm, through AI assistant plug-ins that support OpenAI-compatible providers, such as Cline. These plug-ins connect to the local SDA proxy started through SuiteCloud CLI. You can ask SDA to:
-
Explain SuiteScript modules
-
Generate SuiteQL queries
-
Refactor SuiteScript code
-
Create script templates
-
Help troubleshoot errors
The tool has been tested in WebStorm using Cline, and this configuration has been validated during testing.
Prerequisites
Before configuring WebStorm and an AI assistant plug-in like Cline, you must ensure that the following prerequisites are met:
-
Complete the SDA proxy setup and API key generation described in Setting Up SuiteCloud Developer Assistant with Other Third-Party Tools and AI Coding Assistants.
-
Install WebStorm. For more information, see Downloading WebStorm.
-
Install Cline for WebStorm. To do this, go to the WebStorm Marketplace (Settings > Plug-ins) and search for Cline.
To use SDA with Cline in WebStorm:
-
Go to View > Tool Windows > Cline.
-
Configure a custom OpenAI-compatible provider using the SDA proxy values:
-
Provider: OpenAI-compatible
-
Base URL:
http://127.0.0.1:<port>/api/internal/devassist -
API Key: Generated SDA API key. For more information, see Setting Up SuiteCloud Developer Assistant with Other Third-Party Tools and AI Coding Assistants.
-
Model: NetSuite
-
-
Open your SuiteCloud project.
-
Verify the connection. Open a SuiteScript file and run a prompt such as "Explain this SuiteScript module". If the configuration is successful, the plug-in responds using SDA through the local SDA proxy.
Troubleshooting SDA with Cline in WebStorm
|
Issue |
Cases |
Solution |
|---|---|---|
|
Connection error |
Unable to connect to SDA. |
Verify the following:
|
|
Custom providers support |
The tool does not support custom providers. |
Some plug-ins may not support the following:
Refer to the plug-in documentation to verify compatibility. |
|
Missing plug-in settings |
Plug-in settings or windows not displayed. |
Do the following:
|