We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There seems to be some access issue in the VSCode preview. When an interactive vega block refers to a local file, the request fails. To reproduce:
Create data.csv with the following contents:
data.csv
x,y 10,55 20,35 30,80
Create problem.md with the following contents:
problem.md
```vega-lite { "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "data": { "url": "data.csv" }, "encoding": { "x": { "field": "x", "type": "quantitative" }, "y": { "field": "y", "type": "quantitative" } }, "mark": "circle" } ``` ```vega-lite interactive { "$schema": "https://vega.github.io/schema/vega-lite/v4.json", "data": { "url": "data.csv" }, "encoding": { "x": { "field": "x", "type": "quantitative" }, "y": { "field": "y", "type": "quantitative" } }, "mark": "circle" } ```
↑ the same example works correctly in Atom
I’m wondering if there is any flag we can tweak while using VSCode API to allow access to local files 🤔
The text was updated successfully, but these errors were encountered:
It might be related to the file protocol change but I am not exactly sure. They seem to change to use vscode-webview-resource:// or something...
vscode-webview-resource://
Sorry, something went wrong.
Do you think this looks like a solvable problem? Currently this is causing a significant block at our end.
No branches or pull requests
There seems to be some access issue in the VSCode preview. When an interactive vega block refers to a local file, the request fails. To reproduce:
Create
data.csv
with the following contents:Create
problem.md
with the following contents:Result
Expected result
↑ the same example works correctly in Atom
I’m wondering if there is any flag we can tweak while using VSCode API to allow access to local files 🤔
The text was updated successfully, but these errors were encountered: