I hope I'm not posting this in the wrong channel. ...
# suitescript
b
I hope I'm not posting this in the wrong channel. It's a question about WebStorm vis-a-vis NetSuite. In Eclipse, all of my projects for all of my clients were open in one giant tree, and I could easily flip back-and-forth. In WebStorm, the only way I can achieve that is by "attaching" projects to one "root" project. But then if I set the Account to use on one of the projects, they all seem to use that same account info. Is that how it works, or is there a better way?
s
I tend to open separate Webstorm windows per project and don't keep too many open at any one time. Since WS keeps a 'recently used' list, reopening a project is trivial. I guess that's a long way of saying I don't see any of these issues just as a byproduct of my preferred webstorm usage.
b
yeah - i get that. but i have 30 clients, and am frequently opening other projects to copy code from them, and it's SO convenient having them all in a single tree structure. so was just hoping to be able to do the same here.
s
well, you could do that if you want - if you used the SDF CLI instead of the plugin.
you might want to ask in the SDF channel as a feature request for the GUI plugin to support multiple attached projects in WS
e
If you're just copying code, you don't need a whole webstorm project open to do so. Whenever I need to grab something from elsewhere, I typically just pop open a text editor like Notepad++
j
I think the multiple attached project feature in WS as it applies to the NetSuite plugin is already on NetSuite's radar.
s
in the notepad++ case, you can just as easily open individual files in webstorm...
p
Could you add your top-level directory as a library directory in webstorm? 🤔
e
Before 2020, WebStorm did not allow opening individual files that weren't attached to a project
The point is there are plenty of options for copying text without having to put all your code into a single project
c
another option is using your source code search feature if you're using something like bitbucket
a
The NS team is already planning to support the multip-project WebStorm feature
@Carlos Olivares (NS DevTools PM) CC
c
Yep... we are working on it.
s
I second @creece - I use code search on github and azure repos with good success - and nice thing is it searches across all projects, not just ones I may have checked out. not sure if that's relevant for @Boban Dragojlovic?