Home AMX User Forum Scripting Languages
Options

Import "mojo" could not be resolved

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.

Comments

  • Options
    ychych Posts: 34

    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!

  • Options
    Master_HeMaster_He Posts: 3

    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.

Sign In or Register to comment.