stevensona/shader-toy

Unable to open 'GLSL Preview': Cannot read property 'document' of undefined.

RoganMurley opened this issue · 4 comments

When running Show GLSL Preview from the command palette I get the following error:

Unable to open 'GLSL Preview': Cannot read property 'document' of undefined.

Rogan,
Can you tell me a bit more about how you're using it or provide a screenshot? You must use the command Show GLSL Preview with a GLSL document open.

noxo commented

screen shot 2017-02-09 at 20 30 07

I've same issue with Visual Studio Code & MacOS Sierra. I'm unable to see the preview when GLSL document is open. Instead preview seems to start, when GLSL document is closed.

I have no problems running this extension on Windows 10 machine.

Thanks @noxo for posting the screenshot. When I get a chance, I'll look into it.

#11 fixed this.