Eclipse Skills Asklxf [Original]

zhaozj2021-02-16  109

Eclipse Skills 1. The jump in the Eclipse in the source code is even more convenient than VS.NET, and the method is to hold down the Ctrl key, then the mouse point to the variable name, method name, class name, link, click You can jump to the definition. 2. Real-time syntax check, if there is a red small square on the right side, you can jump to a wrong line directly; the yellow small square is warning, you can ignore, but it is best to check it; if a function is not completed, you want to remind What should I do if my attention is? Plus the comments // Todo, there will be a blue small square on the right, prompting you that you have not completed it. When there is no prompt on the right side of a source code, this file has been completed. 3. Automatically generate the getter / setter method only require the Protected, Private class member variable, then find the class in Package Explore, right-click, select "Source" "Generate Getters and setters". 4. Change the class / variable name If you involve multiple modifications, do not change directly in the source code, find the class or variable you want to change in Package Explore, right-click, select "Refactor" "Rename", Eclipse will automatically search all Related code and replace it, make sure you will not miss or correct. Note: I used the version of Eclipse 3.0

转载请注明原文地址:https://www.9cbs.com/read-10310.html

New Post(0)