When using the SuiteCloud IDE Plugin for WebStorm,...
# sdf
m
When using the SuiteCloud IDE Plugin for WebStorm, it seems to makes sense to me that the files in
.idea/suiteapp
directory should be included in version control as it contains the XML templates for the NS objects. I would imagine these should be shared with other developers on the team when they clone or update their local repo. However, three files I’m unsure whether they should be included are
netsuite.xml
,
netsuite.sign
and
netsuite.pkey
which are all located under the root
.idea
folder. An inspection of the
netsuite.xml
file shows that it contains the Token ID and Secret used for TBA connection to the NetSuite account which should automatically exclude it from repo inclusion. I’m trying to determine if this is standard practice among other devs. I’m also trying to determine how the Master Account Password is affected by this. It’s my understanding that it’s project based. Would another developer need to create their own Master Password when they clone the repo and begin working? What other inclusion/exclusions from the
.idea
folder do I need to consider? (I also posted this in #CKMKB8QQP and #C29HQS63G channels – sorry for the cross post)
b
I tend to exclude the whole .idea folder from my git repositories because of how sensitive the information can be, and how varied IDE's different team members use are.
👍🏾 1
a
We are currently working on a refactoring of WebStorm + credential management. The idea is to centralize credentials so you can use them across tools (CLI + WebStorm) with a unique configuration. Master password will also go away as we move all our tools to oAuth
👍 1
Don't know when this will be available. Just letting you know we are currently reevaluating that part of the product
m
Oh wow, that will be really cool @Albert Margarit (NS Eng Lead). How do I stay in the loop on updates with that?
It definitely looks like including the
.idea
directory isn’t necessary @Brendan Boyd. Some tests I’ve run seems to suggest that the structure of the project triggers the plugin to create a fresh
.idea
directory. At which point the dev can set a new Master Password and run through the steps of linking their local copy of the project to NetSuite through TBA.
👍 1
a
@Miquel Brazil we'll keep you posted in this channel. If you want to get more details, ping me or @Carlos Olivares (NS DevTools PM) directly
👍🏾 1