-
Notifications
You must be signed in to change notification settings - Fork 21
Fix for VSC windows #948
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
Fix for VSC windows #948
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
@mashraf-222 tests are failing |
…nd added safty check
|
this feels extremely complicated for what should be a simple fix, can you fix the merge conflicts and I'll review it again. |
- Removed redundant error handling for subprocess calls in discover_tests_pytest. - Simplified the code by directly running the subprocess without try-except blocks, improving readability.
…//github.com/codeflash-ai/codeflash into ashraf/cf-918-fix-vsc-extension-windows-bugs
…//github.com/codeflash-ai/codeflash into ashraf/cf-918-fix-vsc-extension-windows-bugs
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.
Did some cleanup. We can raise separate PRs for the remaining issues (@mashraf-222).
Known windows issues so far:
- Applying uncommitted changes as a git patch to a worktree fails
- removing worktrees causes a permission error.
[Extension-related]
- Worktree paths are not highlighted.
- Paths in the edit init form should be relative; on Windows they are currently absolute.
- “More options” always opens on the left side, even when the sidebar is already on the left.
closes CF-918
PR Type
Bug fix, Enhancement
Description
Normalize paths for Windows compatibility
Use worktree paths in LSP initialization
Robust relative path computation with fallbacks
Case-insensitive filtering of files
Diagram Walkthrough
File Walkthrough
functions_to_optimize.py
Case-insensitive path filtering for Windowscodeflash/discovery/functions_to_optimize.py
beta.py
Use resolved worktree paths in LSP initcodeflash/lsp/beta.py
optimizer.py
Robust mirror_path with Windows-safe normalizationcodeflash/optimization/optimizer.py