Difference between revisions of "Eclipse Tips"

From CSE231 Wiki
Jump to navigation Jump to search
Line 20: Line 20:
  
 
*[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/content_assist/ Content Assist] (autocomplete)
 
*[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/content_assist/ Content Assist] (autocomplete)
 +
 +
===async,finish imports===
 +
[[File:V5ImportStaticTypeSelection.png]]
 +
 +
[[File:V5ImportStaticPreferences.png]]
 +
 +
[[File:V5ImportStaticNewFavoriteType.png]]
 +
 
**[http://www.cse.wustl.edu/~cosgroved/courses/cse231/f17/tips/import_static/ Habanero]
 
**[http://www.cse.wustl.edu/~cosgroved/courses/cse231/f17/tips/import_static/ Habanero]
 
**[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/lambda_template/ Lambda]
 
**[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/lambda_template/ Lambda]
 +
 +
  
 
==Git==
 
==Git==

Revision as of 02:27, 19 January 2018

Eclipse is a very powerful IDE for Java development. You can download it from eclipse.org/downloads. This page will contain tips for using Eclipse more efficiently in this class.

Refresh

Sometimes after you pull from git you will find that your project needs to be refreshed. The following steps are a bit heavy handed, but often will get your project back up and working again.

Select your project in the package explorer:

  1. "F5" to refresh
  2. "Alt-F5" to refresh Maven
  3. "Project" -> "Clean..." from the menu bar.

Note in order to invoke the function keys on some laptops you need to press the Function modifier key.

Maven

Sometimes refreshing Maven isn't enough.

Maven_Force_Update

Content Assist

async,finish imports

V5ImportStaticTypeSelection.png

V5ImportStaticPreferences.png

V5ImportStaticNewFavoriteType.png


Git

JDK Setup

JDK Setup

JavaFX Setup

e(fx)clipse Setup

Presentation

Hierarchical Package Presentation