I'm following the official documentation for using the shortcut/intention to create a Unit Test for a Java class ( https://www.jetbrains.com/help/idea/2016.3/creating-tests.html )...
But step 2. "Place the cursor within the line containing the class declaration." does not work.
What am I doing wrong?
It took me a while to figure this out, but I wanted to post it here as that IntelliJ documentation for step 2. isn't quite right, and it has no commenting feature:
Place the cursor on the class name ; its not sufficient just to place it somewhere on the line as those directions say.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.