vscode-shader icon indicating copy to clipboard operation
vscode-shader copied to clipboard

Add GLSL hover support

Open staff0rd opened this issue 3 years ago • 1 comments

Eventually I'd like the code completion feature suggested in #17, but for now, this PR:

  • Generates GLSL documentation by parsing https://github.com/KhronosGroup/OpenGL-Refpages (see scripts/create-glsl-reference.js)
  • Implements GLSLHoverProvider for functions, including parameter and description information
  • Implements a link loader/parser for displaying GLSL reference links on https://registry.khronos.org/OpenGL-Refpages/es3/

I'm new to shaders and vscode extensions, so happy to take on any suggestions. I would open further PRs in the future implementing the other providers for GLSL if there is desire to include this.

Screenshot

image

staff0rd avatar Aug 09 '22 15:08 staff0rd

Seems like repository is dead, so you'd better fork, many will follow 😄

helviett avatar Nov 08 '22 19:11 helviett