i'd really like to get vscode intellisense working...
# suitescript
d
i'd really like to get vscode intellisense working with SS2.0, has anyone set this up already?
s
for plain JS or for rich type info with TypeScript?
d
vanilla JS (i've used the hitc typescript types previously)
j
Don’t know if this is possible without typescript. I think typescript now has the ability to read types from JSDoc in vanilla javascript files, you could check into that.
e
@dbaghdanov I've been working on this as a side project. I will (eventually) have a file of snippets that can be copy/pasted in your javascript snippets. It won't be everything, but I'm looking to get all the functions in there with params. Ex: .getValue would expand to
.getValue({
fieldId: fieldId*
})
where each param would be it's own tab stopping point
d
@ericbirdsall oh nice. i've been building out some snippets as i've been going along too. would love to have some global repository of shared vscode snippets. I'm trying to lay some groundwork to get my colleagues off of eclipse and onto something else