Until now, when I was studying at home, I used to build a Java development environment in Eclipse, but now I want to use the popular VS Code. I've used it at work, but I wanted to change the environment at home, so I tried it.
Excuse me, super rudimentary. I didn't put Git in the local development environment using GitHub. Install from here. This is Download for x.xx for Windows.
Continue to the next. I chose VS Code here. This is the default. It was off here.
OK.
Download from here. Note: Windows 64bit version. I will omit the details.
You can open the folder path used in Eclipse (GitHub linkage set up) with VS Code. Hmm, I'm telling you to put in a Java Extension Pack, so I'll put it in. Now put in the JDK. Follow. Java.home settings are also OK. I'm not particularly bad at English, but I will translate it into Japanese. .. Since there is also the Java setting earlier, reboot once here. OK.
When you open the source control view, It was supposed to be amazing.
When I try to update, I have to log in. I was able to log in. Or rather, I added it because the escape was missing in the path specification of java.home. Include the class files in gitignore and try modifying the source.
Staging ... Commit with a comment (quick and uncapped) Sync changes! !!
It was reflected properly.
I haven't tried debugging execution yet, so I will write it again. It's a lot of fun to hit something you don't know and solve it.
I hope it helps someone.
Recommended Posts