BSVino/docs.gl

docs.gl documentation as extension for vscode?

Opened this issue · 2 comments

hey, great initiative with docs.gl. I have downloaded bundle for offline use. It appears to be a set of files, one per each gl function. I see that it's in fact html code inside...

Is there's an easy way to include docs.gl into VSCode for verbose feedback of OpenGL functions?
I am looking for particular implementation: when working with WebGL canvas API context in js and ts files and I think it would be really helpful. I guess it would require some kind of lookup of the function name in the folder with docs and then outputting it in vscode intellisense/hint window. Has someone tried that? It would be great use case for docs.gl.

I don't really know anything about VSCode. I don't use Visual Studio all that often.

I admit I didn't design the offline bundle feature well, you really need to run a mini webserver to make use of it, which is not great.

@stopyransky for the purposes of intellisense within an editor it would be more efficient to store the documentation in some sort of database file (I'm thinking of SQLite) or some other kind of data structure that is more suitable for lookups. However, a VSCode extension for this is a great idea.