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.
Here's how to 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.