VSCE v2.0.9: Add VS Code Web Support and custom headers
Created by: abeatrix
This PR adds support for VS Code Web (https://github.com/sourcegraph/sourcegraph/issues/28403), and allows users to add custom headers to their requests to resolve proxy issues (https://github.com/sourcegraph/sourcegraph/issues/30916).
We will also replace the regular endpoint with the stream search api endpoint for the extension to run on Web. I've also added examples for the configuration settings in our package.json for clarity.
(I am adding these changes to v2.1.0 just in case it takes time to review. We can add it back to v2.0.9 if needed)
Screen shots from version built with this PR:
Tested it on vscode.dev, github.dev, VS Code Desktop x safari, chrome, edge, firefox. with and without VPN access.
Also updated the .vscodeignore
file to excluded bundled file (eg the node_modules folder) as suggested in their docs as it was complaining about the size of the bundled file
TODO: Update Readme to reflect added configuration settings