-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat(core): improve Cursor editor detection and extension installation #32374
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
Conversation
✅ Deploy Preview for nx-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
The latest updates on your projects. Learn more about Vercel for GitHub.
|
View your CI Pipeline Execution ↗ for commit 2edfcd7
☁️ Nx Cloud last updated this comment at |
should we disable the cursor installation for linux? Because of the |
5011f47
to
e2dd2bc
Compare
- Add CURSOR_TRACE_ID environment variable detection for Cursor - Simplify get_env_var to be purely map-based for better testability - Add Cursor support to extension installation logic - Add test case for CURSOR_TRACE_ID detection This ensures Nx Console extension can be properly installed in Cursor when the CURSOR_TRACE_ID environment variable is present.
The cursor command on Linux opens the IDE instead of running CLI extension commands, causing installation failures. This change disables extension installation for Cursor on Linux while keeping it enabled for Windows and macOS.
e2dd2bc
to
2edfcd7
Compare
…#32374) ## Summary - Add CURSOR_TRACE_ID environment variable detection for Cursor - Simplify get_env_var to be purely map-based for better testability - Add Cursor support to extension installation logic - Add test case for CURSOR_TRACE_ID detection ## Test plan - [x] All existing tests pass - [x] New test case for CURSOR_TRACE_ID detection passes - [x] Rust code compiles and passes clippy checks - [x] Prepush validation passes This ensures Nx Console extension can be properly installed in Cursor when the CURSOR_TRACE_ID environment variable is present, providing better support for Cursor users. Fixes #[ISSUE_NUMBER] (cherry picked from commit d22677f)
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Summary
Test plan
This ensures Nx Console extension can be properly installed in Cursor when the CURSOR_TRACE_ID environment variable is present, providing better support for Cursor users.
Fixes #[ISSUE_NUMBER]