Android study notes-Java basic grammar (3) If you want to do well, you must first sharpen your tools

1. Selection of tools

1.1 IntelliJ IDEA

This IDE can be said to be very good, mainly looking very cool. It was developed by JetBrains. The tools belonging to this family (the one I use) and pycharm are also very supportive for python development. Powerful IDE. Below are the relevant screenshots, including the community version and the professional version. The community version is a free
Insert picture description here
IntelliJ download address:
1. Download from the official website
2. Download from Baidu Cloud Disk Code: 8dvo

1.2 Visual Studio Code(vs code)

It is a free and open source modern lightweight code editor that supports syntax highlighting, smart code completion, custom hotkeys, bracket matching, code snippets, code comparison Diff, GIT and other features of almost all mainstream development languages. Support plug-in extension, and optimized for web development and cloud application development. Software cross-platform support Win, Mac and Linux

Insert picture description here
vs code download address:
1. official website download
2. Baidu cloud disk download code: aode

1.3EditPlus

EditPlus is a small but powerful text editor produced by South Korea's Sangil Kim. Friends can use EditPlus to complete all the text editing functions you want. EditPlus is also a very easy-to-use HTML editor, which supports C, C++, Perl, Java. The EditPlus software has a built-in complete HTML & CSS1 command function
(Since it has been uninstalled, the screenshot will not be shown.)

When I first learned Java, I used an IDE. Later, when I came to school, my teacher used EditPlus to teach. Then I came into contact with VS code. Now I learn Android. Java only needs to learn basic syntax. I recommend using vs code and developing Android later. I will use AS Android Studio, which is a professional Android native development tool. Now practicing Java syntax and using vs code is enough. Of course, our code demonstrations are all carried out with IDEs. Who makes me like that cool interface?

2. Tool installation

2.1 Installation of InterlliJ IDEA

1. Find him and double-click
Insert picture description here
2.next
Insert picture description here
3. This place can change the installation address, install according to your own needs and the size of the hard disk
Insert picture description here
4. Tick according to your needs
Insert picture description here
5. Click to download it.

Insert picture description here
6. After a long wait, it is finally The download is complete, check this
Insert picture description here
7. Go
Insert picture description here

here to install the community version, double-click to open 8. There is nothing to say here 9. don't
Insert picture description here
send
Insert picture description here

10. continue

11. Choose the style, I prefer black, choose to install below Some plug-ins (you don’t need to choose, just cross it off)
Insert picture description here
12. Create a new Java project
Insert picture description here
13. Choose jdk, the IDE will generally automatically identify where
Insert picture description here
14. Next twice
Insert picture description here

Insert picture description here
15. Fill in the name of the project, and then click Finish
Insert picture description here
16. Then That's it. 1 2 3 Follow the steps
Insert picture description here
17. Create a package, com. Project name. Author name. Name, must be all lowercase Insert picture description here
18. Follow the steps,
Insert picture description here
19. Create a Java class, capitalize the first letter of other words, also capitalize the first letter of other words
Insert picture description here

20. Enter main, press Enter
Insert picture description here
Insert picture description here
21. Write a HelloWorld applet (I taught it in the previous article, I shouldn't forget it)
Insert picture description here
22. Right-click, or ctrl+shift+f10 to run,
Insert picture description here
23. The result of the operation
Insert picture description here
24. You're done, you are done.

2.2 Installation of vs code

1. Find the installation package you downloaded and double-click
Insert picture description here
2. Agree, the next step
Insert picture description here3. The selected choice, then the next step
Insert picture description here4. No doubt, of course, click Install
Insert picture description here
5. Installation is complete
Insert picture description here
6. Open, click here
Insert picture description here
7. Find this, click to download , I am disabled here (because I have already installed it once)
Insert picture description here
9. Create a new file
Insert picture description here
10. Debug as Java code
Insert picture description here11. Paste the HelloWorld written before and save it as a HelloWorld.java file
Insert picture description here12. F5 Run
will start to learn Hello World

3. Conclusion

So this issue is over here, I look forward to seeing you next time
Insert picture description here

Guess you like

Origin blog.csdn.net/m0_52883898/article/details/115290434