sts4 icon indicating copy to clipboard operation
sts4 copied to clipboard

Copilot spring boot agent with spring cli integration

Open vudayani opened this issue 1 year ago • 6 comments

vudayani avatar Jun 21 '24 10:06 vudayani

@vudayani Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-cla avatar Jun 21 '24 10:06 pivotal-cla

@vudayani Thank you for signing the Contributor License Agreement!

pivotal-cla avatar Jun 28 '24 08:06 pivotal-cla

@vudayani Thank you for signing the Contributor License Agreement!

pivotal-cla avatar Jun 28 '24 08:06 pivotal-cla

@vudayani Thank you for signing the Contributor License Agreement!

pivotal-cla avatar Jun 28 '24 08:06 pivotal-cla

@vudayani Thank you for signing the Contributor License Agreement!

pivotal-cla avatar Jun 28 '24 08:06 pivotal-cla

Copilot usually exhibits a higher level of accuracy if you task it with specific actions. so my idea is, Instead of dumping all your thoughts on it and having it return the favor in the same manner. You can go about it step by step, Your interaction with Copilot doesn't necessarily have to be completed in one round, you can break it up into several small tasks and have Copilot complete them one by one. That way, you can give instructions specifically needed for that specific task. For example:

  • For the first task, you can ask Copilot to generate only the project structure (the files, and information about potential features of Spring that might be used). That way, you can give instructions specifically needed for generating the project structure.
  • (and then iterate over the file structure generated and ask copilot to generate content)
    • e.g. Give it dependency specific instructions only when generating the pom.xml file ...
    • e.g. When generating content for a Java class Copilot mentioned that it will use JPA in the first round. Provide specific warnings about using JPA, such as (javax.persistence -> jakarta.persistence).
    • ...

wangmingliang-ms avatar Jun 28 '24 08:06 wangmingliang-ms