Open ia3andy opened 9 months ago
@ia3andy you do have the Synch JBang menu on top, in your screenshot, when you right-click on the file
@fbricon his point is that is the only place its present. not in the jbang view on the right nor on the file in the file explorer part. I had to screenshare to see why andy could not get it to work - turned out he didn't find the sync action anywhere he was used to find "actions"
Just to add another point of view: I just learned that the IntelliJ Plugin for JBang is not "broken" and that a sync action for dependencies exists.
I had implicitly assumed that synching dependencies would have happened automatically on load and save and had therefore switched to using jbang edit --live --sandbox
.
Now obviously this is my fault for not digging deeper or checking documentation but there you go. Now I can fully enjoy the plugin! 🎉
Can this Sync JBang DEPS to module
moved out of entire file context menu and have it only in actual DEPS locations? Or show it as suggestions only in their declaration. Having it for entire file is a bit crowded. Also +1 for having it too in navigator context menu in group.
@msangel but then you would have to scroll up on large file - and you might not have does in a file but would be available elsewhere.
Agree it would be nice if could be made more automatic like in vscode jbang.
Currently to load the dependencies, you have to use this:
Problem is that, it took me a call with @maxandersen to find this button. I've tried this (which I think should also sync the dependencies):
And also right clicking on the file doesn't show this:
Something like the Maven Runner plugin would be nice and make sure it's available when right clicking on all the java files with the jbang (and also when right clicking in the editor):