Inline code intel extensions in Firefox addon
Created by: marekweb
For now, this uses sourcegraph/template
to apply code-intel to all supported languages.
Changes to the build script include:
- Remove
blob
from the Content Security Policy on Firefox (make it use the default CSP) - Clone and build
code-intel-extensions
and copy it into the add-on build
Changes at run-time:
- When running in the Firefox addon, use a hardcoded list of extensions to load (current only
sourcegraph/template
) - Load the extension locally (by fetching the manifest file `
Not included in this PR:
- generate individual extensions from code-intel-extensions for each supported languagge
- use settings to determine which extensions to enable/disable
Fix #11369 Fix #11371