Import "mojo" could not be resolved
Master_He
Posts: 3
It's the first time for me to try Muse. That's what I encountered in Visual Studio Code. The script did load and ran. But since context was not import, I was not able to see its properties and methods.
0
Comments
I also encountered the same problem when testing Muse using Groovy, unable to provide intelligent prompts. It's better to wait for Muse's JDK to be released, as using Ideas is more convenient than VS Code!
The answer comes from a guru of our company:
if you right click on the directory of your program you can grab the definitions if your logged into a controller
after that, you might or might not need to restart vscode/reload the folder.
Master_He,
My context menu for that directory does not contain "Create Mojo Local Program" or "Fetch Program Type Definitions". It only contains "Upload to Mojo Controller". I am logged into the controller, and able to upload programs to it. I am also on the latest f/w on the Muse. Any ideas why I don't have the Fetch entry? Any other way that I can see the methods/parameters of any given class or type?