Anything using webstorm with suitecloud 2019.1.1 h...
# sdf
e
Anything using webstorm with suitecloud 2019.1.1 have issues with code completion?

https://i.imgur.com/ccoSLwT.png

a
Hello! Are you seeing anything different with respect to the previous version?
e
yes, you see how everything is underlined and when you hover over it youll see "Unresolved function or method getLineItemValue()" I have uninstalled webstorm, rolled back to the 2018.3 version. Installed suitecloud again and still the same issue.
and it will not do any code completions at all. Its as if the library is not imported
c
if you download the 1.0 code from the file cabinet and add it as a library to your project, you'll get auto complete
e
that has been driving me insane for while now. Thanks for the help!
a
Are you using Mac or Windows?
We had some issues in Mac with the plugin, SS JS Docs were not available
maybe it´s related
c
im on mac and adding the 1.0 (not 2.0) file cabinet files as a library (folder structure) has always worked for me. Not sure what was going on for the other guy
d
semi-related to this, is there a way to remove the 1.0 library since I am just developing 2.0 scripts?
in the HelpCenter it says "If you do not need code completion for a particular SuiteScript version, you can delete the library file from the External Libraries folder of the project." but this doesn't seem to be the case since the .js library file is actually part of the SuiteCloudIDE .jar and cant be deleted?
c
when you create a project, you should be able to delete it on a per project basis
not sure why it would keep popping up if you delete it
d
@creece maybe I'm just missing something obvious, but creating a new Account Customization Project (framework 1.0 version is only option) and then in Project structure going down to External Libraries > SuiteScript 1.0 > SuiteScript_1_0 and trying to delete ss1.0.js I get "Refactoring cannot be performed .../com.netsuite.ide.webstorm.app_2019.1.1.jar!/...ss1.0.js is located in a read-only container."
c
you should be able to go into the libraries through project settings and just uncheck the library and not delete it
d
Settings (Ctrl+Alt+S) > Languages & Frameworks > JavaScript > Libraries? The only thing I have there is HTML and HTTP Response Handler
c
yeah thats what I was thinking.... its odd its added as library but not listed there (i haven't used the new plugin yet)
the library SHOULD be showing up under there and you should be able to remove it
if not maybe its a bug or known issue?
d
@creece was just messing around with it some more, seems like a workaround in my case would be to go .idea/[projectname].iml file and comment the <orderEntry type="module-library"> nodes that pertain to these .js library files in the .jar
they no longer show up in my Project's external library view and I don't get any of the unnecessary nlapi 1.0 suggestions
c
interesting. Well if it works it works 🙂
a
@Carlos Olivares (NS DevTools PM) please take a look at this
👍 1