Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The Graphite active code completion system for Java + Eclipse.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 eclipse
Octocat-spinner-32 java
Octocat-spinner-32 js
Octocat-spinner-32 palettes
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .project
Octocat-spinner-32 README.markdown
README.markdown

Graphite

An active code completion system for Java. See the webpage for more information, a video, slides and a paper:

http://www.cs.cmu.edu/~NatProg/graphite.html

Installation

The .jar file in the /eclipse/plugins directory can be dropped into the dropins directory in your Eclipse installation. You'll see a Graphite entry in the Eclipse Preferences window if it worked.

Annotation

To annotate your Java classes with the @GraphitePalette annotation, its definition must be available. This is available in the .jar file in /java.

Palette Development

Palettes are written using the standard browser-based HTML5 stack. The graphite.js file found in the js/ directory must be included to support integration into the editor using Graphite and debugging of Graphite API calls in the browser.

Example palettes are available in the palettes directory.

Plug-In Development

If you want to change the Graphite plug-in itself, the /eclipse directory can be imported as a project into Eclipse if you have the Plug-In Development tools installed (you can find it using Eclipse's built-in plug-in installer.)

Contributors

Citation

If you use Graphite in an academic paper, we'd appreciate a citation:

Cyrus Omar, YoungSeok Yoon, Thomas D. LaToza, Brad A. Myers, Active Code Completion. ICSE'2012: 34nd International Conference on Software Engineering, Zurich, Switzerland, 2-9 June 2012. pp. 859-869.

License

The code is provided under the terms of the Eclipse Public License - v 1.0. The full license can be viewed at http://www.eclipse.org/org/documents/epl-v10.html.

Something went wrong with that request. Please try again.