<@UAFDQ8W8Y> <@UAA1TMMTR> I just got code completi...
# sdf
n
@Mariano Saenz (NS Eng Lead) @Albert Margarit (NS Eng Lead) I just got code completion to work in Webstorm for SS1.0 and 2.0 . But unlike Eclipse i dont see code completion for the individual parameters itself. Is this planned for the future? So as an example in eclipse i could use the Ctrl+space shortcut to give me suggestions for each parameter….
a
Can you check with SuiteScript 2.0?
n
I tried on both SS1.0 and 2.0 and it never gives me suggestions for parameters
Like this here:
message has been deleted
a
looks like the object is missing there? What happens if you start with "{"?
n
I get the exact same results
message has been deleted
In this screenshot as i type I am expecting a list of all records types I can submit, like ‘Customer’…
a
shouldn't that start then with "record.Types..."?
n
I tried that but it still shows a bunch of random suggestions. In this screenshot example, I am expecting to see a list of just the object you can use in this API like - Customer, Location, Item, etc
a
Thanks for the info! @Ali Syed (NS DevTools QA) can we test this case with the new JSDoc?
a
@NSObsessed is this something you want to see from code completion?
n
Yes exactly. Is that something that is possible?
a
Ali is showing the code completion with the latest JSDoc. @NSObsessed can you confirm you cannot see the list of types in the current version of the plugin?
j
Are you talking about enums for record types or string auto completion for record Ids (first screenshot)?
n
@Albert Margarit (NS Eng Lead) So it looks like it working now that I removed my NetSuite connection and added the accounts back in. But what I get looks like this:
message has been deleted
only when I start typing do i get a narrowed down list like this:
message has been deleted
How do i get it like @Ali Syed (NS DevTools QA) screenshot where he has only typed in “record.type.” and it filters to ONLY shows all the possible values for that parameter. In my screenshot you can see a mixture of those values with an orange icon and then other stuff added in as well. This is on Webstorm
a
@NSObsessed you will have it out of the box when we roll out 20.1 suitecloud plugin for webstorm in upcoming weeks.
n
Very nice…looking forward to it