110 likes | 212 Vues
Discover advanced Eclipse features like setting preferences, importing/exporting files, debugging, error reporting, packages handling, views, and perspectives. Understand basic preferences, import/export process, debugging with breakpoints, error detection, and various options under the Source menu. Learn to utilize additional features such as generating getter/setter methods, configuring main methods, adding Javadocs, and commenting/uncommenting blocks of code. Get ready to enhance your Eclipse skills further!
E N D
Today We Will: • Go over more advanced functionality of Eclipse. • Break up into teams to work on presentation and final project proposals.
Some Advanced Features of Eclipse • Setting preferences • Importing and exporting files • Debugging • Error reporting. • Packages • Views and perspectives • Refresh and rebuild • Options under Source menu item • Java docs
Setting Some Basic Preferences • Workbench • Appearance • File associations • Fonts • Debug • Console • Variable views • Java • Appearance • Classpath variables • Code formatter • Code generation • Editor • Installed JREs • Templates
Importing and Exporting Files • In Eclipse, you need to import and export files from the working repository. • You do this by using the import and export options under the file menu.
Debugging • Eclipse has a built-in debugger that lets you run applications directly in the editor. • You can set arguments when running applications. • You can set breakpoints that stop the executing program in various places. • You can view the settings for various variables at these breakpoints.
Error Reporting • Eclipse helps you when you are writing code by pointing out errors as you type the code. • These errors are highlighted even before you compile. • You can see the error by placing the mouse cursor over the error icon. • The developer can even look up documentation directly within the platform to resolve problems.
Packages • Package directly structures are directly translated during import and export functions.
Views and Perspectives • Package browser • Java • Debug.
More Options • Generating getter/setter methods in Source. • Setting up main method for applications. • Adding javadocs. • Commenting/uncommenting a block of code