We’re going through the learning pains of VSCode. Putting the Java Extension Pack and GitLens has given us back some functionality that we were used to in Eclipse.
The one piece I can’t find for our new programmers is an easy way to copy a Java class. Eclipse would let you copy and paste, would prompt you for the new class name, and fix up the file name and copied code to reflect the new class name. The closest I can come is to have them copy and paste the Java file (which gets a Oldclass.1.java name), rename the file, then go in and use Refactor (F2) to fix up the class name.
Not terrible, but could be better. Does anyone have a better way to do this?
This is all about creating new commands. I know that the WPIlib extension can create Commands, but I want the students to use an existing Command that has some logging code as a base for their new ones. I think it would be doable with a VSCode snippet, but am hoping that someone has a better/easier answer.