I’m encountering an issue with GitHub Copilot where it fails to list all methods from a specified list of classes in my Android project. Here is the scenario:
I asked GitHub Copilot to:
“List all the methods from the following classes: [CLASS_1, CLASS_2, CLASS_3, CLASS_4]”
While Copilot lists most methods from the given classes, it fails to include all methods, particularly private ones. Only after explicitly mentioning the missing methods does Copilot list them.
Steps to Reproduce:
- Request Copilot to list all methods from multiple classes.
- Observe that some methods, especially private ones, are not listed.
- Mention the missing methods explicitly.
- Copilot then lists the previously missing methods.
Expected Behaviour: Copilot should list all methods, including private ones, from the specified classes without needing additional prompts.
Actual Behaviour: Copilot lists most methods but omits some, particularly private methods, until they are explicitly mentioned.
IDE: Android Studio Koala
2