Shader files in the ide

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.