Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>GLSL language supportNew to Visual Studio Code? Get it now.
GLSL language support

GLSL language support

filippo fracascia

|
5,113 installs
| (1) | Free
GLSL extension that recognizes GLSL and SPIR-V, with syntax highlighting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GLSL-language-support

Since I was having trouble finding GLSL support for VScode in Linux, I tried making my own language support for it.

Supported extensions

.vs, .fs, .fx, .gs, .cs, .tc, .te, .vsh, .fsh, .gsh, .vshader, .fshader, .gshader, .vert, .frag, .geom, .tesc, .tese, .comp, .f.glsl, .v.glsl, .g.glsl, .glsl

Features

Syntax highlighting

Basic context aware sintax highlighting following C language standards and GLSL specification as defined by Khronos group.

Demo

Code Snippets

Code snippets, at the moment, give support for:

  • Angle and Trigonometry Functions;
  • Exponential Functions;
  • Common Functions;
  • Floating-Point Pack and Unpack Functions;
  • Geometric Functions;
  • Matrix Functions;
  • Vector Relational Functions;
  • Integer Functions;
  • Texture query functions.

  • More incoming!

    Installation

    If you cannot find the extension on the VScode marketplace:

    • Go here.
    • Manually download the extension (it will be a .vsix file).
    • Open VScode, then go to the extensions menu on the left sidebar.
    • Open the bar above the search query, then select "Install from VSIX", then select your file.
    • The extension should now be up and running, refresh the window if required.

    • Contact us
    • Jobs
    • Privacy
    • Manage cookies
    • Terms of use
    • Trademarks
    © 2025 Microsoft