Skip to main content

Features & Operations

Does Copilot4Eclipse provide AI generated code completions in my Eclipse editor?

Yes, Copilot4Eclipse presents inline code suggestions as you type within your Eclipse editor. It uses GitHub Copilot to generate state-of-the-art code suggestions based on your current editing context and that of other opened Eclipse editors in your workspace.

Copilot4Eclipse recognizes the following language identifiers: https://code.visualstudio.com/docs/languages/identifiers

The quality of the GitHub Copilot generated code completions is dependent upon the popularity of the target programming language you are working with. Copilot4Eclipse will not request completions from GitHub Copilot for any Eclipse editor for which its programming language is not recognized.

Lastly Copilot4Eclipse does not support all Eclipse editors. Learn more about Copilot4Eclipse editor support here.

Does Copilot4Eclipse provide Open-AI ChatGPT features?

Yes, Chat features were introduced in the Copilot4Eclipse 1.2.0 udpate. To access these features open the Chat Panel from the Copilot4Eclipse menu.

What is the meaning of the text (e.g., 1:3) that sometimes appears to the right of the Copilot4Eclipse status bar menu?

The text that appears to the right of the Copilot4Eclipse image on the Eclipse status bar indicates the following:

  • No text implies that the Copilot is disabled for the current Editor
  • * implies that Copilot is enabled for the current Editor and no completions are available at the moment
  • M:N indicates that Copilot is enabled for the current Editor and that multiple completions are available for consideration. M is the index of the currently displayed completion. N indicates the total number of completions available.
How do I identify when Copilot is active within my Eclipse editor?

There are 2 ways to identify if Copilot is active within your Eclipse editor. The first approach is by using the status bar as described above. The second method is to open the Copilot4 menu and look for an action similar to Disable completions for <language>. The presence of this action indicates that Copilot is active in your editor. The presence of an action similar to Enable completions for <language> indicates that Copilot is currently inactive in the current editor.

How do I identify when multiple code completions are available for a specific editor context?

The number of completions available for consideration are visible from the status bar as described above.

You can cycle through multiple completions using the Copilot menu Next Completion and Previous Completion actions. Alternatively, you can use the keyboard shortcuts Alt+] for next completion and Alt+[ for the previous completion.

Does Copilot4Eclipse work with all Eclipse editors?

Copilot4Eclipse works best with basic text editors such as the Eclipse Java editor or the web editors from the Wild Web Developer plugins. Scenarios where Copilot4Eclipse has difficulty operating is with advanced multipage Eclipse editors, e.g., the plugin.xml editor.