Using the examples, it is possible to experiment with the Cursor rules.
- Add in the context the Java class:
EulerProblem01.javaand type the following prompt:Refactor my code - Add in the context the Java class:
EulerProblem01.javaand type the following prompt:Refactor my code to use functional programming using the cursor rule @142-java-functional-programming - Add in the context the Java classes:
EulerProblem01Test.java&EulerProblem02Test.javaand add the following prompt:Can improve the unit tests using the cursor rule @131-java-unit-testing