Introduction
GitHub Copilot is an AI coding assistant platform that helps us while writing code by suggesting lines or blocks of code & troubleshooting them. This guide walks you through installing GitHub Copilot in Eclipse ADT (ABAP Development Tools).
Pre-requisites
Eclipse IDE with ADT installed
- Existing Github account
Steps
- Open Eclipse IDE and navigate to: Help - Eclipse Marketplace
- Search & Select GitHub Copilot then install it by following the installation prompts.
- Restart Eclipse
- After restarting, Copilot is available in the menu bar. Sign in using Github account.
Using GitHub Copilot in Eclipse
Code Suggestions: Start typing your code. Copilot will automatically suggest completions. Press TAB to accept a suggestion.
- Chat option: Use the Open Chat option to communicate with Copilot. We can also select the context/object for which we're asking questions or resolving errors.
Conclusion
After using it for few cases of RAP, I feel it needs to be evolve further for ABAP specific developments. On the other hand the VSCode copilot extension works better for CAP developments in case of code suggestions & troubleshooting.