0x5E

0x5E

My place for thoughty-like thoughts.
twitter
github

Unlimited Refills Cursor

🚧 2024.12.13 Update: Cursor has officially updated its detection mechanism. After using the free trial 3 times on this machine, the following message will appear:

Too many free trial accounts used on this machine.
Please upgrade to pro. We have this limit in place
to prevent abuse. Please let us know if you believe
this is a mistake.

You can try these two tools:
🔗 go-cursor-help
image
🔗 cursor-auto-free
image

If you ask me which code editor to use in the AI era, I would undoubtedly answer: Cursor Cursor Cursor!!!

It has intelligent Tab completion capabilities, file-level code reading abilities, and deeply integrated AI capabilities with the editor, combined with the powerful Claude 3.5 Sonnet model, making it quickly become a coding artifact for programmers. As the saying goes, With Cursor in hand, there are no bugs.

New users will have a 14-day membership trial upon first registering for Cursor. To continue using Pro membership indefinitely, you need to register a new account on the official website with a new email, and then log in again in the software. Changing accounts will not alter the configurations within the editor, so you can switch accounts with peace of mind.

Installation#

Go to the 🔗official website, click Download in the upper right corner to download and install.

If you have previously used VS Code, you will be prompted during installation whether to import VS configurations (themes, settings, plugins, etc.). It is recommended to import; after importing, it will be almost identical to the original VS, allowing for a seamless migration since Cursor is developed based on VS Code.

image

In the input box, type 中文, click Install "Cursor" to install the command line tool, wait for the installation to complete, click OK, and then click Continue:

image

When asked whether to import VS Code configurations, Import: click Use Extensions, Do not import: click the adjacent Start from Scratch:

image

Waiting for configuration import...

image

If this pop-up appears, click Continue with Default:

image

Click Continue:

image

Skip the login registration step by clicking Skip for now:

Snipaste_2024-08-25_11-40-11

Click Yes, skip login:

Snipaste_2024-08-25_11-40-25

Once you enter the main interface, you will find that it is almost identical to VS, and the settings, plugins, and themes from VS have also been synchronized. Here are a few points to note:

  • Although the imported VS configuration will not sync settings after installation, as they are two independent and different editors, this means you can customize Cursor separately without affecting VS.
  • Using Cursor may have a slight CPU overhead due to continuous code indexing for real-time predictions, which is assumed to be local inference, this is different from the working mechanism of the Github Copilot plugin in VS Code.

Thus, the installation and import of Cursor are complete 🎉, and we will now proceed with account registration and login.

Update: If you encounter a failure to log out, try switching VPN nodes.

As reminded by netizens, there is a faster way to restore the Pro trial. After the account expires, log in to the official website's 🔗account settings page using the original account, expand Advanced, and click Delete Account:

image

Type delete, click the Delete button, and after clicking, the original account will be deactivated. Then you can register again on the official website with the original account, at which point the original account will become a new account, and the Pro trial and 500 quota will be restored.

image

image

Method 2 (Backup)#

If Method 1 fails, just repeat the process that follows.

I urge everyone not to over-register or register in bulk; create a new account only after each one expires~~ cherish what you have.

Purchase Email#

First, go here 🔗buy an Outlook email, the cost is negligible, 0.03 yuan:

Snipaste_2024-08-25_13-14-48

Snipaste_2024-08-25_13-15-12

Keep the email account and password safe:

Snipaste_2024-08-25_13-17-03

Log into Email#

Log into your 🔗Outlook email here:

Snipaste_2024-08-25_13-26-35

Copy the email account you just purchased into the box and click Next:

Snipaste_2024-08-25_13-27-11

Copy the email password into the box and click Sign in:

Snipaste_2024-08-25_13-27-29

Snipaste_2024-08-25_13-27-47

Snipaste_2024-08-25_13-28-27

Once in the main interface, switch to Junk Email first, as Cursor's emails will be sent here as junk:

Snipaste_2024-08-25_13-28-45

Register Cursor#

Editor Localization#

Before registering, switch the editor to the Chinese interface. Open the editor, search for the chinese language plugin in the plugin center, and click Install:

Snipaste_2024-10-31_18-21-56

After the plugin installation is complete, a prompt will pop up in the lower left or right corner. Click Change Language and Restart, and wait for the editor to restart:

Snipaste_2024-10-31_18-22-25

Start Registration#

Open the Cursor editor, press the shortcut key combination Ctrl + Shift + J to open the settings panel, and click Sign in:

Snipaste_2024-08-25_13-49-54

Click Sign up:

Snipaste_2024-08-25_13-50-22

Enter First name (any) and Last name (any), fill in the email account you just purchased, and click Continue with email code:

Snipaste_2024-08-25_13-50-53

Click Send email code:

Snipaste_2024-08-25_13-51-13

There may be a CAPTCHA (the fewer the better), just click that checkbox:

Snipaste_2024-08-25_13-51-52

Wait a few seconds, the email will be sent to the Outlook email you just logged into. Enter the verification code into the verification box:

Snipaste_2024-08-25_13-51-40

After verification is complete, this page will indicate that registration is finished, and you can return to the editor:

Snipaste_2024-08-25_13-52-27

Back in the editor, you will see that the account has automatically logged in and has a 14-day Pro trial.

After the account expires in the future, just press the shortcut key combination Ctrl + Shift + J in the editor to enter the Cursor account settings panel, click Log out to log out, and then repeat the process of Method 2.

Snipaste_2024-08-25_13-53-06

Thus, the Cursor account registration is complete, and theoretically, you can continue to use it this way indefinitely. Future operations will only take about 5 minutes, which is quite pleasant.

Settings#

You need to make some simple settings to enable AI capabilities. Press Ctrl + Shift + J to enter the settings panel, switch to the Models tab, turn off the others, and keep claude-3.5-sonnet enabled:

Snipaste_2024-08-25_14-23-39

Switch to the Features tab and change disabled to enabled:

Snipaste_2024-08-25_14-24-08

Then scroll down and set the enable status as shown in the image:

Snipaste_2024-08-25_14-27-45

Once the settings are complete, it is recommended to restart the editor.

Usage#

Here are three commonly used (combinational) shortcuts during use:

Ctrl + L: You can have a conversation with AI separately, or select a piece of code in the editor and add it to the AI conversation.

Snipaste_2024-08-25_15-39-22

Snipaste_2024-08-25_15-40-28

Ctrl + K: Select a piece of code, directly input your requirements or questions, and let AI help you improve a certain function or fix a bug. The green code block is the AI-generated result, and the red code block is the original code to be replaced. Pressing the shortcut key or clicking Ctrl + Shift + Y will confirm the replacement, while Ctrl + N will reject it.

Snipaste_2024-08-25_15-50-45

Tab: While coding, it will provide predictive capabilities based on the code context; just keep pressing Tab to complete.

Snipaste_2024-08-25_15-43-20

Snipaste_2024-08-25_15-43-07

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.