Difference between revisions of "Eclipse Tips"

From CSE231 Wiki
Jump to navigation Jump to search
(Created page with "Eclipse is a very powerful IDE for Java development. You can download it from [https://eclipse.org/downloads/ eclipse.org/downloads]. This page will contain tips for using Ecl...")
 
Line 1: Line 1:
 
Eclipse is a very powerful IDE for Java development. You can download it from [https://eclipse.org/downloads/ eclipse.org/downloads]. This page will contain tips for using Eclipse more efficiently in this class.
 
Eclipse is a very powerful IDE for Java development. You can download it from [https://eclipse.org/downloads/ 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:
 +
 +
# "F5" to refresh
 +
# "Alt-F5" to refresh Maven
 +
# "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.
 +
 +
==content assist==
 +
 +
[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/content_assist/ content assist]
 +
 +
[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/import_static/ Habanero]
 +
 +
[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/lambda_template/ lambda]
 +
 +
==git==
 +
[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/eclipse_git/git_menu.html git menu]
 +
 +
[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/eclipse_git/enable_git_action_set.html enable git action set]
 +
 +
==JDK setup==
 +
[http://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/tips/jdk/ JDK Setup]

Revision as of 15:46, 20 April 2017

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.

content assist

content assist

Habanero

lambda

git

git menu

enable git action set

JDK setup

JDK Setup