So, here I'm in a brand new empty folder, I opened it with the cursor IDE, I did sign
into my account where I have the pro plan, though as mentioned you don't technically
need it, there just will be some restrictions.
And now we can use cursor here, of course, and I'll again start with another Python
program here as an example.
And I'll name my file here writer.py because I want to write a simple program which takes
some user input and writes that to a file.
So I'll start by again defining a function and just as with GitHub Copilot, cursor now
becomes active and suggests me a completion for this line.
And that's important, it looks like GitHub Copilot here, it has the same look, but this
actually now is cursor since I'm using the cursor IDE.
By the way, since cursor is a copy of VS Code, you can use VS Code extensions in here
and you could install and use GitHub Copilot, but of course typically you don't want to
do that because you would have conflicting AI assistance, which does not sound like a
good idea.
So here I got this cursor suggestion and with a tab, just as with GitHub Copilot, I
can confirm it.
I do not get different suggestions here if I hover over it, though.
So as you see here, I get some suggestions, actually got more suggestions before anyways,
but I can't hover over them to see variations.
So here, I'll now re-add that colon to get more suggestions again and you see, now it's
suggesting here that it adds this code and you see, it actually wants to add the code
for this write file function and then it also wants to add another function for reading
the file.
I can confirm this of course, but I can also now delete parts of that if I don't want
that and it'll now suggest even more.
And in general, it's fair to say that this suggestions feature is more aggressive and
also a bit more powerful in cursor, at least at the point of time where I'm recording this.
So here it's suggesting that I have this write file function with this code and if I get
out of this function, it wants to suggest this read file function.
And again, of course, I can confirm this, confirm all this and be done.
And now it added a bunch of functions that allow me to interact with a file and write
to it, read from it, append content to it, whatever I want to do.
But that's just the tip of the iceberg of what this cursor autocompletion feature can
do for you.