Skip to content

burkybang/SuiteScript-2.0-Type-Declarations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SuiteScript 2.0+ Type Declarations

Repo Watchers Repo Stars

Author

GitHub GitHub
Mastodon Mastodon
Lemmy Lemmy
LinkedIn LinkedIn
Discord Discord
YouTube YouTube
Twitter Twitter
Reddit Reddit

Related Projects

How to Install Type Declarations

How to Remove Type Declarations From the SuiteCloud IDE Plug-in

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.

  1. In the Project file tree, find the following directory and click on it.

    External Libraries / SuiteScript 2.0 / SuiteScript_2_0

  2. 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).

  3. Hover over Open In and click on Show in Explorer.

    Here's a screenshot showing all steps so far.

    How to Find *.jar File

  4. 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.

    Open in 7-Zip

  5. 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

  6. Close 7-Zip and then reopen WebStorm.