DOC PREVIEW
Penn CIT 591 - Eclipse

This preview shows page 1-2-22-23 out of 23 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 23 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EclipseAbout IDEsWorkbench TerminologyHelp ComponentJava Development ToolsJava PerspectiveSlide 7Slide 8Java EditorSlide 10Slide 11Slide 12Slide 13Slide 14Slide 15RefactoringSlide 17Slide 18Slide 19Eclipse Java CompilerEclipse Java DebuggerSlide 22The EndJan 13, 2019Eclipse2Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptAbout IDEsAn IDE is an Integrated Development EnvironmentDifferent IDEs meet different needsBlueJ, DrJava are designed as teaching toolsEmphasis is on ease of use for beginnersLittle to learn, so students can concentrate on learning JavaEclipse, JBuilder, NetBeans are designed as professional-level work toolsEmphasis is on supporting professional programmersMore to learn, but well worth it in the long runWe will use Eclipse, but other professional IDEs are similarThe following slides are taken from www.eclipse.org/eclipse/presentation/eclipse-slides.ppt3Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptWorkbench TerminologyTool barPerspectiveandFast ViewbarResourceNavigatorviewStackedviewsPropertiesviewTasksviewOutlineviewBookmarksviewMenu barMessageareaEditorStatusareaTexteditor4Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptHelp ComponentHelp is presented in a standard web browser5Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava Development ToolsJDT = Java development toolsState of the art Java development environmentBuilt atop Eclipse PlatformImplemented as Eclipse plug-insUsing Eclipse Platform APIs and extension pointsIncluded in Eclipse Project releasesAvailable as separately installable featurePart of Eclipse SDK drops6Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava PerspectiveJava-centric view of files in Java projectsJava elements meaningful for Java programmersJavaprojectpackageclassfieldmethodJavaeditor7Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava PerspectiveBrowse type hierarchies“Up” hierarchy to supertypes“Down” hierarchy to subtypesTypehierarchySelectedtype’smembers8Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava PerspectiveSearch for Java elementsDeclarations or referencesIncluding libraries and other projectsHitsflaggedin marginof editorAll search results9Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava EditorHovering over identifier shows Javadoc spec10Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava EditorMethod completion in Java editorList of plausible methodsDoc for method11Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava EditorOn-the-fly spell check catches errors earlyPreviewClickto seefixesProblemQuickfixes12Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava EditorCode templates help with drudgeryStatementtemplatePreview13Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava EditorMethod stub insertionfor inherited methodsMethod stub insertion for anonymous inner typesJava editor creates stub methods14Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava EditorVariable namesuggestionArgument hints andproposed argumentnamesJavaDoccode assistJava editor helps programmers write good Java code15Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptJava EditorOther features of Java editor includeLocal method historyCode formatterSource code for binary librariesBuilt-in refactoring16Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptRefactoringJDT has actions for refactoring Java code17Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptRefactoringRefactoring actions rewrite source codeWithin a single Java source fileAcross multiple interrelated Java source filesRefactoring actions preserve program semanticsDoes not alter what program doesJust affects the way it does itEncourages exploratory programmingEncourages higher code qualityMakes it easier to rewrite poor code18Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptRefactoringFull preview of all ensuing code changesProgrammer can veto individual changesList of changes“before” vs. “after”19Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptRefactoringGrowing catalog of refactoring actionsOrganize importsRename {field, method, class, package}Move {field, method, class}Extract methodExtract local variableInline local variableReorder method parameters20Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptEclipse Java CompilerEclipse Java compilerJCK-compliant Java compiler (selectable 1.3 and 1.4)Helpful error messagesGenerates runnable code even in presence of errorsFully-automatic incremental recompilationHigh performanceScales to large projectsMultiple other uses besides the obviousSyntax and spell checkingAnalyze structure inside Java source fileName resolutionContent assistRefactoringSearches21Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptEclipse Java DebuggerRun or debug Java programsThreads and stack framesEditor with breakpoint marksConsole I/OLocal variables22Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptEclipse Java DebuggerRun Java programsIn separate target JVM (user selectable)Console provides stdout, stdin, stderrScrapbook pages for executing Java code snippetsDebug Java programsFull source code debuggingAny JPDA-compliant JVMDebugger features includeMethod and exception breakpointsConditional breakpointsWatchpointsStep over, into, return; run to lineInspect and modify fields and local variablesEvaluate snippets in context of methodHot swap (if target JVM supports)23Most slides from: www.eclipse.org/eclipse/presentation/eclipse-slides.pptThe


View Full Document

Penn CIT 591 - Eclipse

Documents in this Course
Stacks

Stacks

11 pages

Arrays

Arrays

30 pages

Arrays

Arrays

29 pages

Applets

Applets

24 pages

Style

Style

33 pages

JUnit

JUnit

23 pages

Java

Java

32 pages

Access

Access

18 pages

Methods

Methods

29 pages

Arrays

Arrays

32 pages

Methods

Methods

9 pages

Methods

Methods

29 pages

Vectors

Vectors

14 pages

Vectors

Vectors

14 pages

Recursion

Recursion

24 pages

Animation

Animation

18 pages

Animation

Animation

18 pages

Static

Static

12 pages

Eclipse

Eclipse

23 pages

JAVA

JAVA

24 pages

Arrays

Arrays

29 pages

Animation

Animation

18 pages

Numbers

Numbers

21 pages

JUnit

JUnit

23 pages

Access

Access

18 pages

Applets

Applets

24 pages

Methods

Methods

30 pages

Buttons

Buttons

20 pages

Java

Java

31 pages

Style

Style

28 pages

Style

Style

28 pages

Load more
Download Eclipse
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Eclipse and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Eclipse 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?