# Shader files in the ide

**URL:** <https://discourse.threejs.org/t/shader-files-in-the-ide/66091>\
**Category:** Questions\
**Tags:** dev-tools, shaders\
**Created:** [May 28, 2024, 8:57am UTC](https://discourse.threejs.org/t/shader-files-in-the-ide/66091 "2024-05-28T08:57:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![diemildefreude](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@diemildefreude](https://discourse.threejs.org/u/diemildefreude)\
**Post date:** [May 28, 2024, 8:57am UTC](https://discourse.threejs.org/t/shader-files-in-the-ide/66091/1 "2024-05-28T08:57:45Z")

</div>

It seems common for people to put their shader code in the html or in string literals in the js. But does anyone recommend extensions or ways of working with separate shader files in VSCode? I have .frag and .vert files that I’m loading. This works, but VSCode shows errors when I use methods that are natively included by three.js/webGL but might otherwise require explicit declaration like oes\_standard\_derivatives.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/f/d/fd4abcdac8d1a24a5360a6c80b8f316bb6add637.png)
