tabreturn/thonny-py5mode

A bunch of enhancements (to split into several issues/tasks)

tabreturn opened this issue · 1 comments

"py5 can check if JAVA_HOME exists, and if not, see what jpype.getDefaultJVMPath() returns? If that is not version >= 17, jpype will not be able to start py5. Instead of failing, check in the location where the Python JDK library puts the installs. If Java 17 is found there, py5 can direct jpype to that location. If it isn't found, display a suitable error message."

  • Call jpype.getDefaultJVMPath() so it isn't necessary to set JAVA_HOME?
  • 'JDK-11 installed and JAVA_HOME set' --> f'JDK-{_REQUIRE_JDK} installed and JAVA_HOME set' instead.
  • py5_tools.reference.PY5_DIR_STR for syntax highlighting (instead of module.PY5_ALL_STR)?
  • Note (if/where applicable) that importing py5 will start the JVM, but importing py5_tools will not.
  • ...

Moved remaining issue to it's own issue (#26)