I just tried moving all my SDF related files to a ...
# sdf
s
I just tried moving all my SDF related files to a subfolder (so my 'project' is in a subfolder of the root). Now the webstorm plugin doesn't like it (it only shows me the 'revoke master password' option). Is there some restriction to where I place my SDF project?
a
name that folder "src"
That's the convention that WebStorm understands
s
thanks Albert, I'll try that. fyi, I never use a folder named
src
in webstorm and everything works fine
I hope their can be a parent folder? i.e. MYPROJECTNAME/src/Objects?
a
yep!
that should work fine
open "MYPROJECTNAME" in WebStorm
s
hmm, don't want to do that, but will experiment. What I know seemed to work is if I had my
FileCabinet/
,
Objects/
folders at the root
by 'don't want to do that' I mean I don't generally open a project at a subfolder so that I can see the whole thing - perhaps consisting of multiple SDF projects, non SDF stuff, and so on, all logically related.
So does the webstorm plugin look in both root folder (the folder you open) and alternately a
src/
subfolder?
a
Yes,it has to find manifest and deploy xml to determine if its a suitecloud project and by those files it determines if its ACP or Suiteapp. The plugin looks for these files either in root or in src folder. And based on that the context menu is generated. Src folder is the convention we have for nodeCLI, and since we support nodecli structure in webstorm that's why it's supported.
✔️ 1
s
Thanks Ali, that helps clarify things. Is that detail something I missed somewhere in the plugin docs?
Putting my manifest.xml, deploy.xml and Objects/ folder into a SUBFOLDER/ then opening that subfolder (making it the 'root' of the project' does not result in a working webstorm plugin 😞
could there be some artifacts laying around effecting things because the manifest.xml and friends were previously living at a parent level in the folder hierarchy?
a
Can you share the screenshot of the structure which is not working?
s
if I right click on the Objects folder here I get a popup only with the 'add dependencies to manifest' option enabled.
are their hidden files I need to move over from the old location as well?
a
No hidden files should affect this. What about manage accounts or master password ¿
I did the experiment, created a subfolder moved my files in the subfolder named
ok
and open that in a new window. And i can see the context menu.
s
closing and reopening webstorm didn't help. very sad. I guess I'll have to go back to the cli exclusively?
a
That is weird. @stalbert Can you zip you project and sent it to me. You can remove your files from the project, i will just need the structure with manifest and deploy to see whats happening
s
I will do that, but here's what my popup menu shows in webstorm when I right clickon the Objects/ folder when it's under a subfolder.
a
You probably haven't set a master password. That's why all sdf actions are disabled.
Click on set Master password.
This password is to protect your account information. @stalbert
s
that part makes sense - what doesn't make sense is why I need to reset master password (and hence recreate my logins/accounts?) just by moving the folder?
a
The plugin remembers the accounts on project basis. So the root changed and its not recognising it anymore. we know it's a pain point. But the good news is the new version that will be released next week hopefully, is getting rid of alot of issues like that. A new experience to use accounts for sdf actions.
s
gotcha - I presume the password store must also be storing the project path or something? I look forward to any updates that make this easier. We just had to abandon a large SDF deploy due to the plethora of issues we ran into (many of which discussed here over the last week or so). Going back to bundling. 😞