Hello, I'm Albert Margarit from NetSuite product ...
# suitescript
a
Hello, I'm Albert Margarit from NetSuite product engineering, leading the SuiteCloud Development Tools team based in Barcelona. I would like to run a quick survey here to understand which IDEs/code editors you use today to develop code for our platform. The survey is simple, click in one of the following options below: 1️⃣ = Eclipse 2️⃣ = Webstorm 3️⃣ = Visual Studio Code 4️⃣ = Sublime Text 5️⃣ = Notepad++ 6️⃣ = Atom 7️⃣ = Visual Studio (not the Code edition) 8️⃣ = IntelliJ IDEA 9️⃣ = Other If you click on option 9️⃣(other), we would appreciate if you reply to this message with the name of the code editor. We would really appreciate your input here, it's going to help us tremendously to shape the future of our tools. Thank you!
9️⃣ 2
5️⃣ 2
7️⃣ 1
3️⃣ 16
8️⃣ 2
6️⃣ 4
4️⃣ 5
1️⃣ 14
2️⃣ 12
Also, feel free to leave any comment here related to code editors that you'd like to share with the team!
s
I'd like to see parity between a CLI tool and any IDE plugins to the extent it makes sense.
f
Yeah I use the CLI for deployments and would like to have a proper working CLI tool rather then a native IDE integration!
s
I happen to use Webstorm, which does a fine job of executing CLI tools from the IDE in a friendly fashion. I would almost prefer a Webstorm integration that is mostly if not entirely CLI driven. That way I could choose between CLI (for things like deployments, CI) and futzing with the IDE.
n
@Albert Margarit (NS Eng Lead) When is Webstorm with SS2.0 completion releasing? The release notes say sometime in october...
k
Yeah I also would like to know when we are going to get webstorm plugin.
a
The WebStorm plugin is in testing phase internally and should be released in the following weeks. I expect it to be released this month
As for the CLI, we are working on an interactive Node-based CLI that I think will cover your suggestions here. I’ll share more info as soon as get something solid to show
k
Any beta available for testers on the webstorm plugin.
a
Not publicly available, sorry. We wanted to explore a beta program but we didn’t have enough time to go through the process internally. Hopefully for future versions we can give beta versions to the community to get early feedback, it’s definitely in our internal conversations
k
Ok Great. Always best for the people using it everyday to test and explore thoroughly.
a
Agreed!
c
What current features are in the webstorm plugin? #safeharbor
🤣 1
😅 1
does it support TBA for example and general file uploading or is it SDF only?
a
Yes to both. TBA is supported (also with 2FA roles) and single file and single folder upload (SDF only)
c
so no just right click and upload a file? it has to be via an SDF project? or did I read that incorrectly?
a
I’m not in front of my laptop, I can provide a complete list tomorrow
Let me get back to you on that tomorrow. I believe it’s only in SDF projects but I may be wrong here
k
Seems strange to not have a single file or folder upload. As most don't use SDF. I know I don't at the moment.
Just add the current functionality from @creece plugin into it so it can use the TBA lol
c
i'd rather netsuite support it so i don't have to anymore ha
k
Yeah that's what I mean. Add the functionality into their plugin lol
a
Yep, I’ll answer all these and provide list of features tomorrow. Sorry I’m based in Spain so I’m out of office
👍 1
k
Yeah no worries. Thanks.
👍 1
m
Hey everyone! WebStorm will support uploading individual or a group of file/folders with a right click menu action. It will not require deploying the SDF project. This action menu will only show if the project is of type SDF. That is, you'll need to create an SDF project, add your files under the /FileCabinet/SuiteScripts/ folder, and from there you'll be able to upload individual files. By using an SDF project you'll be able to also take advantage of declaring dependencies that your SuiteScript files have (features, objects, other files), and validate them at any point. Of course it will also allow you to revision control your object definitions as well, but again, that is optional. I hope that answers your question. We are looking forward to the release and hearing feedback from the community on what other functionality you'd like to see.
It will also support comparing the project SuiteScript file with the one in the account - the same for object definitions.
s
what are the chances of getting a NS plugin for VS code?
👍 1
r
Can't we have a IDE agnostic plugin, instead of just catering to the most popular one?
m
It is something we are considering. As Albert mentioned, we are reaching out to the community to have a deeper understanding of your needs. In the meantime, check out the plugin for VSCode created by a community member - https://marketplace.visualstudio.com/items?itemName=markkeaton.netsuitesdf
Hi @rustyshackles, could you elaborate on what you mean by an IDE agnostic IDE plugin? FYI, we have a CLI tool that allows you to do most operations, enabling you to work with any IDE you want. Also, we are working on an Node Package that will provide an interactive CLI. Similar to what NetSuite supports for SuiteCommerce Development.
f
@Mariano Saenz (NS Eng Lead) Please make sure that the Node CLI can be used fully automatic and does not require interaction. The current SDF CLI is a pain to setup AND requires confirmations etc manual entered. It's a pain to automate
👍 3
m
The plan is to enhance the existing CLI to not require confirmations. We are also looking into making the setup easier. The Node CLI will only be interactive initially, where the existing CLI will be enhanced to provide better experience for automation.
c
I'm definitely excited about the nodeJS version.. lots of capability can be built around that
👍 1
l
Hi all, a total Webstorm noob here. I'm using Eclipse but based on the feedback Webstorm won the poll so I thought I'd ask: what are its advantages over Eclipse? Also based on its website looks like it's a paid software. Is this true?
c
It is a paid subscription app but its ~$5/month (or there's a discount for yearly) and the personal license can be used on X computers for any type of business.
Eclipse is old and clunky and wasn't built for web development. WebStorm has web stuff built in like nodeJS. Its a lot faster for pretty much everything and its dark mode is really nice. I'd pay $5 just for dark mode. Both IDEs will get the job done and they both have plugins you can use right now to try it out.
s
Webstorm is commercial software but the price is trivial for the value provided.
@NElliott you have to click the '2' at the bottom of the message, where the counts are.
n
@stalbert I blame poor UI design and nothing to do with me being stooopid. 😄 Thanks buddy. ("user moment" has now passed normal service resumed).
s
Yes, it's a horrible UI. To have the things you click NOT be the larger list of choices is quite daft.
I don't know if that's some slack built-in polling feature but it sucks
a
This is not a polling feature, it's a workaround to create a survey in slack 🙂 Apologies if it's confusing
As discussed yesterday with @creece and @karlenigma, here are the features we will support in the first release of the official Webstorm SuiteCloud plugin: - Support for TBA (including 2FA) - Code completion support for SuiteScript 1.0 and 2.0 - Files and folder uploads from an SDF project - File comparisons against server version - Scaffolding of SDF projects (SuiteApp, Account Customization Project) - Setup NetSuite account and Master password setting - SDF functions (add dependencies to manifest, validate against account, deploy, import, apply installation preferences) - View deployment logs from Webstorm Obviously, this is the first release. We are committed to deliver new funtionality and improvements on every NetSuite major release. Don't hesitate to share your feedback with us once you try it out (you can slack me or @Mariano Saenz (NS Eng Lead) here). Reminder, we'll release the plugin during this month. We'll keep you posted!
👍 8
👀 5
r
@Mariano Saenz (NS Eng Lead) I was thinking more about code completion
l
thanks @creece and @stalbert