-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for account login #30
Conversation
@@ -53,6 +55,9 @@ export function activate(context: vscode.ExtensionContext) { | |||
}, | |||
} as any; | |||
|
|||
setExtensionContext(new ExtensionContext()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some explanations for the crypto polyfill.
|
||
#[wasm_bindgen] | ||
extern "C" { | ||
pub type CancellationToken; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is never used, maybe we can remove it for now.
let context = get_extension_context(); | ||
match context | ||
.show_information_message( | ||
"You have to sign in / sign up or configure API key to use Cursor AI feature", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"features"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The old version API of Cursor is currently no longer available and calling the interface will not return any data. This PR has deprecated the use of the old API and added support for logging in with a Cursor account.