Anyone else lose their code completion for NS usin...
# sdf
e
Anyone else lose their code completion for NS using WebStorm 2023.3.2? I reverted back to 2023.2.5 and it's fine. (The NS external library works, no more "unresolved function or method")
e
Nope
e
hrm, I wonder if there's a plugin I am using that causes it. Thanks for confirming
1
e
Or maybe there's a module I'm using that maintains it 😄 I'll confirm where those completions are coming from
Looks like those completions are coming from @oracle/suitecloud-unit-testing
which I have as a
devDependency
in most of my projects
e
must be this one project, I tried another and it looks fine. (using @hitc/netsuite-types)
thanks again though
1
n
Check you have:
There's a couple things around this, if you are on Windows the antivirus can block those files, seemingly randomly which stops code completion. Webstorm gives you the option sometimes to add them to the exceptions but that seems hit and miss in my experience. Alternatively, I recently (maybe 2 weeks back) had this issue and found deleting the .idea folder, closing WS and then re-opening the project restored the functionality. (If you're wary to delete the .idea folder just make a backup before deleting)
e
I've tried deleting the .idea folder, no dice for this project. I'll try excluding it from AV, thanks. It's odd; WS will correctly highlight a method, then I'll add a line, and it reverts back to being an unresolved method. WS 2023.2.5 didn't have an issue. CoPilot generally knows what I need so it's not a huge issue, just a visual distraction.
n
Are the external libraries showing as well?
e
Yeah
n
And other NS plugin functionality is working as expected such as account settings / uploading files etc?
e
no issues there. it could be the sheer size of the project, who knows
n
Sorry I have no idea then. 😞
e
Appreciate the effort!
👍🏻 1
n
Invalidate your WS cache and restart. That will bring those external libraries back.