Fixes issue 2313 - Fix Open Files Context Provide for WSL and SSH
Description
Remote SSH and WSL files are represented with a uri scheme of vscode-remote. There is a check in the openFiles method of the ideUtils class that checks to see if the current uri is of a schema file, if it's not it get's filtered out.
This breaks the OpenFilesContextProvider for the vscode-remote schemes.
Checklist
- [x] The base branch of this PR is
dev, rather thanmain - [ ] The relevant docs, if any, have been updated or created
Screenshots
Before fix https://github.com/user-attachments/assets/9c13b347-3440-4d88-a6f2-869254173189
After Fix https://github.com/user-attachments/assets/4dbfead7-ca5c-4c4c-8a24-5512b41cfbc6
@sestinj apologies for another PR on this issue. This PR reverts my prior change and includes the necessary change to fix the nature of the issue. I'm not entirely sure all the ways that the documentIsCode function is being utilized but I suspect that this will fix lingering issues in those other methods as well.
This looks great, thanks!
Hi @steverhoades, yesterday we shared some updates with our contributors about how we're aiming to improve the contribution process. Part of this included the addition of a Contributor License Agreement (CLA) to protect both contributors and the project. We're reaching out to ask that previous contributors sign it.
Could you please take a moment to sign, or if you have any questions send me a message? (either here or [email protected] would work)
To do so, you just need to post a comment below with the following text:
I have read the CLA Document and I hereby sign the CLA
❤️ Thank you for the work you've done on Continue, and let me know if you have any suggestions on how we can make the project even better!
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.