Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
This is a really hacky approach and only gets it working with Java Mode...
We already have the idea of the imports entry in the .properties file, a better option would likely be to include the import for Java Mode in there, and then use that to figure out which classes need to be loaded. So you'd include:
On a quick glance, it also looks like your approach is stealing the
@benfry I wasn't aware of the imports field in mode.properties. I've updated the PR as you suggested. Now dependencies are loaded by classname. If mode.properties has:
The installed modes are searched for a class name matching
(This works with REPLMode)