GitHub
Mastodon
Lemmy
LinkedIn
Discord
YouTube
Twitter
Reddit
- SuiteScript File Templates for WebStorm
- NetSuite UI Type Declarations
- SuiteScript 1.0 Type Declarations
The SuiteCloud IDE Plug-in by NetSuite for WebStorm comes with incomplete type declarations, so if you have that installed, it will interfere with the type declarations from this repo.
A modified version of the NetSuite SuiteCloud IDE Plug-in for WebStorm repository is available that removes the SuiteScript type files automatically.
A manual method is also available, but it requires you to repeat the steps every time the SuiteCloud IDE Plug-in gets updated.
- Open WebStorm
- Go to Settings → Plugins
- Click the gear icon (⚙) near the top → Manage Plugin Repositories...
- If the default NetSuite repository URL is listed (
https://system.netsuite.com/...), select it and replace it with the URL below. Otherwise, click Add (+) and enter it:https://burkybang.com/suitecloud-ide-plugin/updatePlugins.xml - Click OK
- In Settings → Plugins, switch to the Marketplace tab
- Search for SuiteCloud
- You should see SuiteCloud IDE Plug-in for WebStorm (No Types)
- Click Install and restart WebStorm when prompted
Already have the plugin installed? WebStorm will show it as already installed since it's the same plugin. That's fine. Future updates will automatically use the types-removed version. If you want to remove the types immediately, uninstall the plugin, restart WebStorm, then reinstall it from the Marketplace OR follow the manual steps below.
Here's how to manually remove NetSuite's built-in type declarations on Windows.
Note: You will need to do this every time the SuiteCloud IDE Plug-in gets updated.
Open a project in WebStorm that is using the SuiteCloud IDE Plug-in.
-
In the Project file tree, find the following directory and click on it.
External Libraries / SuiteScript 2.0 / SuiteScript_2_0
-
Once the SuiteScript_2_0 directory is selected, go to your navigation bar, and right click on com.netsuite.ide.webstorm.app-2021.2.3.jar (your version number may be different).
-
Hover over Open In and click on Show in Explorer.
Here's a screenshot showing all steps so far.
-
After File Explorer opens, the SuiteCloud IDE Plug-in *.jar file should be highlighted. Close WebStorm, and then open the file (not extract) in 7-Zip or other similar software.
Important: If you don't close WebStorm, the *.jar file will be readonly, and you will not be able to continue with the next steps.
-
After the *.jar files opens in 7-Zip, navigate to the following directory, and delete all of its contents.
Important: Don't delete the actual directory as this will cause the plug-in to crash in WebStorm.
library \ SuiteScript_2_0
If you're also using my SuiteScript 1.0 Type Declarations, you should delete the contents of the following directory as well.
library \ SuiteScript_1_0
-
Close 7-Zip and then reopen WebStorm.


