Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Eclipse_Demo_Camp_2016.pdf

Noopur
April 07, 2017
27

 Eclipse_Demo_Camp_2016.pdf

Noopur

April 07, 2017
Tweet

Transcript

  1. What’s cool in Eclipse goody bag! Noopur Gupta Eclipse JDT

    UI committer IBM Software Labs, Bangalore [email protected] Eclipse Demo Camp, Bangalore, January 2016 1
  2. Abbreviate Package Names Abbreviate package names with custom rules. Window

    > Preferences > Java > Appearance > Abbreviate package names Eclipse Demo Camp, Bangalore, January 2016 2 Content Assist Proposal - Insert or Overwrite Press ‘Ctrl’ to toggle while content assist is active. Window > Preferences > Java > Editor > Content Assist > Insertion
  3. Show Annotations To determine who last modified a line of

    code and when. Right-click on left editor pane > Show Annotations Eclipse Demo Camp, Bangalore, January 2016 3 Bookmarks To track important places in your source code. Right-click on left editor pane > Add Bookmark… (OR) Edit > Add Bookmark… - Bookmarks view
  4. Grouping & Sharing Breakpoints Breakpoints view > Group By Breakpoint

    Working Sets Right-click > Export/Import breakpoints… Eclipse Demo Camp, Bangalore, January 2016 4 Smart Step Into Selection To step into a single method within a series of chained or nested method calls. Ctrl + Alt + Click (OR) Ctrl + F5
  5. Eclipse Demo Camp, Bangalore, January 2016 5 Print-point A point

    in code where the debugger does not break the execution but only prints to console. To debug race conditions or to see the order of execution of threads, without adding print statements in the code. Set a conditional breakpoint with Suspend when ‘true’ option selected and a condition which is always ‘false’ (Example: return false;) as the last statement. UI Responsiveness Monitoring For automatic detection and logging of stack traces when Eclipse UI is unresponsive. Window > Preferences > General > UI Responsiveness Monitoring
  6. Eclipse Demo Camp, Bangalore, January 2016 6 Zoom In Text

    Editors Zoom In: Ctrl + + (or) Ctrl + = Zoom Out: Ctrl + - Word Wrap In Text Editors Breaks text into lines to fit in the available display area, allowing text to be read from top to bottom without horizontal scrolling. Toggle Word Wrap button (Alt + Shift + Y) Window > Preferences > General > Editors > Text Editors > Enable word wrap when opening an editor
  7. Eclipse Demo Camp, Bangalore, January 2016 7 Substring Code Completion

    Allows you to enter any part of the desired proposal's text while invoking the content assist. Window > Preferences > Java > Editor > Content Assist > Show substring matches