- Notifications
You must be signed in to change notification settings - Fork 22
[LSP] list features request & fix the initialization when api key is not valid #875
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
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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, we can start adding tests to VSC extension too.
PR Type
Enhancement, Bug fix
Description
Avoid exiting in LSP flows
Improve API key sourcing for LSP
Add LSP feature listing endpoint
Refactor version/API-key error handling
Diagram Walkthrough
File Walkthrough
cfapi.py
LSP-aware get_user_id with graceful error handlingcodeflash/api/cfapi.py
env_utils.py
LSP-specific API key precedence logiccodeflash/code_utils/env_utils.py
beta.py
LSP feature listing and init/refinement fixescodeflash/lsp/beta.py
code_utils.py
Prevent hard exits inside LSP processcodeflash/code_utils/code_utils.py