Presentation is loading. Please wait.

Presentation is loading. Please wait.

Advanced Programming TA Session 3

Similar presentations


Presentation on theme: "Advanced Programming TA Session 3"— Presentation transcript:

1 Advanced Programming TA Session 3
Advanced Programing TA Session, Sharif University of Technology TA Session 3

2 Eclipse Perspectives and views Eclipse Packages
Java, Java EE, Java Reporting, C++ Differ by add-ons installed by default Workspace The .metadata folder Startup Create a new “Java Project” The .project and .classpath file Create a new Class Write code in the Class Perspectives and views Advanced Programing TA Session, Sharif University of Technology

3 Eclipse Building Build = Compile all files in project
Builds automatically by default Every save results to compiling Clean project to build again Advanced Programing TA Session, Sharif University of Technology

4 Eclipse Tips Use Navigator Refresh project to see new resources
Use Quick fix for: Creating getter setters Correcting standard problems Use Source Generation for: Overriding methods Advanced Programing TA Session, Sharif University of Technology

5 Eclipse Preferences Setting java compiler
Set compiler to 1.6 or compliance to 1.6 for this course Advanced Programing TA Session, Sharif University of Technology

6 Eclipse Shortcuts Ctrl + Space--> Auto Complete
Type “sysout” + Ctrl + Enter --> System.out.println Ctrl + D --> Delete line Ctrl > Quick Fix Ctrl + Shift + o --> Fix imports Ctrl + H --> Search Ctrl + O --> Goto method Ctrl + Shift + R --> Find resource by name Ctrl + I --> Correct Indentation Advanced Programing TA Session, Sharif University of Technology


Download ppt "Advanced Programming TA Session 3"

Similar presentations


Ads by Google