I like worksheets as an alternative to REPL, but I continue to implement functions on the worksheet and then copy them back to the actual project. How to import a package from the current project so that I can call these functions on a worksheet?
There is nothing special. Just regularly import the packages you need on the worksheet. For instance:
import com.acme.myproject._
A worksheet is a completely regular source file that is simply evaluated using save.
Source: https://habr.com/ru/post/926643/More articles:Questions about IL hand-encoded based on disassembled simple C # code - c #How to set QThread name in pyqt? - pythonKeep original and clone successful drag and drop - jqueryAfter pausing a child process using SIGTSTP, the shell does not respond - cBig-O runtime of various search algorithms - javaJquery Ui Drag and Drop Problem - jqueryhow to generate apk file using command line? - androidPostfix mail issue? - linuxshare location with share intent Activities - androidRepeating the main theorems: what is a polynomial difference? - time-complexityAll Articles