Cursor

Inconveniences

  • The number of automatic agent actions is limited by hardocded 25, after which the agent will stop. In contrast, Cline
    Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.
    Cline
    has a setting to customize this limit to any number.

Case Studies

Prompt:

1. Setup a new .NET solution with two projects: `YouTubeFetcher` (.NET 9, ConsoleApp) and `YouTubeFetcher.Tests` (.NET 9, xunit).
2. Write a method in YouTubeFetcher `string Fetch(string youTubeUrl)` that fetches the html content of the given page, extract meta information and prints yaml to console with `title`, `description`, `author`, `date`, `views` of the linked video.
3. Write multiple tests for the `Fetch` method in `YouTubeFetcher.Tests`. Take a video with known metadata to verify the correctness of fetching. `title`, `description`, `author`, `date` should be compared to exact values; `views` should be checked using ">=". If you are know sure about the currect version, fetch the html page manually first.
4. Run `dotnet test`. In case of build compilation errors or test failures, fix the problem and run `dotnet test` again until all problems are resolved. In case of troubles, add diagnostic data to test output to understand the problem better.
5. `YouTubeFetcher` should pass the first argument to the `YouTubeFetcher` and print the yaml to console.

Result:

Cursor 0.44.6, 2024-12-22

Observations

Autocorrection of the current directory in case of wrong location: