matty
10/10/2024, 3:24 PMCeligo AI
10/10/2024, 3:24 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** Based on the conversations, it seems that there are a few things you could try to get code completion working as expected in WebStorm with SuiteCloud IDE: 1. Ensure that you have the correct libraries added to your project. You mentioned that you have the SuiteScript 2.0 libraries included, but you might want to double-check this. You can do this by going to
File > Project Structure > Libraries
in WebStorm and making sure that the SuiteScript 2.0 libraries are listed there.
2. Invalidate the cache and restart WebStorm. Sometimes, issues with code completion can be resolved by invalidating the cache and restarting the IDE. You can do this by going to File > Invalidate Caches / Restart...
in WebStorm.
3. Use the @hitc/netsuite-types
library. This library provides TypeScript definitions for SuiteScript 2.0, which can help with code completion. You can add it to your project by running npm install --save-dev @hitc/netsuite-types
in your project directory.
4. Ensure that you have the latest version of the SuiteCloud IDE plugin. It's possible that there might be a bug in the version of the plugin that you're using that's causing issues with code completion. You can check for updates by going to File > Settings > Plugins
in WebStorm and clicking on the Updates
tab.
If none of these suggestions work, it might be worth trying to reinstall WebStorm and the SuiteCloud IDE plugin, as one user suggested.Celigo AI
10/10/2024, 3:25 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.860741496
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.860640228
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.85874176
Celigo AI
10/10/2024, 3:25 PM