Skip to content

VSCE v2.0.9: Add VS Code Web Support and custom headers

Administrator requested to merge bee/vsce-web into tjk/vsce-search-ui

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: Screen Shot 2022-02-17 at 4 24 41 PM Screen Shot 2022-02-17 at 4 25 06 PM Screen Shot 2022-02-17 at 4 36 34 PM Screen Shot 2022-02-17 at 4 43 23 PM Screen Shot 2022-02-17 at 4 44 34 PM

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

Merge request reports

Loading